summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - remove some bogus <meta> tags from the document headFred Drake2004-11-051-11/+4
| | | | - clean up some of the generated markup
* generate the "type" attribute on the favicon linkFred Drake2004-11-051-3/+13
|
* switch remaining icon references to the PNG iconsFred Drake2004-11-053-17/+17
|
* add encouragement to contribute without learning LaTeXFred Drake2004-11-053-0/+24
| | | | (closes SF bug #948517)
* - make the default image type PNG, to match mkhowtoFred Drake2004-11-051-2/+6
| | | | - add a command-line option to control the image type
* Point out some platform vagaries in stat() and utime().Tim Peters2004-11-041-5/+19
| | | | | Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to backport this.
* Mistakes in the "sequence types" page:Armin Rigo2004-11-041-6/+9
| | | | | | | | | | | | * explanation for example with lists of lists made confusing use of the word "contains" to mean "is built out of". * wrong formula for slices with step. Is it ok to use LaTeX formulas (which become images in the html document)? This version needs one because it's based on a fraction. Just writing "\code{(j-i)/k}" here would be ambiguous because it looks like a rounding-down-to-the-previous-integer division, which is not what we need here. Of course we could write "\code{float(j-i)/k}" but it just looks confusing.
* markup nitFred Drake2004-11-041-5/+4
|
* post-releaseAnthony Baxter2004-11-042-39/+60
|
* Fix bug 1052242. Also includes rewrite of test case using unittest andSkip Montanaro2004-11-044-54/+117
| | | | avoiding use of popen.
* fix markup in "title" attribute for \citetitle{}Fred Drake2004-11-041-1/+2
| | | | (closes SF patch #1054715; backporting to release23-maint branch)
* This commit was manufactured by cvs2svn to create tag 'r24b2'.v2.4b2cvs2svn2004-11-031-0/+1
|
* release shenanigansAnthony Baxter2004-11-034-4/+4
|
* Exclude badsyntax from compileall; adjust options to what Makefile.pre.in does.Martin v. Löwis2004-11-021-2/+3
| | | | Fixes #1049003.
* Bump buildno for 2.4b2.Martin v. Löwis2004-11-022-3/+5
|
* fix accidental commitFred Drake2004-11-021-1/+0
|
* clarify discussion of iteration in the section on the "for" statementFred Drake2004-11-021-2/+4
| | | | (SF bug #829073)
* clarify discussion of iteration in the section on the "for" statementFred Drake2004-11-021-1/+2
| | | | (SF bug #829073)
* clarify trailing comma in function argument listFred Drake2004-11-022-6/+6
| | | | (SF bug #798652)
* - show how to use file.write() with a non-string valueFred Drake2004-11-021-1/+10
| | | | | (closes SF bug #621057) - add missing whitespace around assignment operator
* release bitAnthony Baxter2004-11-021-2/+2
|
* Maintain peepholer's cumlc invariant by updating the running totalRaymond Hettinger2004-11-022-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 Hettinger2004-11-021-1/+1
|
* * Bumped up the sleep() delay to four seconds so this test will runRaymond Hettinger2004-11-011-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örwald2004-11-014-4/+112
| | | | Add function names to various PyArg_ParseTuple calls in bz2module.c.
* gc_list_move(): Make this truly equivalent to remove+append. WhileTim Peters2004-11-011-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 Hettinger2004-11-011-13/+6
| | | | No longer assumes that the input is NOP free.
* Bug #1057993: Use sleep() always instead of os.utime() possibly brokenHye-Shik Chang2004-11-011-9/+5
| | | | in some platforms.
* SF bug #1030118, this should have named the email.Utils module as the oneBarry Warsaw2004-11-011-2/+2
| | | | containing these functions. (I will backport to Python 2.3)
* SF patch #1056967, changes the semantics of Template.safe_substitute() to notBarry Warsaw2004-11-014-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 Peters2004-11-011-7/+13
|
* gc list function cleanup.Tim Peters2004-11-011-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 secondTim Peters2004-10-311-58/+28
| | | | pass over the unreachable weakrefs-with-callbacks to unreachable objects.
* Bug #1057535: add link in time module to calendar.timegm().Johannes Gijsbers2004-10-311-1/+2
|
* Bug #1048941: shutil.rmtree error handling was always brokenJohannes Gijsbers2004-10-312-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 Hettinger2004-10-311-1/+1
|
* SF 1055820: weakref callback vs gc vs threadsTim Peters2004-10-306-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 Rigo2004-10-301-1/+4
|
* Adopt some peepholer suggestions from Armin Rigo:Raymond Hettinger2004-10-301-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 Drake2004-10-292-8/+8
|
* style consistency:Fred Drake2004-10-291-30/+32
| | | | | - always include a space after the "#" that starts a comment - easier to read imports
* Added network logging exampleVinay Sajip2004-10-291-0/+137
|
* Wrote down the invariants of some common objects whose structure isArmin Rigo2004-10-2812-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örwald2004-10-281-0/+14
|
* Fix bug of implementation of algorithm for calculating the date from year, weekBrett Cannon2004-10-282-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 distributionsMark Hammond2004-10-271-14/+15
|
* SF patch #1053375.Raymond Hettinger2004-10-271-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 Chang2004-10-271-2/+4
|
* Removed newly redundant embedded import.Tim Peters2004-10-271-1/+0
|
* Whitespace normalization.Tim Peters2004-10-272-5/+5
|