- 20 Jan, 2003 7 commits
-
-
Fred Drake authored
- make it easier for an admin to configure logging levels (by making the defaults more sane) - refactor the tests a little, in preparation for more tests
-
Fred Drake authored
- remove methods that aren't needed - rename "resolved" to "instance" for readability
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
Remove __version__
-
Barry Warsaw authored
-
Barry Warsaw authored
Remove __version__ ZODB4 will have two new methods in the storage api: get_version() -> string set_version(string) Prepare for this now by changing the packtime table into an info table, which is just a key/value mapping for meta-information about the storage. For now, the only key we define is `packtime' although we're reserving `version' for ZODB4.
-
- 19 Jan, 2003 3 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
-
Chris McDonough authored
when attempting to get a list of users, use the __allow_groups__ alias. This doesn't break anything as it is one of the (unwritten) contracts of a user folder to install itself as __allow_groups__ in its container (it is canonized in the manage_beforeDelete and manage_afterAdd methods of BasicUserFolder, and the traversal machinery refers to a user folder by its __allow_groups__ alias exclusively). It's actually likely that all code in Zope's security machinery that directly refers to a user folder by its 'acl_users' alias in this way is wrong. Referring to the user folder by its __allow_groups__ alias in the security machinery exclusively gives us the ability to insert a "proxy" object as can act as an intermediary for a "real" UserFolder object, allowing us to massage the output from its interface methods as necessary to allow for grouping and other tricks.
-
- 18 Jan, 2003 1 commit
-
-
Shane Hathaway authored
Some indexes were storing acquisition wrappers in the cyclic references back to the ZCatalog instance. Removed the acquisition wrappers and cleaned up a bad use of apply(). The acquisition wrappers were revealed by AdaptableStorage. There's a second problem, in that indexes are unknowingly storing references back to the ZCatalog in an unused attribute. In the 2_6 branch it's hard to fix without breaking things, but on the HEAD there's a better way to fix this. Coming soon, I hope.
-
- 17 Jan, 2003 2 commits
-
-
Guido van Rossum authored
run from Daemon.
-
Andreas Jung authored
of a catalog metadata was identical with the name of an acquired object. ~
-
- 16 Jan, 2003 2 commits
-
-
Lennart Regebro authored
#740: _tzoffset handled positive numerical offsets incorrectly. This has been fixed. A large set of tests for different cases has been added, and for the purpose of those tests DateTime has a new feature: A tzoffset() method.
-
Fred Drake authored
- add at least something of a test for the datatype
-
- 14 Jan, 2003 4 commits
-
-
Lennart Regebro authored
Merge with HEAD: Collector #763: There was no error when you had a sendmail-tag without specifying a mailhost or smpthost. Also added a missing import.
-
Shane Hathaway authored
result in an Unauthorized error rather than AttributeError. Added a test to ensure the bug stays fixed.
-
Barry Warsaw authored
Also, set the FullOpenCloseTest's level to 2 so testCloseWithCheckpointingThread() isn't normally run, even if you have BerkeleyDB installed. This is the single longest test in the --all suite. This shaves about 21 seconds off the tests.
-
Barry Warsaw authored
Also, set the suite's test level to 2 so these aren't normally run (even if you have BerkeleyDB installed). These tests take a long time.
-
- 13 Jan, 2003 3 commits
-
-
Christian Zagrodnick authored
contained 'None', which lead to 'None' as connection hook.
-
Fred Drake authored
no other handlers are provided. This is needed to avoid warnings on stderr from the logging package.
-
Guido van Rossum authored
-
- 11 Jan, 2003 1 commit
-
-
Andreas Jung authored
-
- 10 Jan, 2003 3 commits
-
-
Fred Drake authored
Needs more work, but can deal with at least logging to files and STDERR. Log rotation has been tested.
-
Fred Drake authored
- add a way to control how logging is re-initialized
-
Fred Drake authored
-
- 09 Jan, 2003 2 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
-
- 07 Jan, 2003 1 commit
-
-
Guido van Rossum authored
- Cache the translations from severity to level and string in dicts, so these are normally done with a single dict.get() call rather than a Python function call. - Extract the PEP 282 level first, and check it against the effective level of the logger, so we can take an early exit if the logger won't handle the event. - Got rid of textwrap. It slows things down, can frustrate grepping programs, and wasn't effective unless you were using Python 2.3 anyway. - Got rid of the addHandler(NullHandler()) (seems like superstition). - Got rid of the log_format class variable (YAGNI).
-
- 06 Jan, 2003 6 commits
-
-
Chris McDonough authored
trunk.
-
Chris Withers authored
-
Chris Withers authored
-
Chris Withers authored
why security assertions should be placed
-
Chris Withers authored
PASSWORD() function add to lib/python/AccessControl/AuthEncoding.py.
-
Andreas Jung authored
using list comprehensions (20-30% speedup under Python 2.2).
-
- 05 Jan, 2003 3 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
- 03 Jan, 2003 2 commits
-
-
Barry Warsaw authored
available or not, and also fixes to all the tests so they won't crap out or complain if not. To test whether these storages are avialable (including all package dependencies), do: import BDBStorage if BDBStorage.is_available: # okay to use Also, in BDBStorage/__init__.py do some cross-platform compatibility for the bsddb module; in Python 2.3 we can just use the built-in module, but in earlier Pythons we have to use bsddb3. Now you can just use "from BDBStorage import db" to get the proper db object.
-
Jeremy Hylton authored
-