| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Lurking bug found by patch for 531291: FSSpecs should be passed to
Py_BuildValue by address, not by value.
|
|
|
|
|
| |
Some of the newer routines return an OSErr, like most toolbox calls,
in stead of depending on ResError(). Second half of fix for #531291.
|
|
|
|
|
| |
Lots of tests fail in non-unicode builds, but I think most of these are
"bugs" in the tests. I hope so, anyway.
|
|
|
|
|
|
|
|
| |
revision 1.2 of ERRNO.py
revision 1.2 of FILE.py
revision 1.2 of IN.py
Regenerated for Irix 6.5.
|
|
|
|
|
|
| |
revision 1.3 of regen
Patch by Michael Pruett: make regen work on Irix 6.0 and 6.5.
|
|
|
|
| |
[ 516299 ] urlparse can get fragments wrong
|
|
|
|
|
|
| |
[ 530285 ] redefining SRE_CODE in Modules/sre.h
Another one for the trunk, later.
|
|
|
|
| |
[ 529104 ] broken error handling in unicode-escape
|
|
|
|
|
|
|
|
| |
[ 529104 ] broken error handling in unicode-escape
I presume this will need to be fixed on the trunk, too.
Later.
|
|
|
|
|
|
|
|
| |
[ 531306 ] ucs4 build horked.
Classic C mistake, I think.
Also squashed a couple of warnings in the ucs4 build.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The proper fix is not quite what was submitted; it's really better to
take the class of the object passed rather than calling PyMethod_New
with NULL pointer args, because that can then cause other core dumps
later.
I also added a testcase for the fix to classmethods() in test_descr.py.
I'll apply this to 2.3 too.
|
|
|
|
|
|
|
|
|
|
|
| |
Please comment! You can find logs at
http://starship.python.net/crew/mwh/cvslog3.txt
on the assumption that you don't want to fight cvs yourself.
In particular, I need a better explanation of the bugs that have
been fixed in the email package.
|
|
|
|
|
|
| |
on MacOSX/Darwin, use ranlib when building static libs.
I hope this belongs on the branch...
|
|
|
|
| |
Remove mentioning of -U option in "python -h" output.
|
|
|
|
|
| |
Quick build: clarify that you have to do "make install" as root; OS
info: add info about Red Hat's python and python2.
|
|
|
|
| |
Remove stub for unicode.txt. Resort README in dictionary order.
|
|
|
|
| |
Fix typo
|
|
|
|
|
| |
update text to refer to ServerProxy class in preference to Server, which is
only retained for backward compatibility with older versions of the library.
|
|
|
|
|
|
|
|
|
| |
Fix for
[ #504284 ] Last build problems on AIX
I'm ignoring the suggestion that this should be an autoconf test in the
interests of having a fix today. Feel free to quibble.
|
| |
|
|
|
|
|
| |
Change the way __doc__ is handled, to avoid blowing up on non-string
__doc__ values.
|
|
|
|
| |
This test left a new set of 3 junk files behind each time it was run.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bring tempfile.py up to date from the trunk. There have been three
checkins (all by Tim):
SF bug #509805 tempfile.gettempdir not threadsafe
This is an ancient race when multiple threads call gettempdir() (or
anything relying on it) for the first time.
Fixed x-platform via the Big Hammer of rearranging the code to serialize
the first calls. Subsequent calls are as fast as before.
Note that the Python test suite can't provoke this bug: it requires
setting up multiple threads making the very first calls into tempfile,
but the test suite uses tempfile several times before getting to
test_threadedtempfile.
Bugfix candidate.
[and]
New TemporaryFile implementation for Windows: this doesn't need a
TemproraryFileWrapper wrapper anymore, and should be immune from the
problem that a temp file inherited by a spawned process caused an
attempt to close the temp file in the spawning process to blow
up (the unlink in TemporaryFileWrapper.close() blew up with a
"Permission denied" error because, despite that the temp file got
closed in the spawning process, the spawned process still had it open
by virtue of C-level file descriptor inheritance). In context,
that bug took days to figure out <wink/sigh>.
[and]
Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.
The first and third of these are pretty clearly bugfixes; I think the
second is too.
|
| |
|
| |
|
|
|
|
|
| |
"cvs diff | patch" managed to stick the NEWS item in the 2.2 final
section! I wonder which silly man wrote patch <wink>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 4.7 of python-mode.el
(py-honor-comment-indentation, py-compute-indentation): Fix the
implementation to match the documentation for
py-honor-comment-indentation w.r.t. not nil or t value. In that case
it should still ignore ## for indentation purposes. Closes SF bug
#523825, w/ patch provided by Christian Stork (mod'd by Barry).
Python 2.2.1 candidate.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.54 of os.py
Fix
[ 530236 ] os.py assumes existence of statvfs_resul
This was pretty dense of me. Sorry.
2.2.1 candidate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
backport montanaro's checkin of
revision 1.24 of calendar.py
make _localized_name instances work more like the tuples they replaced. In
particular, negative indexes work and they are limited by the actual length
of the names they represent (weekday and month names). This closes bug
#503202.
[and then]
Corrected _localized_name.__getitem__ based on code in patch 503202 (which I
thought was just a bug report, so didn't notice - doh!). This handles
slicing, which v 1.23 didn't.
|
|
|
|
|
|
| |
revision 2.23 of pypcre.c
Include Python.h first. Fixes #530159.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.121 of test_descr.py
"Fix" for SF bug #520644: __slots__ are not pickled.
As promised in my response to the bug report, I'm not really fixing
it; in fact, one could argule over what the proper fix should do.
Instead, I'm adding a little magic that raises TypeError if you try to
pickle an instance of a class that has __slots__ but doesn't define or
override __getstate__. This is done by adding a bozo __getstate__
that always raises TypeError.
Bugfix candidate (also the checkin to typeobject.c, of course).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 2.129 of typeobject.c
"Fix" for SF bug #520644: __slots__ are not pickled.
As promised in my response to the bug report, I'm not really fixing
it; in fact, one could argule over what the proper fix should do.
Instead, I'm adding a little magic that raises TypeError if you try to
pickle an instance of a class that has __slots__ but doesn't define or
override __getstate__. This is done by adding a bozo __getstate__
that always raises TypeError.
|
|
|
|
|
|
| |
revision 2.26 of _localemodule.c
Verify arguments for nl_langinfo. Fixes #528879.
|
|
|
|
|
|
|
| |
backport fdrake's checkin of
revision 1.5 of log.py
Set/update self.cwd properly.
|
| |
|
|
|
|
|
| |
grammer productions.
Fixes SF bug #520959.
|
|
|
|
|
| |
Added examples of positive lookbehind assertions.
This closes SF bug #529708.
|
|
|
|
|
|
| |
change the installed version on either of the machines I use to format the
docs. Instead, use a compatibility hack to support both versions. This is
also better for external users of the Python styles.
|
|
|
|
|
|
| |
level of predictability. This is not really "good" markup, but is arguably
better than we had before.
This closes SF bug #523117.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
revision 1.120 of test_descr.py
Test for the fix I just checked in to moduleobject.c.
Bugfix candidate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 2.41 of moduleobject.c
Fix for SF bug #529050 - ModuleType.__new__ crash.
There were several places that assumed the md_dict field was always
set, but it needn't be. Fixed these to be more careful.
I changed PyModule_GetDict() to initialize md_dict to a new dictionary
if it's NULL.
Bugfix candidate.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.29 of asyncore.py
[Bug #517554] When a signal happens during the select call in
asyncore.poll, the select fails with EINTR, which the
code catches. However, the code fails to clear the
r/w/e arrays (like poll3 does), which means it acts as
if every descriptor had received all possible events.
Bug report and patch by Cesar Eduardo Barros
|