summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Make a handy macro, Py_DEFAULT_RECURSION_LIMIT to allow to defineHye-Shik Chang2005-04-041-2/+5
| | | | | a default value of recursion limit from build systems. 1000 levels are still too high for some 64bit systems.
* Fix testcase for 64bit BSD systems: long is 8 bytes for those systemsHye-Shik Chang2005-04-041-2/+8
| | | | so there's no need to pad after off_t members. And a small typo fix.
* Added threadName to LogRecordVinay Sajip2005-03-311-0/+1
|
* Added threadName and now using re-entrant lockVinay Sajip2005-03-311-2/+5
|
* Since PyPI only accepts UTF-8 encoded data now, make sure that the data isWalter Dörwald2005-03-312-2/+5
| | | | properly encoded and include the encoding in the Content-Type header.
* NEWS entries for the bugs I fixed yesterday.Michael W. Hudson2005-03-311-0/+6
|
* I suppose a bug report or even a fix would be a better response, butMichael W. Hudson2005-03-301-1/+2
| | | | | commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances.
* Fix for rather inaccurately titled bugMichael W. Hudson2005-03-302-0/+16
| | | | | | | | | [ 1165306 ] Property access with decorator makes interpreter crash Don't allow the creation of unbound methods with NULL im_class, because attempting to call such crashes. Backport candidate.
* Minor wording fix.Michael W. Hudson2005-03-301-2/+3
|
* Fixes forMichael W. Hudson2005-03-301-26/+23
| | | | | | | | | | | | | | | | | [ 1166660 ] The readline module can cause python to segfault It seems to me that the code I'm rewriting here attempted to call any user-supplied hook functions using the thread state of the thread that called the hook-setting function, as opposed to that of the thread that is currently executing. This doesn't work, in general. Fix this by using the PyGILState API (It wouldn't be that hard to define a dummy version of said API when #ifndef WITH_THREAD, would it?). Also, check the conversion to integer of the return value of a hook function for errors (this problem was mentioned in the ipython bug report linked to in the above bug).
* Be a bit more accurate.Michael W. Hudson2005-03-301-1/+2
|
* I don't think it's particularly accurate to say Guido is maintainingMichael W. Hudson2005-03-301-3/+0
| | | | this module any more.
* add 2.4.1 to the release historyFred Drake2005-03-291-0/+1
|
* merge from branchAnthony Baxter2005-03-291-0/+4
|
* Update NEWS for patch 1171735 (Darwin 8 build fixes)Bob Ippolito2005-03-291-0/+4
|
* Move exception finalisation later in the shutdown process - thisAnthony Baxter2005-03-292-7/+13
| | | | fixes the crash seen in bug #1165761
* SF patch 1167316: doctest.py fails self-test if run directly.Tim Peters2005-03-281-5/+5
| | | | | | Patch by Ilya Sandler. Bugfix candidate.
* patch [1171735] - Darwin 8's headers disable functionality whenBob Ippolito2005-03-283-14/+61
| | | | | | | | | | | | POSIX is enabled. This prevents the toolbox glue, all of Carbon, and various other non-POSIX features from compiling. The POSIX symbols are still used by default, so turning off the #define doesn't hurt. Additionally, linker flags have changed for Darwin 8, and are different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3. Approved by Anthony
* Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #1170460.Martin v. Löwis2005-03-281-1/+3
| | | | Will backport to 2.4.
* Add 0 to _POSIX_SEMAPHORES. Will backport to 2.4.Martin v. Löwis2005-03-281-1/+3
|
* Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE,Greg Ward2005-03-281-0/+12
| | | | AFMT_S32_BE, AFMT_MPEG.
* SF #1169212: merge from 2.4 branch: fix silly typo in explaining AFMTGreg Ward2005-03-281-8/+9
| | | | | macros: U16 is unsigned and S16 is signed. Duh. Clarify surrounding text a bit and refer to OSS docs.
* Whitespace normalization.Tim Peters2005-03-2814-30/+28
|
* Two lines in this file had unbalanced parentheses -- couldn't possiblyTim Peters2005-03-281-2/+2
| | | | | | | work (SyntaxErrors at compile time). I slammed in what looked like the obvious fixes, but someone who understands this file should check my work.
* Fix whitespace.Raymond Hettinger2005-03-271-1/+1
|
* SF patch #1171417: bug fix for islice() in docsRaymond Hettinger2005-03-272-9/+12
|
* * Fix decimal's handling of foreign types. Now returns NotImplementedRaymond Hettinger2005-03-273-11/+94
| | | | | | | instead of raising a TypeError. Allows other types to successfully implement __radd__() style methods. * Remove future division import from test suite. * Remove test suite's shadowing of __builtin__.dir().
* SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior.Raymond Hettinger2005-03-272-5/+7
|
* Add missing socket importMartin v. Löwis2005-03-241-0/+1
|
* Function signatures for tp_descr_get and tp_descr_set.Thomas Heller2005-03-241-1/+15
|
* minor cleanupFred Drake2005-03-241-7/+6
|
* clean up the underscore mess for the typeset formats so that subscriptsFred Drake2005-03-244-28/+256
| | | | work in math displays (thanks to Bo Peng on the Doc-SIG)
* Make SRPMs pyversion 'any'.Martin v. Löwis2005-03-231-1/+1
|
* Make dist_files a triple, with the Python target version included,Martin v. Löwis2005-03-236-14/+38
| | | | so that bdist_wininst can specify 'any'.
* Fix typo.Walter Dörwald2005-03-231-1/+1
|
* Make the signature detached.Martin v. Löwis2005-03-221-1/+1
|
* Add tests for tuple, list and UserList that initialize the object fromWalter Dörwald2005-03-222-83/+97
| | | | | | various iterables. (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274)
* Fix registration of output file.Martin v. Löwis2005-03-221-1/+1
|
* Don't set the Python version for sdist uploads.Martin v. Löwis2005-03-221-0/+2
|
* Upload GPG signature.Martin v. Löwis2005-03-221-3/+16
|
* Fix typo.Walter Dörwald2005-03-221-1/+1
|
* fix Python style guide conformanceFred Drake2005-03-221-1/+1
|
* - fix markup bugsFred Drake2005-03-221-5/+14
| | | | | - more consistent markup - elaborate a couple of points
* Add list tests that ensure that remove() removes the first occurrence.Walter Dörwald2005-03-211-0/+20
| | | | (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274)
* Actually add the implementation of the command.Martin v. Löwis2005-03-211-0/+150
|
* Add the upload command. Make all dist commands register theirMartin v. Löwis2005-03-218-2/+56
| | | | outputs with the distribution object.
* Add comment about optional option for keeping indentation level from previousBrett Cannon2005-03-211-1/+2
| | | | line.
* correct ontosys url - closes 1167329Skip Montanaro2005-03-211-1/+1
|