- 29 Ara, 2003 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
-
- 28 Ara, 2003 1 kayıt (commit)
-
-
Andrew MacIntyre yazdı
-
- 26 Ara, 2003 7 kayıt (commit)
-
-
Jeremy Hylton yazdı
The special-case code that was removed could return a value indicating success but leave an exception set. test_fileinput failed in a debug build as a result.
-
Jeremy Hylton yazdı
-
Andrew MacIntyre yazdı
semantics to include subtypes. Most concrete object APIs then had a Py<type>_CheckExact() macro added to test for an object's type not including subtypes. The PyDict_CheckExact() macro wasn't created at that time, so I've added it for API completeness/symmetry - even though nobody has complained about its absence in the time since 2.2 was released. Not a backport candidate.
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
semantics to include subtypes. Most concrete object APIs then had a Py<type>_CheckExact() macro added to test for an object's type not including subtypes. The PyDict_CheckExact() macro wasn't created at that time, so I've added it for API completeness/symmetry - even though nobody has complained about its absence in the time since 2.2 was released. Not a backport candidate.
-
Andrew MacIntyre yazdı
with most other concrete object checks, but the docs weren't brought into line. PyList_CheckExact() was added at 2.2 but never documented. backport candidate.
-
- 25 Ara, 2003 3 kayıt (commit)
-
-
Andrew MacIntyre yazdı
with most other concrete object checks, but the docs weren't brought into line. PyList_CheckExact() was added at 2.2 but never documented. backport candidate.
-
Andrew MacIntyre yazdı
which can be reviewed via http://coding.derkeiler.com/Archive/Python/comp.lang.python/2003-12/1011.html Duncan Booth investigated, and discovered that an "optimisation" was in fact a pessimisation for small numbers of elements in a source list, compared to not having the optimisation, although with large numbers of elements in the source list the optimisation was quite beneficial. He posted his change to comp.lang.python (but not to SF). Further research has confirmed his assessment that the optimisation only becomes a net win when the source list has more than 100 elements. I also found that the optimisation could apply to tuples as well, but the gains only arrive with source tuples larger than about 320 elements and are nowhere near as significant as the gains with lists, (~95% gain @ 10000 elements for lists, ~20% gain @ 10000 elements for tuples) so I haven't proceeded with this. The code as it was applied the optimisation to list subclasses as well, and this also appears to be a net loss for all reasonable sized sources (~80-100% for up to 100 elements, ~20% for more than 500 elements; I tested up to 10000 elements). Duncan also suggested special casing empty lists, which I've extended to all empty sequences. On the basis that list_fill() is only ever called with a list for the result argument, testing for the source being the destination has now happens before testing source types.
-
Andrew MacIntyre yazdı
-
- 23 Ara, 2003 7 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
directory name with a single dot fails. The patch skips creating directories named os.curdir. (Patch by Bram Moolenaar) 2.3 bugfix candidate.
-
Hye-Shik Chang yazdı
using specialized splitter for 1 char sep.
-
- 22 Ara, 2003 4 kayıt (commit)
-
-
Tim Peters yazdı
about "characters", we assume something about C's char type (which is an integral type).
-
Skip Montanaro yazdı
bit by checking the value of UCHAR_MAX in Include/Python.h. There was a check in Objects/stringobject.c. Remove that. (Note that we don't define UCHAR_MAX if it's not defined as the old test did.)
-
Hye-Shik Chang yazdı
Previous revision was a fix for a problem by not 2.204 but 2.205.
-
Hye-Shik Chang yazdı
(Pointy hat goes to perky)
-
- 21 Ara, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
dictionary as the original. This parallels MvL's change to Lib/os.py 1.56. Backport candidate.
-
- 20 Ara, 2003 2 kayıt (commit)
-
-
Thomas Heller yazdı
-
Raymond Hettinger yazdı
-
- 19 Ara, 2003 3 kayıt (commit)
-
-
Walter Dörwald yazdı
Backport candidate.
-
Hye-Shik Chang yazdı
-
Hye-Shik Chang yazdı
test__locale: add typical POSIX-style full locale names. test_locale: use en_US.US-ASCII on FreeBSD.
-
- 18 Ara, 2003 8 kayıt (commit)
-
-
Skip Montanaro yazdı
* in py-checker-run, fall back to read-string if read-shell-command (XEmacs-specific) is not available. * highlight variables would mask builtins as if they were keywords.
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
- re-wrap resulting long lines
-
Fred Drake yazdı
-
Fred Drake yazdı
-
- 17 Ara, 2003 3 kayıt (commit)
-
-
Raymond Hettinger yazdı
sorted() becomes a regular function instead of a classmethod.
-
Raymond Hettinger yazdı
sorted() becomes a regular function instead of a classmethod.
-
Jeremy Hylton yazdı
-