- 21 Apr, 2005 3 commits
-
-
Walter Dörwald authored
-
Walter Dörwald authored
-
Walter Dörwald authored
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.
-
- 20 Apr, 2005 3 commits
-
-
Brett Cannon authored
left out.
-
Barry Warsaw authored
-
Tim Peters authored
-
- 19 Apr, 2005 3 commits
-
-
Barry Warsaw authored
now raise AttributeError instead of TypeError, for consistency with their pure-Python equivalent.
-
Brett Cannon authored
example of how to do it so that it is passed directly to ./configure .
-
Raymond Hettinger authored
-
- 18 Apr, 2005 1 commit
-
-
Michael W. Hudson authored
[ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
-
- 17 Apr, 2005 1 commit
-
-
Jack Jansen authored
-
- 15 Apr, 2005 3 commits
-
-
Brett Cannon authored
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).
-
Raymond Hettinger authored
-
Anthony Baxter authored
-
- 14 Apr, 2005 1 commit
-
-
Walter Dörwald authored
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.
-
- 13 Apr, 2005 2 commits
-
-
Raymond Hettinger authored
-
Fred Drake authored
(backporting to release24-maint branch)
-
- 12 Apr, 2005 1 commit
-
-
Hye-Shik Chang authored
can be processed. (Submitted by Jooncheol Park)
-
- 11 Apr, 2005 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Added a note that the initial file position is zero even if the object is freshly initialized.
-
- 10 Apr, 2005 3 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Call to unpack_int() should have no arguments * Misspelled BadRPCVerspion exception * Replace <> with !=
-
- 09 Apr, 2005 8 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Raymond Hettinger authored
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.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Brett Cannon authored
-
Brett Cannon authored
'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix.
-
Brett Cannon authored
-
- 08 Apr, 2005 7 commits
-
-
Raymond Hettinger authored
-
Tim Peters authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Tim Peters authored
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.
-
Tim Peters authored
-
Raymond Hettinger authored
-
- 07 Apr, 2005 2 commits
-
-
Michael W. Hudson authored
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.
-
Raymond Hettinger authored
-