- 04 Ara, 2001 4 kayıt (commit)
-
-
Tim Peters yazdı
own interfered with including Python.h. Remove Python's assert.h.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
The error for assignment to __debug__ used ste->ste_opt_lineno instead of n->n_lineno. The latter was at best incorrect; often the slot was uninitialized. Two fixes here: Use the correct lineno for the error. Initialize ste_opt_lineno in PySymtable_New(); while there are no current cases where it is referenced unless it has already been assigned to, there is no harm in initializing it.
-
Tim Peters yazdı
-
- 03 Ara, 2001 36 kayıt (commit)
-
-
Fred Drake yazdı
from Skip Montanaro. There is one weirdness in the final index for HTML, but that is low priority.
-
Fred Drake yazdı
Andrew Koenig.
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Reflow paragraph
-
Tim Peters yazdı
sprintf -> PyOS_snprintf. This is the last of this stuff I intend to do.
-
Guido van Rossum yazdı
and assign_slice() weren't properly DECREF'ing the temporary slice object they created. (Shame on me. :-)
-
Guido van Rossum yazdı
Armin Rigo (SF bug #488477). Added a testcase to test_unpack_iter() in test_iter.py.
-
Just van Rossum yazdı
-
Barry Warsaw yazdı
#486375, but not the rest of it, since that changes the documented semantics of encode().
-
Guido van Rossum yazdı
Py_DECREF(arg) after the PyErr_NoMemory() call. (Armin Rigo, SF bug #488477.)
-
Fred Drake yazdı
sent to python-docs.
-
Barry Warsaw yazdı
pass. Closes SF # 485080
-
Fred Drake yazdı
python-docs.
-
Fred Drake yazdı
can vary by platform and installation. Based on suggestion to python-docs.
-
Fred Drake yazdı
mutable! We do not want to shock anyone. This closes SF bug #483805. Re-factor so that the description of the "access" keyword parameter is not repeated in both the descriptions of mmap(). Also, only make sure the first description of mmap() appears in the index. The the index link is followed, the first is now used to locate the page on the screen; chances are really good both will be visible. This avoids the problem that the index entry for the second is selected and the first version is not visible, making the reader consider that mmap() is not available on Windows.
-
Just van Rossum yazdı
instead. This fixes bug #488420.
-
Fred Drake yazdı
is not handled properly. This closes SF bug #485153.
-
Fred Drake yazdı
of references that now state that these attributes have been removed, directing the reader to the dir() function. This closes SF bug #456420.
-
Fred Drake yazdı
In goahead(), use a bound version of rawdata.startswith() since we use the same method all the time and never change the value of rawdata. This can save a lot of bound method creation.
-
Fred Drake yazdı
-
Fred Drake yazdı
This closes SF bug #488387.
-
Guido van Rossum yazdı
Rather than tweaking the inheritance of type object slots (which turns out to be too messy to try), this fix adds a __hash__ to the list and dict types (the only mutable types I'm aware of) that explicitly raises an error. This has the advantage that list.__hash__([]) also raises an error (previously, this would invoke object.__hash__([]), returning the argument's address); ditto for dict.__hash__. The disadvantage for this fix is that 3rd party mutable types aren't automatically fixed. This should be added to the rules for creating subclassable extension types: if you don't want your object to be hashable, add a tp_hash function that raises an exception. Also, it's possible that I've forgotten about other mutable types for which this should be done.
-
Guido van Rossum yazdı
1.24 wouldn't have occurred in the first place. Remove a debug print command accidentally inserted by Martin in 1.23.
-
Guido van Rossum yazdı
-
Jack Jansen yazdı
all in MacPython. (why did noone ever notice this?)
-
Guido van Rossum yazdı
SF patch #480716 by Greg Chapman fixes the problem that super's __get__ method always returns an instance of super, even when the instance whose __get__ method is called is an instance of a subclass of super. Other issues fixed: - super(C, C()).__class__ would return the __class__ attribute of C() rather than the __class__ attribute of the super object. This is confusing. To fix this, I decided to change the semantics of super so that it only applies to code attributes, not to data attributes. After all, overriding data attributes is not supported anyway. - While super(C, x) carefully checked that x is an instance of C, super(C).__get__(x) made no such check, allowing for a loophole. This is now fixed.
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
This closes SF bug #487308.
-
Tim Peters yazdı
instead of PyOS_snprintf; add some relevant comments and asserts.
-
Guido van Rossum yazdı
slot_tp_descr_set(): When deleting an attribute described by a descriptor implemented in Python, the descriptor's __del__ method is called by the slot_tp_descr_set dispatch function. This is bogus -- __del__ already has a different meaning. Renaming this use of __del__ is renamed to __delete__.
-
Tim Peters yazdı
use wrappers on all platforms, to make this as consistent as possible x- platform (in particular, make sure there's at least one \0 byte in the output buffer). Also document more of the truth about what these do. getargs.c, seterror(): Three computations of remaining buffer size were backwards, thus telling PyOS_snprintf the buffer is larger than it actually is. This matters a lot now that PyOS_snprintf ensures there's a trailing \0 byte (because it didn't get the truth about the buffer size, it was storing \0 beyond the true end of the buffer). sysmodule.c, mywrite(): Simplify, now that PyOS_vsnprintf guarantees to produce a \0 byte.
-
Steven M. Gava yazdı
on keybinding configuration
-
Jack Jansen yazdı
A system() lookalike that sends commands to ToolServer, by Daniel Brotsky. The semantics aren't enough like system() to add this to the main Lib folder, but it is pretty useful nonetheless for selected people.
-
Guido van Rossum yazdı
slot_tp_descr_set(): When deleting an attribute described by a descriptor implemented in Python, the descriptor's __del__ method is called by the slot_tp_descr_set dispatch function. This is bogus -- __del__ already has a different meaning. Renaming this use of __del__ is renamed to __delete__.
-