| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
uses bash and so does my 10.2 system. "limit stacksize 2048" is the
right invocation for tcsh/csh.
|
| | |
|
| |
|
|
|
| |
Barry may want to update the news item about email 2.4.3 with more
details.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
in method name
|
| | |
|
| |
|
|
|
| |
poring over the logs. Quite likely I've forgotten some things,
introduced typos, and organized things less than ideally.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Changed new-style class instantiation so that when C's __new__
method returns something that's not a C instance, its __init__ is
not called. [SF bug #537450]
XXX This is arguably a semantic change, but it's hard to imagine a
reason for wanting to depend on the old behavior. If problems with
this are reported within a week of the release of 2.2.2 beta 1, we may
revert this change.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.
u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.
Closes SF bug #593581.
|
| |
|
|
| |
Add Makefile.pre.in to -devel.
|
| | |
|
| |
|
|
|
| |
Disable building of the fpectl module -- it's dangerous or useless
except in the hands of experts.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Raise ValueError if user passes a size to mmap which is larger
than the file.
Also need Tim's fix in test_mmap.py, 1.22 which flushes the file
before mmap'ing it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
revision 1.180 of ACKS
date: 2002/06/10 20:00:52; author: gvanrossum; state: Exp; lines: +1 -0
SF patch 564549 (Erik Andersén).
The WeakKeyDictionary constructor didn't work when a dict arg was
given. Fixed by moving a line. Also adding a unit test.
Bugfix candidate.
|
| |
|
|
|
|
| |
These were reported and fixed by Inyeol Lee in SF bug 595350. The
endswith() bug is already fixed in 2.3; I'll fix the others in
2.3 next.
|
| |
|
|
|
| |
popen2() and popen3() created text-mode pipes even when binary mode
was asked for. This was specific to Windows.
|
| | |
|
| |
|
|
|
|
|
|
| |
SF patch 588728 (Nathan Srebro).
The __delete__ method wrapper for descriptors was not supported
(I added a test, too.)
|
| |
|
|
|
|
|
|
|
| |
__del__ method died with
Fatal Python error: GC object already in linked list
in both release and debug builds. Fixed that. Added a new test that
dies without the fix.
|
| |
|
|
|
|
|
|
| |
Repair segfaults and infinite loops in COUNT_ALLOCS builds in the
presence of new-style (heap-allocated) classes/types.
Note: test_gc fails in a COUNT_ALLOCS build now, because it expects
a new-style class to get garbage collected.
|
| |
|
|
|
| |
when a parse node grows a very large number of children. This sidesteps
platform realloc() disasters on several platforms.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
SF bug 567538: Generator can crash the interpreter (Finn Bock).
This was a simple typo. Strange that the compiler didn't catch it!
Instead of WHY_CONTINUE, two tests used CONTINUE_LOOP, which isn't a
why_code at all, but an opcode; but even though 'why' is declared as
an enum, comparing it to an int is apparently not even worth a
warning -- not in gcc, and not in VC++. :-(
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Address SF bug 519621: slots weren't traversed by GC.
While I was at it, I added a tp_clear handler and changed the
tp_dealloc handler to use the clear_slots helper for the tp_clear
handler.
Also set mp->flags = READONLY for the __weakref__ pseudo-slot.
[Note that I am *not* backporting the part of that patch that
tightened the __slot__ rules.]
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Misc/NEWS 1.387->1.388
Lib/test/string_tests.py 1.10->1.11, 1.12->1.14,
Lib/test/test_unicode.py 1.50->1.51, 1.53->1.54, 1.55->1.56
Lib/test/test_string.py 1.15->1.16
Lib/string.py 1.61->1.63
Lib/test/test_userstring.py 1.5->1.6, 1.11, 1.12
Objects/stringobject.c 2.156->2.159
Objects/unicodeobject.c 2.137->2.139
Doc/lib/libstdtypes.tec 1.87->1.88
Add a method zfill to str, unicode and UserString
and change Lib/string.py accordingly
(see SF patch http://www.python.org/sf/536241)
This also adds Guido's fix to test_userstring.py
and the subinstance checks in test_string.py
and test_unicode.py.
|
| |
|
|
|
|
|
| |
Add news about deprecated complex ops.
Original patches were:
python/dist/src/Misc/NEWS:1.387
|
| |
|
|
| |
more informative.
|
| |
|
|
|
|
| |
option. It was the cause of at least one way UNWISE.EXE could vanish
(install a python; uninstall it; install it again; reboot the machine;
abracadabra the uinstaller is gone).
|
| |
|
|
|
|
|
|
| |
Put a bound on the number of frameobjects that can live in the
frameobject free_list.
Also fixed on the trunk. I don't intend to backport to 2.1 (too
much work -- lots of cyclic structures leak there).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
when PyType_Ready() was called, if ob_type was found to be NULL, it
was always set to &PyType_Type; now it is set to base->ob_type,
where base is tp_base, defaulting to &PyObject_Type.
|
| |
|
|
|
| |
dare describe, and of course lots of jiggling of the docs and the
Windows installer metadata.)
|
| |
|
|
| |
base class.
|
| | |
|
| |
|
|
| |
Fixing a Windows-specific installer glitch.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|