summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #828384: Don't discard nested exception in AddObject.Martin v. Löwis2003-10-241-2/+3
|
* [Patch #772077 from Tim Rice] Fix for compiling the readline module on ↵Andrew M. Kuchling2003-10-241-3/+3
| | | | UnixWare; fix goofy comment indent. 2.3 bugfix candidate
* [Bug #822668] tarfile raises an exception if the tarfile is gzipped and is ↵Andrew M. Kuchling2003-10-241-1/+1
| | | | too large; the gzip filesize should be written out mod 2**32. (Reported by Johan Fredrik Ohman)
* Fixed bug introduced in revision 1.27Armin Rigo2003-10-241-1/+1
|
* Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().Walter Dörwald2003-10-242-19/+32
| | | | | | | charmaptranslate_makespace() allocated more memory than required for the next replacement but didn't remember that fact, so memory size was growing exponentially every time a replacement string is longer that one character. This fixes SF bug #828737.
* Added itertools.tee()Raymond Hettinger2003-10-244-93/+446
| | | | | | It works like the pure python verion except: * it stops storing data after of the iterators gets deallocated * the data queue is implemented with two stacks instead of one dictionary.
* - The pwd module incorrectly advertised its struct type asGuido van Rossum2003-10-232-0/+6
| | | | | struct_pwent; this has been renamed to struct_passwd. (The old name is still supported for backwards compatibility.)
* Record an item I missed and bump the version number. [2.3 bugfix candidate.]Andrew M. Kuchling2003-10-231-1/+6
|
* Patch #813200: Quote executable path on Windows. Fixes #811082.Martin v. Löwis2003-10-231-2/+10
| | | | Backported to 2.3.
* - add "Why is Python installed on my computer?" as a documentation FAQFred Drake2003-10-231-3/+15
| | | | | since this gets asked at the docs at python.org address a lot - fix some minor style violations and inconsistencies
* Remove unneeded import.Guido van Rossum2003-10-221-1/+0
|
* Replace a reduce() with sum().Raymond Hettinger2003-10-221-3/+2
|
* Add docstringAndrew M. Kuchling2003-10-221-0/+4
|
* [Part of patch #648322] Delete the poll2() function, which uses a 'poll' ↵Andrew M. Kuchling2003-10-221-29/+4
| | | | extension module that was once part of Medusa. Contributed by Kjetil Jacobsen
* [Bug #809174] loads() and dumps() not documentedAndrew M. Kuchling2003-10-221-0/+24
|
* [Bug #758241] When you use asyncore with a non-default map, methodsAndrew M. Kuchling2003-10-221-2/+7
| | | | | | | | | | | of the dispatcher object break. e.g. if you close() the object, it tries to remove itself from the default map, not from the map the dispatcher was created with. The patch, from Stephane Ninin, records the map as an attribute of the dispatcher instance. 2.3 bugfix candidate.
* Avoid confusing name for the 3rd argument to str.replace().Fred Drake2003-10-222-6/+6
| | | | This closes SF bug #827260.
* Don't make promises about about the visibility of the induction variable.Raymond Hettinger2003-10-211-12/+0
|
* Removing bogus Py_DECREF() reported by Armin Rigo (SF bug 812353).Jeremy Hylton2003-10-211-1/+0
| | | | | Even if a new dict is generated for locals, it is stored in f->f_locals.
* Fix indentation.Jeremy Hylton2003-10-211-1/+1
|
* Apply patch 823328 -- support for rfc 2617 digestion authentication.Jeremy Hylton2003-10-211-44/+96
| | | | | | | | | | | | The patch was tweaked slightly. It's get a different mechanism for generating the cnonce which uses /dev/urandom when possible to generate less-easily-guessed random input. Also rearrange the imports so that they are alphabetical and duplicates are eliminated. Add a few XXX comments about things left undone and things that could be improved.
* - make this section formatFred Drake2003-10-211-100/+98
| | | | | | | - start cleaning up the markup for consistency - comment out the reference to a MS KnowledgeBase article that doesn't seem to be present at msdn.microsoft.com; hopefully someone can point out an alternate source for the relevant information
* add missing dependencyFred Drake2003-10-211-0/+1
|
* markup fixes; this would not formatFred Drake2003-10-211-2/+2
|
* ConfigParser.items() and SafeConfigParser.items() no longer return aFred Drake2003-10-211-3/+3
| | | | generator. See SF bug #818861.
* Make both items() methods return lists; one had changed to return anFred Drake2003-10-211-5/+4
| | | | | iterator where it probably shouldn't have. Closes SF bug #818861.
* Note the update to Expat 1.95.7.Fred Drake2003-10-211-0/+2
|
* Provide a bit more information to the compiler when building Expat.Fred Drake2003-10-211-11/+16
| | | | | This avoids having to modify the Expat sources in any way starting with Expat 1.95.7.
* Update to Expat 1.95.7; there are no changes to the Expat sources.Fred Drake2003-10-2113-1045/+604
|
* Add some more itemsAndrew M. Kuchling2003-10-211-3/+28
|
* Document list.sort() changesAndrew M. Kuchling2003-10-211-1/+37
|
* Show microseconds, milliseconds or seconds, whichever is most natural,Guido van Rossum2003-10-201-1/+9
| | | | rather than showing weird numbers like 8.4e+03 usec.
* Use 'predicate = bool' as the default predicate for ifilter[false].Guido van Rossum2003-10-201-4/+2
|
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-2043-47/+47
| | | | (From SF patch #810751)
* Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in orderBrett Cannon2003-10-192-3/+3
| | | | to handle situations like ``if (foo) Py_RETURN_NONE else ...``.
* Modified the Py_RETURN_* macros by having the statements surrounded by {} inBrett Cannon2003-10-193-3/+6
| | | | | order to prevent any unexpected surprises from someone using them in a conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``.
* Defined macros Py_RETURN_(TRUE|FALSE|NONE) as helper functions for returningBrett Cannon2003-10-192-0/+7
| | | | the specified value. All three Py_INCREF the singleton and then return it.
* Patch #823259: Update spec file:Martin v. Löwis2003-10-191-12/+25
| | | | | | | | | | | - skip building HTML documentation if it is not available. - Removal of patches, which can't be referenced from a build directly from the tar-file. - Using the RPM tmp directory macro for the buildroot location. - Ensuring that the clean directive doesn't accidentally delete the users root directory or another directory. - --enable-unicode=ucs4 in configure line. Backported to 2.3.
* Make CObjects mutable. Fixes #477441.Martin v. Löwis2003-10-194-5/+30
|
* Patch #821093: Fix various typos.Martin v. Löwis2003-10-198-14/+14
|
* Patch #792869: Clarify error message for parameters declared global,Martin v. Löwis2003-10-181-4/+3
| | | | rename LOCAL_GLOBAL to PARAM_GLOBAL.
* Removing dead code.Gustavo Niemeyer2003-10-181-11/+0
|
* Fixed \versionadded for the (?(id/name)yes|no) expression support.Gustavo Niemeyer2003-10-181-1/+1
|
* Patch #822994: Consolidate tests for self.closed.Martin v. Löwis2003-10-181-18/+14
|
* Patch #825679: Clarify semantics of .isfoo on empty strings.Martin v. Löwis2003-10-183-27/+31
| | | | Backported to 2.3.
* Patch #809535: Mention behaviour of seek on text files. Backported to 2.3.Martin v. Löwis2003-10-182-2/+9
|
* Implemented non-recursive SRE matching.Gustavo Niemeyer2003-10-179-472/+842
|
* Typo found by Lokasz Pankowski:Thomas Heller2003-10-161-1/+1
| | | | dir_created -> directory_created
* Fix typo found by Neal Norwitz.Raymond Hettinger2003-10-161-1/+1
|
* Let library modules use the new keyword arguments for list.sort().Raymond Hettinger2003-10-167-24/+18
|