- 09 May, 2001 28 kayıt (commit)
-
-
Fred Drake yazdı
needed now that fcntl exports the constants.
-
Fred Drake yazdı
warning. This is similar to the TERMIOS backward compatbility module.
-
Fred Drake yazdı
and using the constants defined there instead of FCNTL.
-
Fred Drake yazdı
-
Fred Drake yazdı
This closes SF bug #231328. Added all constants needed to use the functions defined in this module that are not defined elsewhere (the O_* symbols are available in the os module). No additonal modules are needed to use this now.
-
Fred Drake yazdı
PyObject_AsFileDescriptor() -- it does the same thing everywhere, so use it the same way everyone else does so that exceptions are consistent. This means we have less code here, and we do not need to resort to hackish ways of getting the Python-visible function name to fdconv().
-
Tim Peters yazdı
Thanks to Mark Favas.
-
Fred Drake yazdı
Updates zipfile.ZipFile docs to mention the fact that you can create a ZipFile instance from an arbitrary file-like object. This closes patch #418011.
-
Fred Drake yazdı
this could cause invalid paths to be returned for AF_UNIX sockets on some platforms (including FreeBSD 4.2-RELEASE), appearantly because there is no assurance that the address will be nul-terminated when filled in by the kernel. PySocketSock_recvfrom(): Use PyString_AS_STRING() to get the data pointer of a string we create ourselves; there is no need for the extra type check from PyString_AsString(). This closes SF bug #416573.
-
Tim Peters yazdı
-
Tim Peters yazdı
SF patch 416251 2.1c1 mmapmodule: unused vrbl cleanup
-
Fred Drake yazdı
This closes SF bug #416530.
-
Fred Drake yazdı
This header does not exist on all Unix flavors; FreeBSD in particular does not include it. This closes SF bug #422320.
-
Fred Drake yazdı
negation. This closes SF bug #421999.
-
Fred Drake yazdı
bug tracker.
-
Fred Drake yazdı
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
leaking LaTeX2HTML's internal string munging. This fixes SF bug #420399.
-
Jeremy Hylton yazdı
cannot be determined. Pseudo-fix for SF bug #420724
-
Fred Drake yazdı
-
Tim Peters yazdı
restore correct semantics.
-
Tim Peters yazdı
-
Fred Drake yazdı
the right HTML file to the name about.html is needed even if the --numeric option was not given -- some other name may have been assigned due to some non-determinism in the algorithm use to perform name allocation. ;-( This closes the "About..." portion of SF bug #420216.
-
Fred Drake yazdı
There is no imap module; refer to imaplib instead, since it exists. Move the "See Also:" section in front of the sub-sections, for consistency with other portions of the library reference. This closes the library reference portion of SF bug #420216.
-
Fred Drake yazdı
Closes SF bug #420230.
-
Mark Hammond yazdı
Always pass a full path name to LoadLibraryEx(). Fixes some Windows 9x problems. As discussed on python-dev
-
Tim Peters yazdı
-
Tim Peters yazdı
interned string created by "string"[i]. Since they're immortal anyway, this was hard to notice, but it was still wrong <wink>.
-
- 08 May, 2001 11 kayıt (commit)
-
-
Tim Peters yazdı
interned when created, so the cached versions generally aren't ever interned. With the patch, the Py_INCREF(t); *p = t; Py_DECREF(s); return; indirection block in PyString_InternInPlace() is never executed during a full run of the test suite, but was executed very many times before. So I'm trading more work when creating one-character strings for doing less work later. Note that the "more work" here can happen at most 256 times per program run, so it's trivial. The same reasoning accounts for the patch's simplification of string_item (the new version can call PyString_FromStringAndSize() no more than 256 times per run, so there's no point to inlining that stuff -- if we were serious about saving time here, we'd pre-initialize the characters vector so that no runtime testing at all was needed!).
-
Tim Peters yazdı
-
Tim Peters yazdı
Store floats and doubles to full precision in marshal. Test that floats read from .pyc/.pyo closely match those read from .py. Declare PyFloat_AsString() in floatobject header file. Add new PyFloat_AsReprString() API function. Document the functions declared in floatobject.h.
-
Jack Jansen yazdı
calldll is part of the standard macPython distribution.
-
Fred Drake yazdı
Documentation update to reflect changes to the termios module (noting that the termios functions can take a file object as well as a file descriptor). This closes the documentation portion of SF patch #417081.
-
Tim Peters yazdı
d1 == d2 and d1 != d2 now work even if the keys and values in d1 and d2 don't support comparisons other than ==, and testing dicts for equality is faster now (especially when inequality obtains).
-
Jeremy Hylton yazdı
Assertion error message had typos in arguments to string format. .cover files for modules in packages are now put in the right place. The code that generate .cover files seemed to prepend a "./" to many absolute paths, causing them to fail. The code now checks explicitly for absolute paths and leaves them alone. In trace/coverage code, recover from case where module has no __name__ attribute, when e.g. it is executed by PyRun_String(). In this case, assign modulename to None and hope for the best. There isn't anywhere to write out coverage data for this code anyway. Also, replace several sys.stderr.writes with print >> sys.stderr. New features: -C/--coverdir dir: Generate .cover files in specified directory instead of in the directory where the .py file is. -s: Print a short summary of files coverred (# lines, % coverage, name)
-
Jeremy Hylton yazdı
Check for free in class and method only if nested scopes are enabled. Add assertion to verify that no free variables occur when nested scopes are disabled. XXX When should nested scopes by made non-optional on the trunk?
-
Jeremy Hylton yazdı
Two errors in dict_to_map() helper used by PyFrame_LocalsToFast().
-
Jeremy Hylton yazdı
-
Tim Peters yazdı
another change (to test_import.py, which simply imports the new file). I'm checking this piece in now, though, to make it easier to distribute a patch for x-platform checking.
-
- 07 May, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
2.1.1 bugfix candidate too. Fix a bad (albeit unlikely) return value in try_rich_to_3way_compare(). Also document do_cmp()'s return values.
-