| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
revision 1.35 of bdb.py
date: 2002/02/25 23:23:24; author: gvanrossum; state: Exp; lines: +1 -0
canonic(): Fix by Edward K Ream to make breakpoints work better on
Windows: apply normcase() as well as abspath(). (Note: this isn't
needed to make IDLE work, but it's a good idea anyway.)
Bugfix candidate -- both 2.2.1 and 2.1.3.
|
|
|
|
|
|
|
|
| |
revision 1.11 of test_descrtut.py
Somebody made list.__dict__ grow a '__doc__' key, but apparently didn't
run the test suite afterwards. Either that, or whether '__doc__' shows
up is platform-dependent!
|
|
|
|
|
|
|
| |
revision 1.6 of FixTk.py
Set TCL_LIBRARY before import _tkinter. Suggested by Kirill Simonov.
Fixes #418173 and #219960. 2.2.1 candidate.
|
|
|
|
|
|
|
| |
revision 1.48 of smtplib.py
Accept Unicode strings as SMTP TO addresses. Fixes #521270.
2.2.1 candidate.
|
|
|
|
|
|
|
| |
Make it 1.5.2 compatible again.
(I'm not sure how having symlinks around the repository interacts with
branches -- I'm going to tread carefully in here)
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.10 of test_thread.py
revision 1.5 of test_threaded_import.py
SF bug #516372: test_thread: unhandled exc. in thread
Fix exit races in test_thread.py and test_threaded_import.py.
I suspect the bug is provokable only under Linux (where child threads
seem to get lots of cycles before they get killed after the main thread
exits), or on multi-processor machines running other OSes.
Bugfix candidate.
|
|
|
|
|
|
|
| |
revision 1.25 of urllib2.py
Fix bug #511786 (2.2.1 candidate): ensure that custom-supplied headers
are preserved for redirected requests.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.12 of file_util.py
[Bug #220993; may also fix bug #479469] Fix flakiness when old
installations are present, by always unlinking the destination file
before copying to it. Without the unlink(), the copied file remains
owned by its previous UID, causing the subsequent chmod() to fail.
Bugfix candidate, though it may cause changes on platforms where
file ownership behaves differently.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.21 of CGIHTTPServer.py
date: 2002/02/01 16:27:59; author: gvanrossum; state: Exp; lines: +18 -4
Wesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32
This uses os.popen3 (if it exists) to ensure that errors from a
non-Python CGI script are logged.
Bugfix candidate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.11 of install_scripts.py
Restrict the mode to the lowest four octal positions; higher positions
contain the type of the file (regular file, socket, link, &c.).
This means that install_scripts will now print
"changing mode of <file> to 775" instead of "... to 100775".
2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.
This patch was applied by an alarmingly automated system -- I hope it
worked...
|
|
|
|
|
|
|
| |
package_dir must be converted from the distutils path conventions to
local conventions before being used by build_py.
Fixes SF bug #509288, probably a candidate for 2.2.1
|
| |
|
|
|
|
|
| |
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.
|
| |
|
|
|
|
| |
'release22-maint'.
|
|
|
|
|
|
|
| |
Encode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate.
(apparently 1.5.2 compatibility is still a goal for distutils, but
I'll wait until that gets amended on the trunk...)
|
|
|
|
|
| |
argument incorrectly.
This closes SF bug #505997.
|
|
|
|
|
|
|
| |
Backport bwarsaw's checkin of revision 1.25:
test_multipart_one_part(): Idempotency test case for a multipart/*
with only one subpart.
|
|
|
|
|
|
|
|
|
| |
Backport bwarsaw's checkin of revision 1.6:
_parsebody(): When adding subparts to a multipart container, make sure
that the first subpart added makes the payload a list object.
Otherwise, a multipart/* with only one subpart will not have the
proper structure.
|
|
|
|
|
|
|
|
|
| |
Backport lemburg's checkin of revision 1.11:
Restore Python 2.1 StringIO.py behaviour: support concatenating
Unicode string snippets to larger Unicode strings.
This fix should also go into Python 2.2.1.
|
|
|
|
|
|
|
|
|
| |
Backport lemburg's checkin of revision 1.20:
Restore Python 2.1 StringIO.py behaviour: support concatenating
Unicode string snippets to larger Unicode strings.
This fix should also go into Python 2.2.1.
|
|
|
|
| |
'release22-maint'.
|
|
|
|
| |
Fixes #500595.
|
|
|
|
|
| |
os.system().
This closes Python bug #500401, Debian bug #127507.
|
|
|
|
|
| |
instead of possibly twice by using a sequence of types to check for.
Add a message to the ValueError that can be raised.
|
|
|
|
| |
for zone hours. Fixes #499169.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thread.__bootstrap(): ignore exceptions in the self.__delete() call in
the finally clause. An exception here could happen when a daemon
thread exits after the threading module has already been trashed by
the import finalization, and there's not much of a point in trying to
insist doing the cleanup in that stage.
This should fix SF bug ##497111: active_limbo_lock error at program
exit.
2.1.2 and 2.2.1 Bugfix candidate!
(has this gone into 2.1.2 yet?)
|
|
|
|
|
|
|
|
|
|
|
|
| |
copy.py, 1.23 & test_descr.py, 1.114:
Fix for SF bug ##497426: can't deepcopy recursive new objects
deepcopy(), _reconstruct(): pass the memo to the other function, so
that recursive data structures built out of new-style objects may be
deeply copied correctly.
2.2.1 bugfix!
|
|
|
|
|
|
|
|
|
| |
_reduce(): Avoid infinite recursion in the pickler when self.__class__
doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and
posix.stat_result.
This fixes the immediate symptoms of SF bug #496873 (cPickle /
time.struct_time loop), replacing the infinite loop with an exception.
|
|
|
|
|
|
|
|
|
|
|
| |
Suggested by Pete Shinners: treat .m and .mm files as source code.
Question for Jack Jansen: is this reasonable?
Candidate for 2.2 release branch (if Jack thinks it's OK).
Not sure how this wasn't on the branch already, seeing as I thought it
went into 2.2.
|
|
|
|
|
|
|
| |
Regenerated for Linux 2.2.4.
This wasn't flagged as a bugfix candidate, but I think it probably was.
Howl if you disagree.
|
|
|
|
|
|
|
| |
Don't set passiveserver to 0 in connect(). See SF bug #495693.
This should definitely be backported to 2.2.1. I'll leave it to Jack
to decide whether he wants to fix this in MacPython 2.2.
|
|
|
|
| |
'release22-maint'.
|
|
|
|
|
| |
Utils.parseaddr('<>') -- i.e. on an empty address, returns the empty
string. Built on rfc822, this used to return None.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rfc822.AddressList incorrectly handles empty address.
"<>" is converted to None and should be "".
AddressList.__str__() fails on None.
I got an email with such an address and my program
failed processing it.
Example:
>>> import rfc822
>>> rfc822.AddressList("<>").addresslist
[('', None)]
>>> str(rfc822.AddressList("<>"))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.1/rfc822.py", line 753, in __str__
return ", ".join(map(dump_address_pair,
self.addresslist))
TypeError: sequence item 0: expected string, None found
[His solution: in the internal routine AddrlistClass.getrouteaddr(),
initialize adlist to "".]
|
| |
|
|
|
|
|
| |
- use repr instead of implied str for doubles
- updated version number to 1.0.0 (for 2.2 final)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
metaclass, reported by Dan Parisien.
Objects that are instances of custom metaclasses, i.e. whose class is
a subclass of 'type', should be pickled the same as new-style classes
(objects whose class is 'type'). This can't be done through a
dispatch table entry, and the __reduce__ trick doesn't work for these,
since it finds the unbound __reduce__ for instances of the class
(inherited from 'object'). So check explicitly using issubclass().
|
| |
|
|
|
|
| |
under regrtest.
|
|
|
|
| |
__safe_for_unpickling__ attribute.
|
|
|
|
| |
"handler()" function, not the "handle()" function.
|
| |
|
|
|
|
|
| |
to prevent mysterious errors at shutdown due to "os.unlink" turning into
"None.unlink".
|
|
|
|
|
|
| |
This way, when a socket object is deleted after the socket module has
already been zapped by module shutdown, we don't get annoying warnings
about exceptions in __del__ methods.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
crashes.
If no external zip-utility is found, the archive is created by the
zipfile module, which behaves different now than in 2.1: if the
zip-file is created in the root directory if the distribution, it will
contain an (empty) version of itself.
This triggered the above bug - so it's better to create the zip-file
far away in the TMP directory.
|
| |
|
|
|
|
|
|
|
|
|
| |
paren. This was there to worm around a stupid XEmacs bug, but since I
can't tickle the bug in newer XEmacsen (just tried w/21.4.5) it's
possible the problem has been fixed. We shouldn't have to be working
around editor bugs anyway.
If it crops up again, I'll report it (again) to the XEmacs crowd.
|