| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | This commit was manufactured by cvs2svn to create tag 'r24b2'.v2.4b2 | cvs2svn | 2004-11-03 | 1 | -0/+1 |
| | | |||||
| * | release shenanigans | Anthony Baxter | 2004-11-03 | 4 | -4/+4 |
| | | |||||
| * | Exclude badsyntax from compileall; adjust options to what Makefile.pre.in does. | Martin v. Löwis | 2004-11-02 | 1 | -2/+3 |
| | | | | | Fixes #1049003. | ||||
| * | Bump buildno for 2.4b2. | Martin v. Löwis | 2004-11-02 | 2 | -3/+5 |
| | | |||||
| * | fix accidental commit | Fred Drake | 2004-11-02 | 1 | -1/+0 |
| | | |||||
| * | clarify discussion of iteration in the section on the "for" statement | Fred Drake | 2004-11-02 | 1 | -2/+4 |
| | | | | | (SF bug #829073) | ||||
| * | clarify discussion of iteration in the section on the "for" statement | Fred Drake | 2004-11-02 | 1 | -1/+2 |
| | | | | | (SF bug #829073) | ||||
| * | clarify trailing comma in function argument list | Fred Drake | 2004-11-02 | 2 | -6/+6 |
| | | | | | (SF bug #798652) | ||||
| * | - show how to use file.write() with a non-string value | Fred Drake | 2004-11-02 | 1 | -1/+10 |
| | | | | | | (closes SF bug #621057) - add missing whitespace around assignment operator | ||||
| * | release bit | Anthony Baxter | 2004-11-02 | 1 | -2/+2 |
| | | |||||
| * | Maintain peepholer's cumlc invariant by updating the running total | Raymond Hettinger | 2004-11-02 | 2 | -3/+9 |
| | | | | | | | everytime a LOAD_CONSTANT is encountered, created, or overwritten. Added two tests to cover cases affected by the patch. | ||||
| * | Bump-up block size. | Raymond Hettinger | 2004-11-02 | 1 | -1/+1 |
| | | |||||
| * | * Bumped up the sleep() delay to four seconds so this test will run | Raymond Hettinger | 2004-11-01 | 1 | -6/+9 |
| | | | | | | | reliably on WinME with FAT32. * Native speaker rewrite of the comment block. * Removed unnecessary backslashes from the multi-line function defintions. | ||||
| * | Add error checks for the bz2, cStringIO and operator modules. | Walter Dörwald | 2004-11-01 | 4 | -4/+112 |
| | | | | | Add function names to various PyArg_ParseTuple calls in bz2module.c. | ||||
| * | gc_list_move(): Make this truly equivalent to remove+append. While | Tim Peters | 2004-11-01 | 1 | -3/+5 |
| | | | | | | | nothing in gc currently cares, the original coding could screw up if, e.g., you tried to move a node to the list it's already in, and the node was already the last in its list. | ||||
| * | Simplify and future proof NOP counting in the peepholer. | Raymond Hettinger | 2004-11-01 | 1 | -13/+6 |
| | | | | | No longer assumes that the input is NOP free. | ||||
| * | Bug #1057993: Use sleep() always instead of os.utime() possibly broken | Hye-Shik Chang | 2004-11-01 | 1 | -9/+5 |
| | | | | | in some platforms. | ||||
| * | SF bug #1030118, this should have named the email.Utils module as the one | Barry Warsaw | 2004-11-01 | 1 | -2/+2 |
| | | | | | containing these functions. (I will backport to Python 2.3) | ||||
| * | SF patch #1056967, changes the semantics of Template.safe_substitute() to not | Barry Warsaw | 2004-11-01 | 4 | -13/+24 |
| | | | | | raise a ValueError for dangling delimiters (the delimiter itself is returned). | ||||
| * | test_on_error(): Rewrite so it works on WinXP too. Unsure about 95/98/ME. | Tim Peters | 2004-11-01 | 1 | -7/+13 |
| | | |||||
| * | gc list function cleanup. | Tim Peters | 2004-11-01 | 1 | -15/+31 |
| | | | | | | | | | | | | Introduced gc_list_move(), which captures the common gc_list_remove() + gc_list_append() sequence. In fact, no uses of gc_list_append() remained (they were all in a gc_list_move() sequence), so commented that one out. gc_list_merge(): assert that `from` != `to`; that was an implicit precondition, now verified in a debug build. Others: added comments about their purpose. | ||||
| * | handle_weakrefs(): Simplification -- there's no need to make a second | Tim Peters | 2004-10-31 | 1 | -58/+28 |
| | | | | | pass over the unreachable weakrefs-with-callbacks to unreachable objects. | ||||
| * | Bug #1057535: add link in time module to calendar.timegm(). | Johannes Gijsbers | 2004-10-31 | 1 | -1/+2 |
| | | |||||
| * | Bug #1048941: shutil.rmtree error handling was always broken | Johannes Gijsbers | 2004-10-31 | 2 | -30/+61 |
| | | | | | | Rewrite rmtree again, this time without os.walk(). Error handling had been broken since Python 2.3, and the os.walk() version inherited this. | ||||
| * | SF patch #1056231: typo in comment (unicodeobject.h) | Raymond Hettinger | 2004-10-31 | 1 | -1/+1 |
| | | |||||
| * | SF 1055820: weakref callback vs gc vs threads | Tim Peters | 2004-10-30 | 6 | -108/+529 |
| | | | | | | | | | In cyclic gc, clear weakrefs to unreachable objects before allowing any Python code (weakref callbacks or __del__ methods) to run. This is a critical bugfix, affecting all versions of Python since weakrefs were introduced. I'll backport to 2.3. | ||||
| * | Fixed a comment and added another one. | Armin Rigo | 2004-10-30 | 1 | -1/+4 |
| | | |||||
| * | Adopt some peepholer suggestions from Armin Rigo: | Raymond Hettinger | 2004-10-30 | 1 | -15/+20 |
| | | | | | | | | | * Use simpler, faster two pass algorithm for markblocks(). * Free the blocks variable if not NULL and exiting without change. * Verify that the rest of the compiler has not set an exception. * Make the test for tuple of constants less restrictive. * Embellish the comment for chained conditional jumps. | ||||
| * | add xml:id attributes wherever we generate the IDs (old patch saved up) | Fred Drake | 2004-10-29 | 2 | -8/+8 |
| | | |||||
| * | style consistency: | Fred Drake | 2004-10-29 | 1 | -30/+32 |
| | | | | | | - always include a space after the "#" that starts a comment - easier to read imports | ||||
| * | Added network logging example | Vinay Sajip | 2004-10-29 | 1 | -0/+137 |
| | | |||||
| * | Wrote down the invariants of some common objects whose structure is | Armin Rigo | 2004-10-28 | 12 | -25/+98 |
| | | | | | | | | | | | 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 |
| | | |||||
| * | In paragraph 1, changed | Tim Peters | 2004-10-26 | 1 | -2/+2 |
| | | | | | | | Python software to this software ("Python") | ||||
| * | - 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 |
| | | |||||
| * | Patch #1044395: Allow configure option --enable-shared in FreeBSD. | Hye-Shik Chang | 2004-10-26 | 3 | -7/+17 |
| | | | | | (Submitted by James William Pye, Patch revised by Jiwon Seo) | ||||
| * | SF #737473: Show up-to-date source code in tracebacks always. | Hye-Shik Chang | 2004-10-26 | 5 | -4/+60 |
| | | | | | | 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 | 2 | -1/+26 |
| | | | | | | | | 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 |
| | | |||||
