- 18 Nis, 2002 25 kayıt (commit)
-
-
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
-
Anthony Baxter yazdı
Add news about deprecated complex ops. Original patches were: python/dist/src/Misc/NEWS:1.387
-
Anthony Baxter yazdı
SF bug #543387. Complex numbers implement divmod() and //, neither of which makes one lick of sense. Unfortunately this is documented, so I'm adding a deprecation warning now, so we can delete this silliness, oh, around 2005 or so. Bugfix candidate (At least for 2.2.2, I think.) Original patches were: python/dist/src/Objects/complexobject.c:2.58
-
Anthony Baxter yazdı
Document the optional argument to the .strip(), .rstrip(), .strip() string methods. Part of SF feature #444708. Original patches were: python/dist/src/Doc/lib/libstdtypes.tex:1.87
-
Anthony Baxter yazdı
more informative.
-
Anthony Baxter yazdı
Partially implement SF feature request 444708. Add optional arg to string methods strip(), lstrip(), rstrip(). The optional arg specifies characters to delete. Also for UserString. Still to do: - Misc/NEWS - LaTeX docs (I did the docstrings though) - Unicode methods, and Unicode support in the string methods. Original patches were: python/dist/src/Lib/test/string_tests.py:1.12
-
Anthony Baxter yazdı
Partially implement SF feature request 444708. Add optional arg to string methods strip(), lstrip(), rstrip(). The optional arg specifies characters to delete. Also for UserString. Still to do: - Misc/NEWS - LaTeX docs (I did the docstrings though) - Unicode methods, and Unicode support in the string methods. Original patches were: python/dist/src/Lib/UserString.py:1.11
-
Anthony Baxter yazdı
Partially implement SF feature request 444708. Add optional arg to string methods strip(), lstrip(), rstrip(). The optional arg specifies characters to delete. Also for UserString. Still to do: - Misc/NEWS - LaTeX docs (I did the docstrings though) - Unicode methods, and Unicode support in the string methods. Original patches were: python/dist/src/Objects/stringobject.c:2.156
-
Anthony Baxter yazdı
SF bug #543318 (Frank J. Tobin). In DatagramRequestHandler.setup(), the wfile initialization should be StringIO.StringIO(), not StringIO.StringIO(slf.packet). Bugfix candidate (all the way back to Python 1.5.2 :-). Original patches were: python/dist/src/Lib/SocketServer.py:1.31
-
Anthony Baxter yazdı
SF bug #541883 (Vincent Fiack). A stupid bug in object_set_class(): didn't check for value==NULL before checking its type. Bugfix candidate. Original patches were: python/dist/src/Objects/typeobject.c:2.142
-
Anthony Baxter yazdı
SF bug #541883 (Vincent Fiack). A stupid bug in object_set_class(): didn't check for value==NULL before checking its type. Bugfix candidate. Original patches were: python/dist/src/Lib/test/test_descr.py:1.129
-
Anthony Baxter yazdı
Provisional fix for writefile() [SF bug # 541730]. The problem was that an exception can occur in the text.get() call or in the write() call, when the text buffer contains non-ASCII characters. This causes the previous contents of the file to be lost. The provisional fix is to call str(self.text.get(...)) *before* opening the file, so that if the exception occurs, we never open the file. Two orthogonal better solutions have to wait for policy decisions: 1. We could try to encode the data as Latin-1 or as UTF-8; but that would require IDLE to grow a notion of file encoding which requires more thought. 2. We could make backups before overwriting a file. This requires more thought because it needs to be fast and cross-platform and configurable. Original patches were: python/dist/src/Tools/idle/IOBinding.py:1.6
-
Anthony Baxter yazdı
BDFL agreed with Tim: rehabilitate randint().
-
Anthony Baxter yazdı
BDFL agreed with Tim: rehabilitate randint().
-
Anthony Baxter yazdı
resetwarnings(): change the docstring to reflect what the code actually does. Note that the description in the Library Reference manual is already accurate. Bugfix candidate.
-
Anthony Baxter yazdı
test_mktime(): Removed. This wasn't really testing anything useful (or platform independent). Closes SF bug #460357. Bug fix candidate.
-
Guido van Rossum yazdı
killed in the branch.
-
Anthony Baxter yazdı
SF bug 544647. PyNumber_InPlaceMultiply insisted on calling sq_inplace_repeat if it existed, even if nb_inplace_multiply also existed and the arguments weren't right for sq_inplace_repeat. Change this to only use sq_inplace_repeat if nb_inplace_multiply isn't defined. Bugfix candidate.
-
Anthony Baxter yazdı
SF bug 544647. PyNumber_InPlaceMultiply insisted on calling sq_inplace_repeat if it existed, even if nb_inplace_multiply also existed and the arguments weren't right for sq_inplace_repeat. Change this to only use sq_inplace_repeat if nb_inplace_multiply isn't defined. Bugfix candidate.
-
Anthony Baxter yazdı
Use 2.1's .hexdigest() method
-
Anthony Baxter yazdı
(no idea why, or how) backport theller's patch Set the warn_dir option to 0 before running the install command. This suppresses bogus warnings about modules installed into a directory not in sys.path. Bugfix candidate.
-
Anthony Baxter yazdı
SF bug 543840: complex(string) accepts strings with \0 complex_subtype_from_string(): this stopped parsing at the first 0 byte, as if that were the end of the input string.
-
Anthony Baxter yazdı
Fix from SF bug #541980 (Jacques A. Vidrine). When os.stat() for a file raises OSError, turn it into IOError per documentation.
-
Guido van Rossum yazdı
SF bug 542984. Change type_get_doc (the get function for __doc__) to look in tp_dict more often, and if it finds a descriptor in tp_dict, to call it (with a NULL instance). This means you can add a __doc__ descriptor to a new-style class that returns instance docs when called on an instance, and class docs when called on a class -- or the same docs in either case, but lazily computed. I'll also check this into the 2.2 maintenance branch.
-
Guido van Rossum yazdı
SF bug 542984. Change type_get_doc (the get function for __doc__) to look in tp_dict more often, and if it finds a descriptor in tp_dict, to call it (with a NULL instance). This means you can add a __doc__ descriptor to a new-style class that returns instance docs when called on an instance, and class docs when called on a class -- or the same docs in either case, but lazily computed. I'll also check this into the 2.2 maintenance branch.
-
- 17 Nis, 2002 6 kayıt (commit)
-
-
Fred Drake yazdı
-
Tim Peters yazdı
option. It was the cause of at least one way UNWISE.EXE could vanish (install a python; uninstall it; install it again; reboot the machine; abracadabra the uinstaller is gone).
-
Fred Drake yazdı
dropped in the HTML formatted version. Reported by Mike Coleman.
-
Fred Drake yazdı
New" document.
-
Fred Drake yazdı
Add a -r option; if given with a release number, the "What's New" document is included with the relevant version number. Update the text of the README distributed with the PostScript files to reflect the changes in the user organizations in the Python community.
-
Fred Drake yazdı
index file for the top-level directory. This makes it easier to use an unpacked version of the documentation via file: URLs. This closes SF bug #541257.
-
- 16 Nis, 2002 1 kayıt (commit)
-
-
Fred Drake yazdı
Closes SF bug #518985.
-
- 15 Nis, 2002 2 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Fred Drake yazdı
This closes SF patch #496705.
-
- 13 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
Put a bound on the number of frameobjects that can live in the frameobject free_list. Also fixed on the trunk. I don't intend to backport to 2.1 (too much work -- lots of cyclic structures leak there).
-
- 10 Nis, 2002 3 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Move imports to top
-
Fred Drake yazdı
Update description of PyType_Check().
-
- 09 Nis, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Fred Drake yazdı
-