- 15 Nis, 2002 11 kayıt (commit)
-
-
Guido van Rossum yazdı
is the same in all three cases (mostly because // calls divmod :-).
-
Guido van Rossum yazdı
-
Andrew MacIntyre yazdı
-
Andrew M. Kuchling yazdı
-
Guido van Rossum yazdı
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.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
A stupid bug in object_set_class(): didn't check for value==NULL before checking its type. Bugfix candidate.
-
Guido van Rossum yazdı
#543674. Bugfix candidate.
-
Guido van Rossum yazdı
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 :-).
-
Guido van Rossum yazdı
When os.stat() for a file raises OSError, turn it into IOError per documentation. Bugfix candidate.
-
Guido van Rossum yazdı
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.
-
- 14 Nis, 2002 8 kayıt (commit)
-
-
Jack Jansen yazdı
-
Tim Peters yazdı
complex_subtype_from_string(): this stopped parsing at the first 0 byte, as if that were the end of the input string. Bugfix candidate.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 13 Nis, 2002 9 kayıt (commit)
-
-
Fred Drake yazdı
-
Neal Norwitz yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
Added code to call this when PYMALLOC_DEBUG is enabled, and envar PYTHONMALLOCSTATS is set, whenever a new arena is obtained and once late in the Python shutdown process.
-
Tim Peters yazdı
Put a bound on the number of frameobjects that can live in the frameobject free_list. Am also backporting to 2.2. I don't intend to backport to 2.1 (too much work -- lots of cyclic structures leak there, and the GC API).
-
Fred Drake yazdı
methods. Part of SF feature #444708.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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.
-
- 12 Nis, 2002 12 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Tim Peters yazdı
_PyObject_DebugMalloc: explicitly cast PyObject_Malloc's result to the target pointer type. _PyObject_DebugDumpStats: change decl of arena_alignment from unsigned int to unsigned long. This is for the 2.3 release only (it's new code).
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
(The real issue is whether modules can benefit from an alternate implementation strategy rather than using a dictionary. We should migrate away from direct dictionary manipulation to allow more room for Jeremy to flex the implementation with changes in globals lookup.)
-
Guido van Rossum yazdı
-
Fred Drake yazdı
Clean up the example of exporting a C-callable API from an extension module. Add a hyperlink to a related section in the Python/C API reference.
-
Fred Drake yazdı
PyModule_GetDict(), which is also more flexible: it does not assume that the "module" is a real module.
-