Skip to content

Commit 214eb27

Browse files
committed
-
1 parent 7bc7cd8 commit 214eb27

File tree

88 files changed

+112
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+112
-157
lines changed

MANIFEST.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
recursive-include garlicsim *
2-
recursive-exclude garlicsim *.pyc
3-
recursive-exclude garlicsim *.pyo
4-
recursive-include test_garlicsim *
5-
recursive-exclude test_garlicsim *.pyc
6-
recursive-exclude test_garlicsim *.pyo
1+
recursive-include python_toolbox *
2+
recursive-exclude python_toolbox *.pyc
3+
recursive-exclude python_toolbox *.pyo
4+
recursive-include test_python_toolbox *
5+
recursive-exclude test_python_toolbox *.pyc
6+
recursive-exclude test_python_toolbox *.pyo

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ blocktodo: explain
1212

1313
All general discussion happens at **[the Python Toolbox Google Group](https://groups.google.com/forum/#!forum/python-toolbox)**. If you need help with the Python Toolbox, you're welcome to post your question and we'll try to help you.
1414

15-
The development mailing list is **[python-toolbox-dev](https://groups.google.com/forum/#!forum/garlicsim-dev)**. This is where we discuss the development of the Python Toolbox itself.
15+
The development mailing list is **[python-toolbox-dev](https://groups.google.com/forum/#!forum/python-toolbox-dev)**. This is where we discuss the development of the Python Toolbox itself.
1616

1717

1818
# Python versions #

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ qthelp:
6161
@echo
6262
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
6363
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
64-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/garlicsim.qhcp"
64+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/python_toolbox.qhcp"
6565
@echo "To view the help file:"
66-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/garlicsim.qhc"
66+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/python_toolbox.qhc"
6767

6868
latex:
6969
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright 2009-2011 Ram Rachum.
22
# This program is distributed under the LGPL2.1 license.
33

4-
'''A bootstrap package for `garlicsim`. See module bootstrap here.'''
4+
'''A bootstrap package for `python_toolbox`. See module `bootstrap` here.'''
55

66
from . import bootstrap
77
from . import bootstrap_py2exe

python_toolbox/bootstrap/bootstrap_py2exe/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# This program is distributed under the LGPL2.1 license.
33

44
'''
5-
Package for bootstrapping `garlicsim` when frozen by py2exe.
5+
Package for bootstrapping `python_toolbox` when frozen by py2exe.
66
77
This runs a bundled version of Python's `site` module, which adds things like
88
`help` to `__builtins__`. This is useful because py2exe has problems with
99
packaging the standard `site` module.
1010
1111
The `python26_site` module in this package is simply the `site` module from
12-
Python 2.6's standard library; if you want to package `garlicsim` with py2exe
13-
for a different version of Python, this package will need to be expanded with
14-
that version's `site` module.
12+
Python 2.6's standard library; if you want to package `python_toolbox` with
13+
py2exe for a different version of Python, this package will need to be expanded
14+
with that version's `site` module.
1515
'''
1616

1717
import sys

python_toolbox/caching/cache.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ def f(a, b=2):
3535
All the arguments are sleekreffed to prevent memory leaks. Sleekref is a
3636
variation of weakref. Sleekref is when you try to weakref an object, but if
3737
it's non-weakreffable, like a `list` or a `dict`, you maintain a normal,
38-
strong reference to it. (See documentation of
39-
`garlicsim.general_misc.sleek_refs` for more details.) Thanks to
40-
sleekreffing you can avoid memory leaks when using weakreffable arguments,
41-
but if you ever want to use non-weakreffable arguments you are still able
42-
to. (Assuming you don't mind the memory leaks.)
38+
strong reference to it. (See documentation of `python_toolbox.sleek_refs`
39+
for more details.) Thanks to sleekreffing you can avoid memory leaks when
40+
using weakreffable arguments, but if you ever want to use non-weakreffable
41+
arguments you are still able to. (Assuming you don't mind the memory
42+
leaks.)
4343
4444
You may optionally specify a `max_size` for maximum number of cached
4545
results to store; old entries are thrown away according to a

python_toolbox/caching/cached_type.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def __init__(self, a, b=2):
3737
All the arguments are sleekreffed to prevent memory leaks. Sleekref is a
3838
variation of weakref. Sleekref is when you try to weakref an object, but if
3939
it's non-weakreffable, like a `list` or a `dict`, you maintain a normal,
40-
strong reference to it. (See documentation of
41-
`garlicsim.general_misc.sleek_refs` for more details.) Thanks to
42-
sleekreffing you can avoid memory leaks when using weakreffable arguments,
43-
but if you ever want to use non-weakreffable arguments you are still able
44-
to. (Assuming you don't mind the memory leaks.)
40+
strong reference to it. (See documentation of `python_toolbox.sleek_refs`
41+
for more details.) Thanks to sleekreffing you can avoid memory leaks when
42+
using weakreffable arguments, but if you ever want to use non-weakreffable
43+
arguments you are still able to. (Assuming you don't mind the memory
44+
leaks.)
4545
'''
4646

4747
def __new__(mcls, *args, **kwargs):

python_toolbox/context_managers/context_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ContextManager(DecoratingContextManager):
3434
`with` keyword or by using it as a decorator to a function.
3535
3636
For more details, see documentation of the containing module,
37-
`garlicsim.general_misc.context_manager`.
37+
`python_toolbox.context_manager`.
3838
'''
3939

4040

python_toolbox/context_managers/context_manager_type.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def MyContextManager():
3333
keyword or by using it as a decorator to a function.
3434
3535
For more details, see documentation of the containing module,
36-
`garlicsim.general_misc.context_manager`.
36+
`python_toolbox.context_manager`.
3737
'''
3838

3939
__metaclass__ = ContextManagerTypeType
@@ -146,8 +146,8 @@ def __is_the_base_context_manager_class(cls):
146146

147147
return (
148148
(cls.__name__ == 'ContextManager') and
149-
(cls.__module__ == 'garlicsim.general_misc.'
150-
'context_managers.context_manager') and
149+
(cls.__module__ == 'python_toolbox.context_managers.'
150+
'context_manager') and
151151
(cls.mro() == [cls, object])
152152
)
153153

python_toolbox/identities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class HasIdentity(object):
2828
True
2929
3030
(`DontCopyPersistent` is available as
31-
`garlicsim.general_misc.persistent.DontCopyPersistent`)
31+
`python_toolbox.persistent.DontCopyPersistent`)
3232
'''
3333
def __init__(self):
3434
self.__identity = CrossProcessPersistent()

0 commit comments

Comments
 (0)