- 29 Oct, 2004 6 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
- 18 Oct, 2004 1 commit
-
-
Tim Peters authored
Forward port form 2.7 branch. medusa's class monitor_server derives from asyncore.dispatcher, but never called the latter's constructor. As a result, the ._map attribute set by 2.4's asyncore.dispatcher.__init__() never gets set, and calling asyncore methods later dies with an AttributeError on ._map. The fix is a 1-liner, adding a call to the base-class constructor.
-
- 17 Oct, 2004 1 commit
-
-
Andreas Jung authored
-
- 15 Oct, 2004 4 commits
-
-
Michael Dunstan authored
2.3.4 or later.
-
Andreas Jung authored
-
Andreas Jung authored
of using sys.platform
-
Andreas Jung authored
-
- 14 Oct, 2004 2 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
instead to all network addresses by default.
-
- 13 Oct, 2004 1 commit
-
-
Andreas Jung authored
No commit message
-
- 12 Oct, 2004 4 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
Catalog.__len__ -> Catalog._length
-
Andreas Jung authored
-
- 11 Oct, 2004 1 commit
-
-
Andreas Jung authored
variable was included into the generated query if the 'optional' flag inside dtml-sqltest was set an if the value of the string was empty.
-
- 10 Oct, 2004 1 commit
-
-
Chris McDonough authored
Collector #1350: segfaults under SessionRig stress tester. Since we perform a unfortunate monkey-patch in here to ZODB's Connection class, and in doing so we override the "close" method of that class, we need to do all of the things that ZODB 3.3's "close" method does, which includes unregistering a synchronizer.
-
- 09 Oct, 2004 1 commit
-
-
Tres Seaver authored
-
- 08 Oct, 2004 2 commits
-
-
Tim Peters authored
The Python fatal errors occur only in a debug build now. In a release build, unghostify() raises a Python SystemError exception if it detects insanity, and ghostify() ignores the problem (as ZODB 3.2 did, although it looks like 3.2 ignored the problem by mistake). This isn't *good*, because the system is insane. But it can become insane only by breaking absolute threading rules, and that "should never happen". Unfortunately, hundreds of things can go wrong if it does happen, and we can't detect most of them.
-
Tim Peters authored
In ghostify() and unghostify(), trigger a fatal error if the object is insane. This prevents a segfault (or, worse, arbitrary memory corruption) later. The test suite isn't bothered by this, and neither is bringing up a Zope and playing around with it. The only known cause appears to be threading problems related to Transience.py, partly explained in issue #1350. It should be impossible for these fatal errors to trigger via thread-correct use of ZODB. I don't expect to keep these fatal errors in the code; indeed, I'm checking this in only in Zope's *copy* of ZODB. The intent is to help whoever can make time for 1350 know whether that problem still exists, until that problem goes away. Unfortunately, it's not even possible to raise an exception from ghostify() (it's a void routine that "can't fail"), so it takes an extreme measure to catch the problem as soon as it's visible.
-
- 06 Oct, 2004 2 commits
-
-
Tim Peters authored
- 05 Oct, 2004 2 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
- 04 Oct, 2004 3 commits
-
-
Tim Peters authored
Changing to pickle protocol 2 has severe backward compatibility implications; changes to ZODB should not be made from the Zope trunk regardless.
-
Stefan H. Holek authored
-
Stefan H. Holek authored
-
- 01 Oct, 2004 2 commits
-
-
Stefan H. Holek authored
-
Andreas Jung authored
-
- 30 Sep, 2004 7 commits
-
-
Jim Fulton authored
-
Tim Peters authored
FileStorage.history() was reading the user, description, and extension fields out of the object pickle, due to starting the read at a wrong location.
-
Andreas Jung authored
-
Andreas Jung authored
store history informations. In ZODB 2.8 'tid' is used. At least the management screen is showing up again however the 'description' value shows only garbage. Also there might a problem with backward compatibility.
-
Andreas Jung authored
- Re-added the DAV header (Collector #1518) which had been removed in beta 1.
-
Tim Peters authored
Restored the ._opened attribute of Connection. Don't know why it went away in 3.3. Probably because it was only referenced by connectionDebugInfo(), and Jeremy didn't realize anyone used that <wink>.
-
Tim Peters authored
The DB.cacheStatistics() method was introduced in DB.py rev 1.2, and has always returned an empty tuple. A number of "never did anything, probably never will" DB methods like that were removed in ZODB 3.3, to reduce stumbling over decoys. That was discussed on zodb-dev at the time, with universal agreement to get rid of them. So the resolution in this case is changing Zope to stop trying to access the no-longer-extant cacheStatistics() method. If someone doesn't like this, they can revert this patch, then change App/CacheManager.py's cacheStatistics() to return a hard coded empty tuple <wink>.
-