- 13 Tem, 2003 12 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Raymond Hettinger yazdı
Needs to be backported to both IDLE and IDLEFORK.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Raymond Hettinger yazdı
* It ran fine under "python regrtest.py test_warnings" but failed under "python regrtest.py" presumably because other tests would add to filtered warnings and not reset them at the end of the test. * Converted to a unittest format for better control. Renamed monkey() and unmonkey() to setUp() and tearDown(). * Increased coverage by testing all warnings in __builtin__. * Increased coverage by testing regex matching of specific messages.
-
Raymond Hettinger yazdı
reported consistently with the *nix world. 'Lib/test/test_warnings.py' came out as 'lib\test\test_warnings.py'. The basename is all we care about so I used that.
-
Tim Peters yazdı
-
Tim Peters yazdı
Related to SF patch 723231 (which pointed out the problem, but didn't fix it, just shut up the warning msg -- which was pointing out a dead- serious bug!). Bugfix candidate.
-
Raymond Hettinger yazdı
Clarified the difference between translate methods for string objects and Unicode objects.
-
Tim Peters yazdı
-
Raymond Hettinger yazdı
Usability fix. Makes the error message more helpful.
-
Raymond Hettinger yazdı
-
- 12 Tem, 2003 7 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
databases are associated with corruption problems, so I studied this code carefully and ran some brutal stress tests. I didn't find any bugs, although it's unclear whether this code *intends* that __setitem__ can leave the directory file out of synch with the data file (so if a dumbdbm isn't properly closed, and the value of an existing key was ever replaced, corruption is almost certain, where "corruption" means the directory file is out of synch with the data file). Added many comments and generally modernized the code. Examples of the latter: we have better ways of reading a whole file line-by-line now; eval() now tolerates a trailing newline; the %r format code can be used to avoid explicit repr/backtick calls; and the code often broke tuples into their components when it was clearer and faster to just leave them as tuples.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Brett found that the tutorial didn't really explain what was happening with exception targets. Hopefully, this sheds some light on the subject.
-
- 11 Tem, 2003 14 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Raymond Hettinger yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Add API function simplefilter() that does not create or install regular expressions to match message or module. Extend the filters data structure to store None as an alternative to re.compile(""). Move the _test() function to test_warnings and add some code to try and avoid disturbing the global state of the warnings module.
-
Fred Drake yazdı
- there's a weird variable name here (zimpimport), but I'll leave that for someone that's familiar with the ZIP import support
-
Andrew MacIntyre yazdı
At this point, the problem appears particular to the OS/2 EMX port of gdbm (which is at v1.7.3) - this combination produces a .pag file but no .dir file. A more sophisticated patch which checks magic numbers when dbm.library indicates that dbm is linked to gdbm, and there is no .dir file, is still attached to the above patch entry for reconsideration after 2.3 is released. This checkin applies a workaround specific to the known failure case.
-
Just van Rossum yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
- 10 Tem, 2003 7 kayıt (commit)
-
-
Raymond Hettinger yazdı
Expanded docs to have a quick start example showing how to create and run tests.
-
Skip Montanaro yazdı
supports pthreads
-
Fred Drake yazdı
-
Kurt B. Kaiser yazdı
"Support IDLE Edit of .py/.pyw from idlelib"
-
Raymond Hettinger yazdı
-
Just van Rossum yazdı
until now: the inheritance of default values was the wrong way around. This caused app bundles to get a type of "BNDL" instead of "APPL". Apparently this is not a problem until you try to drag your app to the dock. ----------------------------------------------------------------------
-
Just van Rossum yazdı
-