summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. MeantBrett Cannon2005-04-245-7/+15
| | | | | | | to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter.
* Update test to the current readline() behaviour.Walter Dörwald2005-04-211-0/+2
|
* Fix comment.Walter Dörwald2005-04-211-2/+2
|
* If the data read from the bytestream in readline() ends in a '\r' read one moreWalter Dörwald2005-04-212-12/+10
| | | | | | | | | | | byte, even if the user has passed a size parameter. This extra byte shouldn't cause a buffer overflow in the tokenizer. The original plan was to return a line ending in '\r', which might be recognizable as a complete line and skip any '\n' that was read afterwards. Unfortunately this didn't work, as the tokenizer only recognizes '\n' as line ends, which in turn lead to joined lines and SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It can only happen with a temporarily exhausted bytestream now anyway.) Fixes parts of SF bugs #1163244 and #1175396.
* Clarify usage of OPT by noting that if it is set the default values will beBrett Cannon2005-04-201-1/+2
| | | | left out.
* Fix tests dependent on the exception raised by non-settable descriptors.Barry Warsaw2005-04-203-5/+6
|
* Whitespace normalization.Tim Peters2005-04-203-3/+3
|
* As per discussion on python-dev, descriptors defined in C with a NULL setterBarry Warsaw2005-04-192-2/+7
| | | | | now raise AttributeError instead of TypeError, for consistency with their pure-Python equivalent.
* Add a line explaining what env var to use to set the compiler flags and anBrett Cannon2005-04-191-0/+3
| | | | example of how to do it so that it is passed directly to ./configure .
* Correct swapped descriptions of empty string splits.Raymond Hettinger2005-04-191-2/+2
|
* Fix:Michael W. Hudson2005-04-182-1/+7
| | | | | | | | [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
* Updated to work with current Python docs setup, and added a minimal README.Jack Jansen2005-04-172-13/+54
|
* Fix building of spwd; was incorrectly checking for the needed HAVE_* values toBrett Cannon2005-04-151-4/+5
| | | | | | | | properly build the module. Also moved up the creation of config_h_vars (from distutils.sysconfig.parse_config_h()) higher on up in detect_modules() so that it can be used sooner).
* SF bug #1183742: PyDict_Copy() can return non-NULL value on errorRaymond Hettinger2005-04-151-1/+1
|
* typo fix, thanks Jeremy SandersAnthony Baxter2005-04-151-1/+1
|
* SF patch #1180062 by George Yoshida:Walter Dörwald2005-04-142-3/+3
| | | | | Doc/lib/libfunctional.tex: "in an new object" should read "in a new object" Doc/lib/libsubprocess.tex: argument name is wrong; comma is missing.
* Update permissions for Finn Bock.Raymond Hettinger2005-04-131-0/+2
|
* get_method() returns a method name, not take it as an argumentFred Drake2005-04-131-2/+2
| | | | (backporting to release24-maint branch)
* Fix HTTP method handler example so that method names in uppercasesHye-Shik Chang2005-04-121-1/+1
| | | | can be processed. (Submitted by Jooncheol Park)
* Update permissions for Eric Price.Raymond Hettinger2005-04-111-0/+2
|
* SF bug #1180392: StringIO's docs should mention overwriting of initial valueRaymond Hettinger2005-04-111-0/+1
| | | | | * Added a note that the initial file position is zero even if the object is freshly initialized.
* SF bug #1179957: Missing def'n of equality for set elementsRaymond Hettinger2005-04-102-1/+7
|
* Update status for Irme de Jong.Raymond Hettinger2005-04-101-0/+3
|
* SF patch 1179503: Fix typos in rpc.pyRaymond Hettinger2005-04-101-16/+18
| | | | | | * Call to unpack_int() should have no arguments * Misspelled BadRPCVerspion exception * Replace <> with !=
* Fill out one sectionAndrew M. Kuchling2005-04-091-3/+20
|
* Add more textAndrew M. Kuchling2005-04-091-7/+29
|
* * Fix error in definition of Im() which returned self instead of 0Raymond Hettinger2005-04-091-19/+14
| | | | | | | | | | | | | | | | for non-complex arguments. * Replace type() comparisons with isinstance() checks. * Replace apply() calls with equivalent syntactic form. * Simplify __hash__ definition to hash the underlying tuple. * Use math.hypot() for more robust computation of __abs__(). * Use sorted() instead of the multi-step keys/sort/iter. * Update comment on the cmath module.
* Patch #1177597: Fix various bugs in Demo/classes/Complex.py.Martin v. Löwis2005-04-091-0/+1
|
* Patch #1177597: Correct various bugs, add comments.Martin v. Löwis2005-04-091-9/+36
|
* Add grammar change for allowing ``class B(): pass`` syntax.Brett Cannon2005-04-091-1/+1
|
* Flush out support for ``class B(): pass`` syntax by adding support to theBrett Cannon2005-04-095-8/+27
| | | | | | 'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix.
* Add test for ``class B1(): pass``.Brett Cannon2005-04-091-1/+2
|
* Record removal of permissions for Charles Waldman.Raymond Hettinger2005-04-081-0/+6
|
* Add ESR info.Tim Peters2005-04-081-0/+5
|
* Record a drop request by Ken Manheimer.Raymond Hettinger2005-04-081-1/+1
|
* Record a drop request by Moshe Zadka.Raymond Hettinger2005-04-081-0/+2
|
* test_default_encoding_issues(): Fully restore sys.setdefaultencoding.Tim Peters2005-04-081-0/+7
| | | | | | | | | | test_site often failed under "regrtest.py -r", because this xmlrpc test left sys with a setdefaultencoding attribute, but loading site.py removes that attribute and test_site.py verifies the attribute is gone. Changed this test to get rid of sys.setdefaultencoding if it didn't exist when this test started. Don't know whether this is a bugfix (backport) candidate.
* Info about Eric Price.Tim Peters2005-04-081-1/+6
|
* Update permissions log for Reedy, Holden, Haring, and Cole.Raymond Hettinger2005-04-081-0/+9
|
* In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,Michael W. Hudson2005-04-073-0/+11
| | | | | | | | | because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS actually expanded to nothing under a no-threads build, so if you somehow NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would stay NULLed when you return to Python. Argh! Backport candidate.
* SF bug #1178269 Clarify when isMappingType/isSequenceType is True.Raymond Hettinger2005-04-071-3/+5
|
* SF bug #1178255: 256 should read 255 in operator module docsRaymond Hettinger2005-04-071-1/+1
|
* Make that a C, not a C++, comment.Michael W. Hudson2005-04-061-1/+1
|
* Add a comment explaining the import of longintrepr.h.Michael W. Hudson2005-04-061-1/+1
|
* By popular demand from Linux-heads(!), renamed developers to developers.txt.Tim Peters2005-04-061-0/+0
|
* Begin a log of developer permissions.Raymond Hettinger2005-04-051-0/+30
|
* SF bug #1168983: ftplib.py string index out of rangeRaymond Hettinger2005-04-051-7/+16
| | | | | | | | * resp[:1] in '123' # after Py2.2, this allowed blank responses to pass. * replace <> with != * provide a usage message for empty command line calls Backport candidate.
* Fix typos.Walter Dörwald2005-04-041-2/+2
|
* Fix for SF bug #1175396: readline() will now read one more character, ifWalter Dörwald2005-04-042-9/+91
| | | | | | | | | | | | the last character read is "\r" (and size is None, i.e. we're allowed to call read() multiple times), so that we can return the correct line ending (this additional character might be a "\n"). If the stream is temporarily exhausted, we might return the wrong line ending (if the last character read is "\r" and the next one (after the byte stream provides more data) is "\n", but at least the atcr member ensure that we get the correct number of lines (i.e. this "\n" will not be treated as another line ending.)
* Fill docstrings for module and functions, extracted from the texHye-Shik Chang2005-04-041-13/+108
| | | | documentation. (Patch #1173245, Contributed by Jeremy Yallop)