Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implemented non-recursive SRE matching. | Gustavo Niemeyer | 2003-10-17 | 9 | -472/+842 |
| | |||||
* | Typo found by Lokasz Pankowski: | Thomas Heller | 2003-10-16 | 1 | -1/+1 |
| | | | | dir_created -> directory_created | ||||
* | Fix typo found by Neal Norwitz. | Raymond Hettinger | 2003-10-16 | 1 | -1/+1 |
| | |||||
* | Let library modules use the new keyword arguments for list.sort(). | Raymond Hettinger | 2003-10-16 | 7 | -24/+18 |
| | |||||
* | * list.sort() now supports three keyword arguments: cmp, key, and reverse. | Raymond Hettinger | 2003-10-16 | 4 | -86/+366 |
| | | | | | | | key provides C support for the decorate-sort-undecorate pattern. reverse provide a stable sort of the list with the comparisions reversed. * Amended the docs to guarantee sort stability. | ||||
* | Added Bjorn Pettersen for initial conversion of Lib/platform.py's docstring ↵ | Brett Cannon | 2003-10-14 | 1 | -0/+1 |
| | | | | to LaTeX. | ||||
* | Initial checkin of docs for Lib/platform.py . | Brett Cannon | 2003-10-14 | 2 | -0/+224 |
| | | | | | | Closes patch #785752 and bug #726911. Should be backported after correctness and such has been verified by Fred. | ||||
* | Open results files, which contain binary pickles, in binary mode. | Jeremy Hylton | 2003-10-14 | 1 | -4/+2 |
| | | | | | Remove fallback code that tries to read marshal data from a results file, since this module never writes marshal data. | ||||
* | SF bug #821701: reduce docs neglect a very important piece of information. | Raymond Hettinger | 2003-10-13 | 1 | -1/+3 |
| | | | | Add a note showing which argument is the accumulator. | ||||
* | SF #822262, Typo in Doc/api/intro.tex | Neal Norwitz | 2003-10-13 | 1 | -1/+1 |
| | |||||
* | Add test__locale to expected skip list for Darwin. | Brett Cannon | 2003-10-13 | 1 | -0/+1 |
| | |||||
* | fix for bug [819860]: make sure the buffer gets emptied, even if WEInsert() ↵ | Just van Rossum | 2003-10-12 | 1 | -4/+8 |
| | | | | fails | ||||
* | Simplify and speedup uses of Py_BuildValue(): | Raymond Hettinger | 2003-10-12 | 25 | -75/+71 |
| | | | | | | * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a) | ||||
* | Extended tuple's C API to include a new function, PyTuple_Pack() that is | Raymond Hettinger | 2003-10-12 | 4 | -1/+37 |
| | | | | | useful for rapidly building argument tuples without having to invoke the more sophisticated machinery of Py_BuildValue(). | ||||
* | Patch #810914: Return absolute path for mkstemp. Fixes #810408. | Martin v. Löwis | 2003-10-12 | 3 | -2/+10 |
| | | | | | This should not be backported to 2.3, as it might break backwards compatibility. | ||||
* | Minor fixup. "Random" was listed twice in __all__. | Raymond Hettinger | 2003-10-12 | 1 | -2/+1 |
| | |||||
* | Add mention of urlparse becoming RFC 2396 compliant. | Brett Cannon | 2003-10-12 | 1 | -0/+2 |
| | |||||
* | (revision purely to add comment) | Brett Cannon | 2003-10-12 | 0 | -0/+0 |
| | | | | | Make urlparse RFC 2396 compliant. Closes bug #450225 (thanks Michael Stone). | ||||
* | (just for comment to fix previous commit comment) | Brett Cannon | 2003-10-12 | 0 | -0/+0 |
| | | | | | Add Michael Stone for helping with bug #450225 (making urlparse RFC 2396 compliant). | ||||
* | See rev. 1.250 for log message | Brett Cannon | 2003-10-12 | 1 | -0/+1 |
| | |||||
* | See rev. 1.42 for log message | Brett Cannon | 2003-10-12 | 1 | -6/+2 |
| | |||||
* | see rev. 1.13 for log message | Brett Cannon | 2003-10-12 | 1 | -5/+2 |
| | |||||
* | SF patch #819955: Erroneous \seemodule in tarfile docs | Raymond Hettinger | 2003-10-12 | 1 | -1/+1 |
| | | | | (Contributed by Johannes Gijsbers.) | ||||
* | Use the simpler and faster PyArg_UnpackTuple() instead of | Raymond Hettinger | 2003-10-11 | 1 | -24/+24 |
| | | | | PyArg_ParseTuple() where possible. | ||||
* | SF bug #820397: __nonzero__() returns 1/0 | Raymond Hettinger | 2003-10-11 | 1 | -1/+15 |
| | | | | | | Altered to return a PyBool instead of a PyInt. Backport candidate. | ||||
* | add some information about using graphics with the Python document | Fred Drake | 2003-10-11 | 1 | -0/+93 |
| | | | | classes | ||||
* | Ouch. Remove debug code containing obscenities. :-) | Guido van Rossum | 2003-10-10 | 1 | -3/+0 |
| | |||||
* | The fullmodname() function chopped off the first character if the | Guido van Rossum | 2003-10-10 | 1 | -1/+8 |
| | | | | | module existed in the current directory. Fix this. Backport candidate (I presume). | ||||
* | To build on windows, the manual editing of the python_nt.rc file to | Thomas Heller | 2003-10-10 | 5 | -34/+162 |
| | | | | | | | | | change the version number is no longer required. Instead, a make_versioninfo.exe is compiled, which spits out an include file for python_nt.rc. Will backport to 2.3 | ||||
* | TCPServer: Fixed typo in class docstring. | Barry Warsaw | 2003-10-09 | 1 | -1/+1 |
| | |||||
* | TCPServer: Fixed typo in class docstring. | Barry Warsaw | 2003-10-09 | 1 | -1/+1 |
| | | | | Backport candidate. | ||||
* | Return a bool rather than an int from proxy_has_key(). | Guido van Rossum | 2003-10-09 | 1 | -1/+4 |
| | |||||
* | Fix leak introduced by previous typeobject.c checkin. | Guido van Rossum | 2003-10-09 | 1 | -4/+3 |
| | |||||
* | SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net): | Guido van Rossum | 2003-10-08 | 3 | -2/+8 |
| | | | | make obj.__contains__() returns True/False instead of 1/0. | ||||
* | Fix a typo, discovered by Joonas Paalasmaa. | Thomas Heller | 2003-10-08 | 1 | -2/+2 |
| | | | | Backported to 2.3 | ||||
* | Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3. | Martin v. Löwis | 2003-10-06 | 1 | -1/+4 |
| | |||||
* | SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__ | Jeremy Hylton | 2003-10-06 | 1 | -1/+5 |
| | | | | Not sure if this fix is great, but it's probably a small improvement. | ||||
* | Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr. | Jeremy Hylton | 2003-10-06 | 2 | -1/+8 |
| | |||||
* | Adopt Christian Stork's suggested argument order for the logic quantifiers. | Raymond Hettinger | 2003-10-05 | 2 | -15/+15 |
| | | | | Adopt Jeremy Fincher's suggested function name, "any", instead of "some". | ||||
* | SF bug #812202: randint is always even | Raymond Hettinger | 2003-10-05 | 5 | -10/+196 |
| | | | | | | | * Added C coded getrandbits(k) method that runs in linear time. * Call the new method from randrange() for ranges >= 2**53. * Adds a warning for generators not defining getrandbits() whenever they have a call to randrange() with too large of a population. | ||||
* | two bugfixes | Anthony Baxter | 2003-10-04 | 1 | -0/+4 |
| | |||||
* | made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the | Anthony Baxter | 2003-10-04 | 1 | -4/+7 |
| | | | | SGI compiler and GCC seem to need this. | ||||
* | FreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don't | Anthony Baxter | 2003-10-04 | 2 | -1/+13 |
| | | | | | define _XOPEN_EXTENDED_SOURCE, the bug isn't triggered. Testing on FreeBSD shows that nothing is broken by this change. | ||||
* | GNUTranslations._parse(): Initialize local variable k so that if the | Barry Warsaw | 2003-10-04 | 1 | -1/+1 |
| | | | | | | | first line of a header section isn't an RFC-ish header, it's just ignored instead of throwing an UnboundLocalError. Backport candidate. | ||||
* | A helper to dump info about the current frame, | Jeremy Hylton | 2003-10-03 | 1 | -0/+9 |
| | | | | assuming it is the variable f. | ||||
* | Check for TclError when reading variables. Fixes #807314. | Martin v. Löwis | 2003-10-03 | 1 | -5/+9 |
| | | | | Backported to 2.3. | ||||
* | - don't re-write a SourceForge authenticated CVS root into the | Fred Drake | 2003-10-03 | 1 | -4/+7 |
| | | | | | anonymous flavor unless the user asks for it on the command line - decompose SourceForge authenticated CVS roots correctly | ||||
* | forgot the NEWS blurb about the change to csv.DictReader | Skip Montanaro | 2003-10-03 | 1 | -0/+4 |
| | |||||
* | tweak the docstring to not be so focused on 1.6. | Skip Montanaro | 2003-10-03 | 1 | -5/+5 |
| | |||||
* | Make the fieldnames argument optional in the DictReader. If self.fieldnames | Skip Montanaro | 2003-10-03 | 3 | -6/+30 |
| | | | | | | | | | is None, the next row read is used as the fieldnames. In the common case, this means the programmer doesn't need to know the fieldnames ahead of time. The first row of the file will be used. In the uncommon case, this means the programmer can set the reader's fieldnames attribute to None at any time and have the next row read as the next set of fieldnames, so a csv file can contain several "sections", each with different fieldnames. |