- 03 May, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
This patch adds Milan Zamazal's conversion script and modifies the mkinfo script to build the info doc files from the LaTeX sources. Currently, the mac, doc and inst TeX files are not handled. Explicitly checks for GNU Emacs 21.
-
cvs2svn yazdı
'release22-maint'.
-
- 02 May, 2002 8 kayıt (commit)
-
-
Fred Drake yazdı
(but not removed!) features of the xrange object. This test should be maintained for all of 2.2.x to avoid regression failures.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
See SF bug #551285.
-
Fred Drake yazdı
handlers were both set, but were not compatible. This change uses only the tp_getattro handler with a more "modern" approach. This fixes SF bug #551285.
-
Fred Drake yazdı
and xrange objects. This closes SF bug #550555.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
- 01 May, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
This closes SF bug #550409.
-
Fred Drake yazdı
-
- 30 Nis, 2002 7 kayıt (commit)
-
-
Fred Drake yazdı
-
Anthony Baxter yazdı
Typo: whcar_t should be wchar_t. Bugfix candidate? Don't know how this is handled in the docs. Original patch(es): python/dist/src/Doc/api/concrete.tex:1.15
-
Anthony Baxter yazdı
Repair widespread misuse of _PyString_Resize. Since it's clear people don't understand how this function works, also beefed up the docs. The most common usage error is of this form (often spread out across gotos): if (_PyString_Resize(&s, n) < 0) { Py_DECREF(s); s = NULL; goto outtahere; } The error is that if _PyString_Resize runs out of memory, it automatically decrefs the input string object s (which also deallocates it, since its refcount must be 1 upon entry), and sets s to NULL. So if the "if" branch ever triggers, it's an error to call Py_DECREF(s): s is already NULL! A correct way to write the above is the simpler (and intended) if (_PyString_Resize(&s, n) < 0) goto outtahere; Bugfix candidate. Original patch(es): python/dist/src/Python/bltinmodule.c:2.253
-
Anthony Baxter yazdı
Repair widespread misuse of _PyString_Resize. Since it's clear people don't understand how this function works, also beefed up the docs. The most common usage error is of this form (often spread out across gotos): if (_PyString_Resize(&s, n) < 0) { Py_DECREF(s); s = NULL; goto outtahere; } The error is that if _PyString_Resize runs out of memory, it automatically decrefs the input string object s (which also deallocates it, since its refcount must be 1 upon entry), and sets s to NULL. So if the "if" branch ever triggers, it's an error to call Py_DECREF(s): s is already NULL! A correct way to write the above is the simpler (and intended) if (_PyString_Resize(&s, n) < 0) goto outtahere; Bugfix candidate. Original patch(es): python/dist/src/Objects/fileobject.c:2.161 python/dist/src/Objects/stringobject.c:2.161 python/dist/src/Objects/unicodeobject.c:2.147
-
Anthony Baxter yazdı
(some tweaking for different _PyObject_GC_Malloc() call in 2.2. checked, still returns the same thing on failure...) _PyObject_GC_New: Could call PyObject_INIT with a NULL 1st argument. _PyObject_GC_NewVar: Could call PyObject_INIT_VAR likewise. Bugfix candidate. Original patch(es): python/dist/src/Modules/gcmodule.c:2.40
-
Anthony Baxter yazdı
Repair widespread misuse of _PyString_Resize. Since it's clear people don't understand how this function works, also beefed up the docs. The most common usage error is of this form (often spread out across gotos): if (_PyString_Resize(&s, n) < 0) { Py_DECREF(s); s = NULL; goto outtahere; } The error is that if _PyString_Resize runs out of memory, it automatically decrefs the input string object s (which also deallocates it, since its refcount must be 1 upon entry), and sets s to NULL. So if the "if" branch ever triggers, it's an error to call Py_DECREF(s): s is already NULL! A correct way to write the above is the simpler (and intended) if (_PyString_Resize(&s, n) < 0) goto outtahere; Bugfix candidate. Original patch(es): python/dist/src/Doc/api/concrete.tex:1.13
-
Fred Drake yazdı
(reported by François Pinard). Added some missing "_" characters in the same cluster of productions. Added missing floor division operator in m_expr production, and mention floor division in the relevant portion of the text.
-
- 26 Nis, 2002 3 kayıt (commit)
-
-
Fred Drake yazdı
getpgrp(), and setpgid(). This closes SF bug #547939.
-
Fred Drake yazdı
This closes SF bug #547953.
-
Anthony Baxter yazdı
Make sure that tp_free frees the int the same way as tp_dealloc would. This fixes the problem that Barry reported on python-dev: >>> 23000 .__class__ = bool crashes in the deallocator. This was because int inherited tp_free from object, which uses the default allocator. 2.2. Bugfix candidate. (trivial change in backport: "freefunc" -> "destructor") Original patch(es): python/dist/src/Objects/intobject.c:2.82
-
- 24 Nis, 2002 2 kayıt (commit)
-
-
Jack Jansen yazdı
Second part of fix for #493826: regenerated suite modules so errn exists but == 0 doesn't signal an error. This also picked up a few other changes, but they should be harmless.
-
cvs2svn yazdı
'release22-maint'.
-
- 23 Nis, 2002 3 kayıt (commit)
-
-
Fred Drake yazdı
variables. This closes SF bug #543148.
-
Anthony Baxter yazdı
divmod &c. Should probably be cleaned up properly so that the tests don't call that.
-
Anthony Baxter yazdı
don't fail if the audio device is busy, just skip. SF patch 545486
-
- 22 Nis, 2002 4 kayıt (commit)
-
-
Walter Dörwald yazdı
Apply patch diff.txt from SF feature request http://www.python.org/sf/444708 This adds the optional argument for str.strip to unicode.strip too and makes it possible to call str.strip with a unicode argument and unicode.strip with a str argument.
-
Walter Dörwald yazdı
Misc/NEWS 1.387->1.388 Lib/test/string_tests.py 1.10->1.11, 1.12->1.14, Lib/test/test_unicode.py 1.50->1.51, 1.53->1.54, 1.55->1.56 Lib/test/test_string.py 1.15->1.16 Lib/string.py 1.61->1.63 Lib/test/test_userstring.py 1.5->1.6, 1.11, 1.12 Objects/stringobject.c 2.156->2.159 Objects/unicodeobject.c 2.137->2.139 Doc/lib/libstdtypes.tec 1.87->1.88 Add a method zfill to str, unicode and UserString and change Lib/string.py accordingly (see SF patch http://www.python.org/sf/536241) This also adds Guido's fix to test_userstring.py and the subinstance checks in test_string.py and test_unicode.py.
-
Anthony Baxter yazdı
Fix bug 544473 - "Queue module can deadlock". Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate. (and branchpatch can now handle adding files :)
-
cvs2svn yazdı
'release22-maint'.
-
- 20 Nis, 2002 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Jeremy Hylton yazdı
-
- 19 Nis, 2002 5 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Martin v. Löwis yazdı
-
Jeremy Hylton yazdı
Fix SF #544995 (zlib crash on second flush call) Bug fix by mhammond. Bug fix candidate for 2.2, not present in 2.1.
-
Fred Drake yazdı
version number, and explain what it is at the top of the chapter. This closes SF bug #225003.
-
Anthony Baxter yazdı
Fix bug 544473 - "Queue module can deadlock". Use try/finally to ensure all Queue locks remain stable. Includes test case. Bugfix candidate. Original patch(es): python/dist/src/Lib/Queue.py:1.15
-
- 18 Nis, 2002 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Anthony Baxter yazdı
Deprecate % as well. The message for deprecation of //, % and divmod is the same in all three cases (mostly because // calls divmod :-). Original patches were: python/dist/src/Objects/complexobject.c:2.59
-