- 17 Nis, 2003 11 kayıt (commit)
-
-
Jack Jansen yazdı
not 'K'.
-
Jack Jansen yazdı
Untested, but at least it still compiles.
-
Tim Peters yazdı
new line. New pvt API function _Py_PrintReferenceAddresses(): Prints only the addresses and refcnts of the live objects. This is always safe to call, because it has no dependence on Python's C API. Py_Finalize(): If envar PYTHONDUMPREFS is set, call (the new) _Py_PrintReferenceAddresses() right before dumping final pymalloc stats. We can't print the reprs of the objects here because too much of the interpreter has been shut down. You need to correlate the addresses displayed here with the object reprs printed by the earlier PYTHONDUMPREFS call to _Py_PrintReferences().
-
Thomas Heller yazdı
New functions: unsigned long PyInt_AsUnsignedLongMask(PyObject *); unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *); unsigned long PyLong_AsUnsignedLongMask(PyObject *); unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *); New and changed format codes: b unsigned char 0..UCHAR_MAX B unsigned char none ** h unsigned short 0..USHRT_MAX H unsigned short none ** i int INT_MIN..INT_MAX I * unsigned int 0..UINT_MAX l long LONG_MIN..LONG_MAX k * unsigned long none L long long LLONG_MIN..LLONG_MAX K * unsigned long long none Notes: * New format codes. ** Changed from previous "range-and-a-half" to "none"; the range-and-a-half checking wasn't particularly useful. New test test_getargs2.py, to verify all this.
-
Guido van Rossum yazdı
- Call this in Py_Finalize(). - Expand the Misc/NEWS text on PY_LONG_LONG.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
wrapper around err_input().
-
Tim Peters yazdı
-
Tim Peters yazdı
PYTHONDUMPREFS output after most teardown. Attempts to use PYTHONDUMPREFS with the Zope3 test suite died with Py_FatalError(), since _Py_PrintReferences() can end up executing arbitrary Python code (for objects that override __repr__), and that requires an intact interpreter.
-
Guido van Rossum yazdı
work. This includes some more code that used to be part of pgen in the main parser; I'm okay with that. I'll see if the Windows build needs work next.
-
Neal Norwitz yazdı
-
- 16 Nis, 2003 18 kayıt (commit)
-
-
Guido van Rossum yazdı
the referenced object, if it has one. Also use %p to format pointers consistently, and use <weakproxy ...> in proxy_repr(), to match the type name.
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
standard class (it is now useful because it doesn't constrain the type of the value).
-
Guido van Rossum yazdı
the thread started at http://mail.python.org/pipermail/python-dev/2003-April/034338.html
-
Guido van Rossum yazdı
checkin. :-(
-
Martin v. Löwis yazdı
type bool. Requested in #721171.
-
Guido van Rossum yazdı
the thread started at http://mail.python.org/pipermail/python-dev/2003-April/034338.html
-
Raymond Hettinger yazdı
-
Barry Warsaw yazdı
etc. Fixed one typo in the __main__ section.
-
Raymond Hettinger yazdı
PyObject_IsTrue() can have an error result. Also, added missing docs for PyObject_Not(). Will backport.
-
Neal Norwitz yazdı
-
Jack Jansen yazdı
~/Library/Python/2.3/site-packages to sys.path, if it exists.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Don't show psuedo-packages by default, added a button to show them. Cleaned up interface a little (not enough, though).
-
Jack Jansen yazdı
Changed some message to be clearer when presented by Package Manager.
-
Walter Dörwald yazdı
HTML entity names to Unicode codepoints (as integers). codepoint2name is the reverse mapping. From SF patch #722017.
-
- 15 Nis, 2003 11 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Martin v. Löwis yazdı
Also move complete processing of get/set/delvar calls to target thread.
-
Guido van Rossum yazdı
-
Walter Dörwald yazdı
-
Walter Dörwald yazdı
-
Walter Dörwald yazdı
for the same gid.
-
Walter Dörwald yazdı
for the same uid.
-
Guido van Rossum yazdı
even farther down, to just before the call to _PyObject_DebugMallocStats(). This required the following changes: - pystate.c, PyThreadState_GetDict(): changed not to raise an exception or issue a fatal error when no current thread state is available, but simply return NULL without raising an exception (ever). - object.c, Py_ReprEnter(): when PyThreadState_GetDict() returns NULL, don't raise an exception but return 0. This means that when printing a container that's recursive, printing will go on and on and on. But that shouldn't happen in the case we care about (see first bullet). - Updated Misc/NEWS and Doc/api/init.tex to reflect changes to PyThreadState_GetDict() definition.
-
Jack Jansen yazdı
- Allow setting the destination install directory. If this is set then it is used for the modules, other items (header files, etc) are not installed, and warnings are printed if the package would have liked to. Unfortunaltey binary installs seem broken due to a tarfile bug (#721871) or my misunderstanding of how tarfile works.
-