cpython Log


Commit Date  
[4d2259] by Gustavo Niemeyer Gustavo Niemeyer

Implemented posix-mode parsing support in shlex.py, as dicussed in
mailing list, and in patch #722686.

2003-04-17 21:31:33 Tree
[16f47b] by Jack Jansen Jack Jansen

Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.

2003-04-17 20:44:21 Tree
[1e9004] by Jack Jansen Jack Jansen

Converted manually written code to the new K format specifier.
Untested, but at least it still compiles.

2003-04-17 20:40:07 Tree
[56006d] by Tim Peters Tim Peters

_Py_PrintReferences(): Changed to print object address at start of each
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().

2003-04-17 19:52:29 Tree
[28a297] by Thomas Heller Thomas Heller

SF # 595026: support for masks in getargs.c.

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.

2003-04-17 18:55:45 Tree
[7fda09] by Guido van Rossum Guido van Rossum

- New C API PyGC_Collect(), same as calling gc.collect().
- Call this in Py_Finalize().
- Expand the Misc/NEWS text on PY_LONG_LONG.

2003-04-17 17:29:22 Tree
[d8a8f7] by Guido van Rossum Guido van Rossum

Changes in support of PEP 269.

2003-04-17 16:53:26 Tree
[04b172] by Guido van Rossum Guido van Rossum

A missing piece of the PEP 269 patch: add PyParser_SetError(), a
wrapper around err_input().

2003-04-17 16:02:26 Tree
[0e8416] by Tim Peters Tim Peters

Trimmed trailing whitespace.

2003-04-17 15:24:21 Tree
[9d4e13] by Tim Peters Tim Peters

Py_Finalize(): Reverted recent changes that tried to move the
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.

2003-04-17 15:21:01 Tree
[193b8a] by Guido van Rossum Guido van Rossum

Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
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.

2003-04-17 14:55:42 Tree
[b9745c] by Neal Norwitz Neal Norwitz

Remove extra space in docstring

2003-04-17 13:13:55 Tree
[8e541b] by Guido van Rossum Guido van Rossum

- The repr() of a weakref object now shows the __name__ attribute of
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.

2003-04-16 21:13:23 Tree
[ca2482] by Martin v. L?wis Martin v. L?wis

Support UCS-4 Tcl for UCS-4 Python builds. Fixes #719880.

2003-04-16 20:34:55 Tree
[cfece1] by Guido van Rossum Guido van Rossum

Add 'get' method to Variable and switch it from internal class to
standard class (it is now useful because it doesn't constrain the type
of the value).

2003-04-16 20:10:03 Tree
[a8e640] by Guido van Rossum Guido van Rossum

- super() no longer ignores data descriptors, except __class__. See
the thread started at
http://mail.python.org/pipermail/python-dev/2003-April/034338.html

2003-04-16 20:02:22 Tree
[4824aa] by Guido van Rossum Guido van Rossum

Sigh. The crucial change was still missing from the previous
checkin. :-(

2003-04-16 20:01:36 Tree
[be0d4e] by Martin v. L?wis Martin v. L?wis

For StringVar results to strings. Document that boolean things are of
type bool. Requested in #721171.

2003-04-16 19:42:51 Tree
[9be410] by Guido van Rossum Guido van Rossum

- super() no longer ignores data descriptors, except __class__. See
the thread started at
http://mail.python.org/pipermail/python-dev/2003-April/034338.html

2003-04-16 19:40:58 Tree
[acfa0f] by Raymond Hettinger Raymond Hettinger

Minor source formatting fixes.

2003-04-16 18:40:04 Tree
[11f7f1] by Barry Warsaw Barry Warsaw

Mostly reformatting, splitting long lines, whitespace normalization
etc.

Fixed one typo in the __main__ section.

2003-04-16 18:08:23 Tree
[36e9ba] by Raymond Hettinger Raymond Hettinger

As discussed on python-dev, revised docs to note that
PyObject_IsTrue() can have an error result.

Also, added missing docs for PyObject_Not().

Will backport.

2003-04-16 17:28:12 Tree
[a26b6b] by Neal Norwitz Neal Norwitz

Add version info for name2codepoint and codepoint2name

2003-04-16 13:21:06 Tree
[947c29] by Jack Jansen Jack Jansen

When on MacOSX, and only in a framework build, add
~/Library/Python/2.3/site-packages to sys.path, if it exists.

2003-04-16 13:12:21 Tree
[3392f3] by Jack Jansen Jack Jansen

The identify() description didn't match the code. Fixed.

2003-04-16 13:10:53 Tree
Older >