Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrote down the invariants of some common objects whose structure is | Armin Rigo | 2004-10-28 | 1 | -2/+11 |
| | | | | | | | | | | exposed in header files. Fixed a few comments in these headers. As we might have expected, writing down invariants systematically exposed a (minor) bug. In this case, function objects have a writeable func_code attribute, which could be set to code objects with the wrong number of free variables. Calling the resulting function segfaulted the interpreter. Added a corresponding test. | ||||
* | Trigger a few error cases in Modules/_codecsmodule.c. | Walter Dörwald | 2004-10-28 | 1 | -0/+14 |
| | |||||
* | Fix bug of implementation of algorithm for calculating the date from year, week | Brett Cannon | 2004-10-28 | 2 | -13/+30 |
| | | | | | | | | of the year, and day of the week. Was not taking into consideration properly the issue of when %U is used for the week of the year but the year starts on Monday. Closes bug #1045381 again. | ||||
* | Fix [1055540 ] bdist_wininst broken for pure Python distributions | Mark Hammond | 2004-10-27 | 1 | -14/+15 |
| | |||||
* | SF patch #1053375. | Raymond Hettinger | 2004-10-27 | 1 | -63/+18 |
| | | | | | | | | (Contributed by Facundo Batista.) Code simplification by eliminating the unnecessary and error-prone convolutions for the previously weird sign convention in _WorkRep(). Makes the code more understandable, more reliable, and a bit faster. | ||||
* | Add a comment explains why we should modify mtime here. | Hye-Shik Chang | 2004-10-27 | 1 | -2/+4 |
| | |||||
* | Removed newly redundant embedded import. | Tim Peters | 2004-10-27 | 1 | -1/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-10-27 | 2 | -5/+5 |
| | |||||
* | Paper over bug 1054615 by passing sane values to os.utime(). | Tim Peters | 2004-10-27 | 1 | -2/+5 |
| | | | | | | | | | | The underlying bug still exists, but also existed in 2.3.4: import.c's load_source_module() returns NULL if PyOS_GetLastModificationTime() returns -1, but PyOS_GetLastModificationTime() doesn't set any exception when it returns -1, and neither does load_source_module() when it gets back -1. This leads to "SystemError: NULL result without error in PyObject_Call" on an import that fails in this way. | ||||
* | Update optparse module and test suite to Optik 1.5a2. | Greg Ward | 2004-10-27 | 2 | -210/+237 |
| | |||||
* | Very few little improvements. | Facundo Batista | 2004-10-26 | 1 | -10/+8 |
| | |||||
* | - Added tests for the string load/dump function. | Just van Rossum | 2004-10-26 | 1 | -14/+113 |
| | | | | | | - Added a chunk of plist data as generated by Cocoa's NSDictionary and verify we output the same (including formatting) - Changed the "literal" plist code to match the raw test data | ||||
* | Made <data> output match Apple's exactly. To do that I had to add a custom | Just van Rossum | 2004-10-26 | 1 | -6/+21 |
| | | | | | version of base64.encodestring() so I could control the line length of the base64 output. | ||||
* | also escape '>', to closer match Apple's plist output | Just van Rossum | 2004-10-26 | 1 | -0/+1 |
| | |||||
* | SF #737473: Show up-to-date source code in tracebacks always. | Hye-Shik Chang | 2004-10-26 | 3 | -2/+54 |
| | | | | | And add an optional argument 'filename' to linecache.checkcache() to enable checking caches per-file. | ||||
* | SF bug #1053819: Segfault in tuple_of_constants | Raymond Hettinger | 2004-10-26 | 1 | -0/+17 |
| | | | | | | | Peepholer could be fooled into misidentifying a tuple_of_constants. Added code to count consecutive occurrences of LOAD_CONST. Use the count to weed out the misidentified cases. Added a unittest. | ||||
* | Deprecating Dict class; going through a few hoops to get the warnings right. | Just van Rossum | 2004-10-26 | 1 | -20/+29 |
| | |||||
* | - Removed Date class. We don't really need it for b/w compatibility since | Just van Rossum | 2004-10-26 | 1 | -52/+25 |
| | | | | | | a) the functionality depended on PyXML before and b) hardly worked to begin with. - Instead, output and require upon input datetime.datetime objects. | ||||
* | - added two more convenience functions: readPlistFromString() and | Just van Rossum | 2004-10-26 | 1 | -15/+30 |
| | | | | | | writePlistToString() - use these two in the resource functions. - Tweaked module doc string. | ||||
* | SF bug #1054139: serious string hashing error in 2.4b1 | Raymond Hettinger | 2004-10-26 | 1 | -0/+9 |
| | | | | | _PyString_Resize() readied strings for mutation but did not invalidate the cached hash value. | ||||
* | Updated doc strings. | Just van Rossum | 2004-10-25 | 1 | -3/+2 |
| | |||||
* | Deprecate Plist class | Just van Rossum | 2004-10-25 | 1 | -2/+8 |
| | |||||
* | Removed superfluous **kwargs constructor cruft: this class predates | Just van Rossum | 2004-10-25 | 1 | -8/+0 |
| | | | | the dict(**kwargs) feature. | ||||
* | Patch from Bob Ippolito, slighly edited: | Just van Rossum | 2004-10-25 | 1 | -16/+77 |
| | | | | [ 1052399 ] plistlib: add plst resource functionality, fix bugs | ||||
* | Whitespace normalization. | Tim Peters | 2004-10-25 | 1 | -1/+1 |
| | |||||
* | format_paragraph_event(): Patch 961387 introduced a bug here, causing | Tim Peters | 2004-10-24 | 2 | -13/+24 |
| | | | | | | | the indentation of a comment block to be ignored when reformatting the block, leading to overly long reformatted lines (too wide by an amount equal to the indentation width). Looks like a typo in the original patch, a 1-character repair. | ||||
* | SF bug #1052503: pdb runcall should accept keyword arguments | Raymond Hettinger | 2004-10-24 | 2 | -4/+4 |
| | |||||
* | SF bug #1048870: call arg of lambda not updating | Raymond Hettinger | 2004-10-24 | 1 | -0/+9 |
| | |||||
* | Fixed bug in handling of args in LogRecord.__init__. | Vinay Sajip | 2004-10-21 | 1 | -1/+1 |
| | |||||
* | Removed test_close_fds, because it's too unreliable. We simply cannot | Peter Astrand | 2004-10-21 | 1 | -10/+0 |
| | | | | | know that the newly-started Python process only has 3 filedescriptors open. Fixes bug 1048808. | ||||
* | [Patch #1043972, for bug #1017553] filemode() returns an incorrect value for ↵ | Andrew M. Kuchling | 2004-10-20 | 1 | -27/+34 |
| | | | | the mode 07111 | ||||
* | Add test case for bug #1017553 | Andrew M. Kuchling | 2004-10-20 | 1 | -0/+9 |
| | |||||
* | when only using half of the return value of os.path.split(), use | Fred Drake | 2004-10-20 | 1 | -1/+1 |
| | | | | os.path.dirname() or os.path.basename() instead | ||||
* | Changed handling of args in LogRecord.__init__. | Vinay Sajip | 2004-10-20 | 1 | -2/+17 |
| | |||||
* | SF bug #902037: relative on-disk SYSTEM id handling is incorrect | Raymond Hettinger | 2004-10-20 | 1 | -4/+5 |
| | | | | | | (Contributed by Bob Ippolito.) backport candidate. | ||||
* | SF patch #1038388: __main__ for whichdb.py | Raymond Hettinger | 2004-10-20 | 1 | -0/+5 |
| | | | | (Contributed by Oleg Broytmann.) | ||||
* | SF bug #1048728: Bug fixes and cleanup for decimal.py | Raymond Hettinger | 2004-10-20 | 1 | -13/+7 |
| | | | | (Contributed by Neal Norwitz. Reviewed by Facundo Bastista.) | ||||
* | Display helpful message; print repr() of return value so the whitespace is ↵ | Andrew M. Kuchling | 2004-10-19 | 1 | -1/+2 |
| | | | | clearer | ||||
* | [Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from ↵ | Andrew M. Kuchling | 2004-10-19 | 1 | -0/+2 |
| | | | | Stefan Heimann | ||||
* | Make magic coordinates more readable | Andrew M. Kuchling | 2004-10-19 | 1 | -3/+7 |
| | |||||
* | Fix comments. | Brett Cannon | 2004-10-18 | 1 | -2/+4 |
| | |||||
* | Add support for %U and %W to contribute to calculating the date when the year | Brett Cannon | 2004-10-18 | 2 | -1/+65 |
| | | | | | | and day of the week are specified. Closes bug #1045381. | ||||
* | SF #1048865: Fix a trivial typo that breaks StreamReader.readlines() | Hye-Shik Chang | 2004-10-17 | 2 | -2/+13 |
| | |||||
* | Fix and test weak referencing of itertools.tee objects. | Raymond Hettinger | 2004-10-17 | 1 | -0/+8 |
| | |||||
* | Fix docstring formatting of escape sequences. | Raymond Hettinger | 2004-10-17 | 1 | -1/+1 |
| | |||||
* | Invalid patterns to substitute and safe_substitute would crash since pattern | Neal Norwitz | 2004-10-17 | 2 | -2/+16 |
| | | | | is not a local variable. Add a test case. | ||||
* | Use proper value for False | Neal Norwitz | 2004-10-17 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary imports | Neal Norwitz | 2004-10-17 | 1 | -2/+2 |
| | |||||
* | return codes are available on all platforms, not just on Unix | Fredrik Lundh | 2004-10-17 | 1 | -4/+3 |
| | |||||
* | release shenanigans | Anthony Baxter | 2004-10-15 | 1 | -0/+6 |
| |