summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sound_playsound() doesn't have to be visible externally,Walter Dörwald2003-05-221-1/+1
| | | | so make it static.
* Fixed dotted name assertion.Raymond Hettinger2003-05-221-2/+2
|
* Use macro to get length of list.Jeremy Hylton2003-05-221-8/+2
| | | | Remove comment about how code used to work.
* Remove comment with very long lines that explained what the code usedJeremy Hylton2003-05-221-3/+3
| | | | | | | to do. XXX Please be careful when checking in patches to avoid checking in junk that explains what the patched code used to do.
* Record 2.2.3c1 Windows build number.Tim Peters2003-05-221-0/+2
|
* Correct dependency information -- the Python docs load the "About thisFred Drake2003-05-221-2/+2
| | | | document" text from html/stdabout.dat, not html/about.dat.
* Add historical note for Python 2.2.3Barry Warsaw2003-05-221-0/+1
|
* Minor elaboration in the information about reporting errors.Fred Drake2003-05-221-1/+2
|
* update version historyFred Drake2003-05-221-0/+1
|
* [Bug #741171] pdb crashes when enabling a non-existing breakpointAndrew M. Kuchling2003-05-221-2/+22
| | | | | | | | | Check the supplied breakpoint number more carefully. (Incompatibility: before this patch, "enable -1" would enable the last breakpoint on the list; now -1 is not a legal ID. Not sure anyone would ever use negative indices...) 2.2 bugfix candidate, assuming making -1 illegal isn't considered a problem.
* Walter's last checkin also needs to work on doubles.Neal Norwitz2003-05-221-7/+3
| | | | | * Move new test_byteswap into FPTest. * Remove extra lines at end of file.
* test_byteswap() fails on alphas, because treating the byte swapped bitWalter Dörwald2003-05-221-0/+17
| | | | | | | | | | patterns as floats/doubles results in floating point exceptions. Fix this by implementing a separate test_byteswap() for the floating point tests. This new test compares the tostring() values of both arrays instead of the arrays themselves. Discovered by Neal Norwitz.
* Add documentation for __future__Jeremy Hylton2003-05-211-0/+69
|
* Move future statement here from appendix a.Jeremy Hylton2003-05-211-0/+78
|
* PyType_Ready(): Complain if the type is a base type, and gc'able, andTim Peters2003-05-213-3/+49
| | | | | | | | | | | | | | | | | | tp_free is NULL or PyObject_Del at the end. Because it's a base type it must call tp_free in its dealloc function, and because it's gc'able it must not call PyObject_Del. inherit_slots(): Don't inherit tp_free unless the type and its base agree about whether they're gc'able. If the type is gc'able and the base is not, and the base uses the default PyObject_Del for its tp_free, give the type PyObject_GC_Del for its tp_free (the appropriate default for a gc'able type). cPickle.c: The Pickler and Unpickler types claim to be base classes and gc'able, but their dealloc functions didn't call tp_free. Repaired that. Also call PyType_Ready() on these typeobjects, so that the correct (PyObject_GC_Del) default memory-freeing function gets plugged into these types' tp_free slots.
* Fix for SF [ 734869 ] Lambda functions in list comprehensionsJeremy Hylton2003-05-215-15/+27
| | | | | | The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter for the entire module. Repair by move tmpname into the symtable entry. Bugfix candidate.
* SF bug #604716: faster [None]*n or []*nRaymond Hettinger2003-05-211-0/+12
| | | | Fulfilled request to special case repetitions of lists of length 0 or 1.
* Don't mention __slots__ as a technique for error avoidanceAndrew M. Kuchling2003-05-201-10/+6
|
* Added a test for the fix of SF bug #658233, where continuation linesBarry Warsaw2003-05-201-12/+52
| | | | | | | | in .po metadata caused a crash. Also, removed some unnecessary code. Backport candidate.
* GNUTranslations._parse(): Fix SF bug #658233, where continuation linesBarry Warsaw2003-05-201-4/+9
| | | | | | in .po metadata caused a crash. Backport candidate.
* Fix markup nits.Fred Drake2003-05-201-4/+4
|
* Straighten out the docs for os.system(); the Unix and Windows behaviorsTim Peters2003-05-201-5/+13
| | | | | | really can't be smushed together. Bugfix candidate.
* Markup nits.Fred Drake2003-05-201-5/+5
|
* Remove unused line numbers from example code.Fred Drake2003-05-201-28/+27
| | | | Line numbering of examples is not used elsewhere.
* Preserved one bit in type objects for Stackless.Christian Tismer2003-05-201-0/+8
| | | | | The presence of this bit controls, whether there are special fields for non-recursive calls.
* 'Progress' doesn't exists, causing 'from EasyDialogs import *' to failJust van Rossum2003-05-201-1/+1
|
* Fix missing parethesis.Raymond Hettinger2003-05-201-1/+1
|
* SF 740055: optional argument protocol in shelve.open is ignoredRaymond Hettinger2003-05-201-1/+1
| | | | | * added the missing parameter * put optional parameters in correct positional order
* SF bug 735293: Command line timeit.py sets sys.path badlyRaymond Hettinger2003-05-203-0/+8
| | | | | Paul Moore's patch to have timeit.py check the current directory for imports (instead of the directory for Lib/timeit.py).
* Add docs for key_file and cert_file arguments for HTTPSConnection. Copied ↵Brett Cannon2003-05-201-1/+7
| | | | from socket.ssl docs.
* Fixing the previous patch to have the changes be to the proper docstrings.Brett Cannon2003-05-201-8/+8
|
* Fix docstrings for __(get|set|del)slice__ to mention that negative indices ↵Brett Cannon2003-05-201-3/+9
| | | | are not supported.
* Fix race exposed by 2.4 GHz XP box: Don't tear down PyShell untilKurt B. Kaiser2003-05-191-5/+11
| | | | | | | subprocess polling has terminated. Tk callit gets unhappy if it can't find the function 'after' scheduled to run. M PyShell.py
* Only return objects if wantobjects is set in GetVar.Martin v. Löwis2003-05-191-1/+6
|
* * Correct Sniffer doc to correspond to the implementation.Skip Montanaro2003-05-193-14/+31
| | | | | * Add optional delimiters arg to Sniffer.sniff() which restricts the set of candidate field delimiters.
* Let Python inform the user what went wrong with the import.Kurt B. Kaiser2003-05-193-3/+3
| | | | | Modified Files: idle idle.py idle.pyw
* Only encode Unicode objects when printing them raw.Martin v. Löwis2003-05-181-1/+2
|
* Consider \U-escapes in raw-unicode-escape. Fixes #444514.Martin v. Löwis2003-05-182-3/+49
|
* Fix array.array.insert(), so that it treats negative indices asWalter Dörwald2003-05-184-3/+34
| | | | | being relative to the end of the array, just like list.insert() does. This closes SF bug #739313.
* To be on the safe side, backed out any questionable iteritem changes and set ↵Brett Cannon2003-05-181-2/+2
| | | | back to item calls.
* Added more words about the abuse of the tp_alloc nitems argumentTim Peters2003-05-181-1/+12
| | | | perpetrated by the time and datetime classes.
* Whitespace NormalizationKurt B. Kaiser2003-05-181-29/+29
|
* Whitespace NormalizationKurt B. Kaiser2003-05-184-23/+23
| | | | | | Modified Files: config-extensions.def config-highlight.def config-keys.def config-main.def
* Add another error case to the insert test.Walter Dörwald2003-05-181-0/+1
|
* Port test_array and test_winsound to PyUnit. Enhance tests for arrayWalter Dörwald2003-05-183-380/+920
| | | | | | (code coverage for Modules/arraymodule.c is at 91%) From SF patch #736962.
* Show Freddy the mirrorKurt B. Kaiser2003-05-171-7/+15
| | | | i.e. improve subprocess exit paths and exeception reporting
* User cStringIO instead of StringIO.Raymond Hettinger2003-05-171-2/+2
|
* Revert some changes back to dict.items made in a previous patch.Brett Cannon2003-05-171-2/+2
|
* datetime.timedelta is now subclassable in Python. The new test showsTim Peters2003-05-173-167/+203
| | | | | | | | one good use: a subclass adding a method to express the duration as a number of hours (or minutes, or whatever else you want to add). The native breakdown into days+seconds+us is often clumsy. Incidentally moved a large chunk of object-initialization code closer to the top of the file, to avoid worse forward-reference trickery.
* Added icon for IDLE on OS XTony Lownds2003-05-172-0/+1
|