- 22 Eyl, 2000 8 kayıt (commit)
-
-
Guido van Rossum yazdı
Closes Bug #115054.
-
Tim Peters yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
<file>.readlines() does not call <file>.readline() internally anymore, and the sizehint parameter should be mentioned briefly. Some displays of floating point numbers needed to be updated due to the change in the repr() of floats (from 1.6). Both issues were noted by Aahz <aahz@panix.com>.
-
Greg Ward yazdı
as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us).
-
Greg Ward yazdı
'convert_paths()' method to convert them all to the local syntax (backslash or colon or whatever) at the appropriate time. Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in 'select_scheme()'). Default 'install_path_file' to true, and never set it false (it's just there in case some outsider somewhere wants to disable installation of the .pth file for whatever reason). Toned down the warning emitted when 'install_path_file' is false, since we no longer know why it might be false. Added 'warn_dir' flag to suppress warning when installing to a directory not in sys.path (again, we never set this false -- it's there for outsiders to use, specifically the "bdist_*" commands). Pulled the loop of 'change_root()' calls out to new method 'change_roots()'. Comment updates/deletions/additions.
-
Greg Ward yazdı
up when the pathname starts with '/', which is needed when converting installation directories in the "install" command.
-
- 21 Eyl, 2000 32 kayıt (commit)
-
-
Fred Drake yazdı
Show how code can be written to handle __getslice__ & friends in a way that is compatible with pre-2.0 versions of Python while still working with the "new" way of handling slicing. Additional explanation added by Fred Drake. This closes SourceForge patch #101388.
-
Guido van Rossum yazdı
According to Justin Pettit, this also works on OpenBSD, so I've added that symbol as well.
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
<lannert@uni-duesseldorf.de>.
-
Jack Jansen yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
This closes SourceForge bug #114792.
-
Fred Drake yazdı
-
Marc-André Lemburg yazdı
and bumped the version number to 1.7.
-
Marc-André Lemburg yazdı
unicode_internal_decode function to support Unicode objects directly rather than by generating a copy of the object.
-
Marc-André Lemburg yazdı
"s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). The patch also adds an optimization for string objects which is based on the fact that string objects return the raw character data for getreadbuffer access and are always single-segment.
-
Marc-André Lemburg yazdı
"s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer().
-
Fred Drake yazdı
to the Python style guide, and remove unneeded imports.
-
Guido van Rossum yazdı
flag is true, is set to a StringIO object that silently collects all debug messages. This is triggered by the Node._debug=1 statement at the top of test_minidom.py. After the tests, we better delete that StringIO object to avoid wasting memory. We also reset the _debug flag. (Note that this is an undetectable memory leak, and the memory doesn't get collected by the cycle-gc either, because it's all reachable -- it's just useless.)
-
Fred Drake yazdı
data and default handlers -- a new reference was being passed to Py_BuildValue() for the "O" format character; using "N" plugs the leak. Fixed two other (minor) leaks that occurred on various error conditions. Removed uses of the UNLESS macro, which makes code hard to read, and is Evil.
-
Fred Drake yazdı
Add support for parsing already-opened files. Make sure the parse() method closes exactly those files that it opens. Modified by FLD for better conformance to the Python style guide. This closes SourceForge patch #101512.
-
Fredrik Lundh yazdı
- added experimental "expand" method to match objects - don't use the buffer interface on unicode strings
-
Fred Drake yazdı
-
Guido van Rossum yazdı
_Py_Dealloc(), is a bad idea (and always was!). So let's drop it.
-
Fred Drake yazdı
make too big a mess. One actually did not fit on a single page at all!
-
Fred Drake yazdı
support long tables which might break across page boundaries. Otherwise identical to tableii, tableiii, and tableiv.
-
Fred Drake yazdı
macros in the argument list position.
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
from the FreeBSD code.
-
Lars Gustäbel yazdı
-
Lars Gustäbel yazdı
-
Lars Gustäbel yazdı
-
Lars Gustäbel yazdı
-
Tim Peters yazdı
Don't ship debug .dll, .pyd or .lib files. Saves space. Bumped the title to beta 2.
-
Tim Peters yazdı
Note a curious extension to the std C rules: x, X and o formatting can never produce a sign character in C, so the '+' and ' ' flags are meaningless for them. But unbounded ints *can* produce a sign character under these conversions (no fixed- width bitstring is wide enough to hold all negative values in 2's-comp form). So these flags become meaningful in Python when formatting a Python long which is too big to fit in a C long. This required shuffling around existing code, which hacked x and X conversions to death when both the '#' and '0' flags were specified: the hacks weren't strong enough to deal with the simultaneous possibility of the ' ' or '+' flags too, since signs were always meaningless before for x and X conversions. Isomorphic shuffling was required in unicodeobject.c. Also added dozens of non-trivial new unbounded-int test cases to test_format.py.
-
Fred Drake yazdı
reported by Detlef Lannert <lannert@uni-duesseldorf.de>.
-
Fred Drake yazdı
reported by Detlef Lannert <lannert@uni-duesseldorf.de>.
-