- 07 Ock, 2001 4 kayıt (commit)
-
-
Tim Peters yazdı
variant that never needs to "search from the right". Also fixed unlikely memory leak in get_line, if string size overflows INTMAX. Also new std test test_bufio to make sure .readline() works.
-
Guido van Rossum yazdı
realized that this behavior is already present in PyFile_GetLine(), which is the only place that needs it. A little refactoring of that function made get_line_raw() redundant.
-
Fred Drake yazdı
These will detect regression on SF bug #127271 and other import statement bugs.
-
Fred Drake yazdı
This closes SF bug #127271.
-
- 06 Ock, 2001 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
the mapping dictionaries can now contain 1-n mappings, meaning that character ordinals may be mapped to strings or Unicode object, e.g. 0x0078 ('x') -> u"abc", causing the ordinal to be replaced by the complete string or Unicode object instead of just one character. Another feature introduced by the patch is that of mapping oridnals to the emtpy string. This allows removing characters. The patch is different from patch #103100 in that it does not cause a performance hit for the normal use case of 1-1 mappings. Written by Marc-Andre Lemburg, copyright assigned to Guido van Rossum.
-
Marc-André Lemburg yazdı
The mapping dictionaries can now contain 1-n mappings, meaning that character ordinals may be mapped to strings or Unicode object, e.g. 0x0078 ('x') -> u"abc", causing the ordinal to be replaced by the complete string or Unicode object instead of just one character. Another feature introduced by the patch is that of mapping oridnals to the emtpy string. This allows removing characters. The patch is different from patch #103100 in that it does not cause a performance hit for the normal use case of 1-1 mappings. Written by Marc-Andre Lemburg, copyright assigned to Guido van Rossum.
-
- 05 Ock, 2001 9 kayıt (commit)
-
-
Guido van Rossum yazdı
watch(1)). Updated and untabified the README file.
-
Guido van Rossum yazdı
funlockfile()).
-
Guido van Rossum yazdı
other ways of reading input. :-( In the process, I added an optional bufsize argument to the input() function and the FileInput class.
-
Guido van Rossum yazdı
- The raw_input() functionality is moved to a separate function. - Drop GNU getline() in favor of getc_unlocked(), which exists on more platforms (and is even a tad faster on my system).
-
Tim Peters yazdı
-
Fred Drake yazdı
BTree databases, the key need not be in the database. Also, tell about the exception if the key is not in the DB for other DB types. This closes SF bug #127377.
-
Fred Drake yazdı
the urljoin() function, which exercises the urlparse() and urlunparse() functions as side effects. (Moshe, why did we have perfectly empty tests checked in for this?)
-
Fred Drake yazdı
urljoin(): Make this conform to RFC 1808 for all examples given in that RFC (both "Normal" and "Abnormal"), so long as that RFC does not conflict the older RFC 1630, which also specified relative URL resolution. This closes SF bug #110832 (Jitterbug PR#194).
-
Tim Peters yazdı
has type int in C.
-
- 04 Ock, 2001 25 kayıt (commit)
-
-
Fred Drake yazdı
an empty keywords dictionary (via apply() or the extended call syntax), the keywords dict should be ignored. If the keywords dict is not empty, TypeError should be raised. (Between the restructuring of the call machinery and this patch, an empty dict in this situation would trigger a SystemError via PyErr_BadInternalCall().) Added regression tests to detect errors for this.
-
Martin v. Löwis yazdı
Patch #103067 with modifications as discussed in email.
-
Fred Drake yazdı
"previous" and "next_page" to "next". This way the proper icons are found.
-
Fred Drake yazdı
supported as of Python 2.1. We still need to have an entry for this since it is reasonable for users to want to understand existing code. This closes SF bug #122715.
-
Fred Drake yazdı
being "for backward compatibility." Also revert to using bisect() in the example, since Guido thinks that is the best recommendation for typical usage.
-
Fred Drake yazdı
Other minor markup nits fixed. Make reference to PyErr_Warn() a hyperlink.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
and seek() in the description of seek(). This closes SF bug #126850.
-
Fred Drake yazdı
-
Fred Drake yazdı
explicitly-named bisect_right() in the example code. This closes SF bug #127055.
-
Fred Drake yazdı
*decimal*. This closes SF bug #127273.
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
longer get special treatment. The Py_NotImplemented type is here as well.
-
Neil Schemenauer yazdı
now as well.
-
Neil Schemenauer yazdı
now as well.
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
types no longer get special treatment from abstract.c so more number number methods have to be implemented.
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
as the left operand. I don't know if this is a feature or a bug.
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
part of the testsuite that breaks. The old behavior may be restored.
-
Neil Schemenauer yazdı
- Define type flag for new style numbers. - Add Py_NotImplemented.
-
Neil Schemenauer yazdı
-