]> granicus.if.org Git - python/log
python
18 years agoSF bug #1623890, fix argument name in docstring
Neal Norwitz [Fri, 29 Dec 2006 03:01:53 +0000 (03:01 +0000)]
SF bug #1623890, fix argument name in docstring

18 years agoRemove a stray (old) macro name left around (I guess)
Neal Norwitz [Thu, 28 Dec 2006 04:39:20 +0000 (04:39 +0000)]
Remove a stray (old) macro name left around (I guess)

18 years agoPatch #1504073: Fix tarfile.open() for mode "r" with a fileobj argument.
Lars Gustäbel [Wed, 27 Dec 2006 10:30:46 +0000 (10:30 +0000)]
Patch #1504073: Fix tarfile.open() for mode "r" with a fileobj argument.

Will backport to 2.5.

18 years ago[Rest of patch #1182394] Add ._current() method so that we can use the written-in...
Andrew M. Kuchling [Wed, 27 Dec 2006 03:31:24 +0000 (03:31 +0000)]
[Rest of patch #1182394] Add ._current() method so that we can use the written-in-C .hexdigest() method

18 years ago[Part of patch #1182394] Move the HMAC blocksize to be a class-level
Andrew M. Kuchling [Wed, 27 Dec 2006 03:25:31 +0000 (03:25 +0000)]
[Part of patch #1182394] Move the HMAC blocksize to be a class-level
constant; this allows changing it in a subclass.  To accommodate this,
copy() now uses __class__.  Also add some text to a comment.

18 years agoPatch #1262036: Prevent TarFiles from being added to themselves under
Lars Gustäbel [Sat, 23 Dec 2006 17:57:23 +0000 (17:57 +0000)]
Patch #1262036: Prevent TarFiles from being added to themselves under
certain conditions.

Will backport to 2.5.

18 years agoPatch #1230446: tarfile.py: fix ExFileObject so that read() and tell()
Lars Gustäbel [Sat, 23 Dec 2006 16:40:13 +0000 (16:40 +0000)]
Patch #1230446: tarfile.py: fix ExFileObject so that read() and tell()
work correctly together with readline().

Will backport to 2.5.

18 years agoFrak; this test also fails
Andrew M. Kuchling [Fri, 22 Dec 2006 21:48:19 +0000 (21:48 +0000)]
Frak; this test also fails

18 years agoDarn; this test works when you run test_pty.py directly, but fails when regrtest...
Andrew M. Kuchling [Fri, 22 Dec 2006 19:21:27 +0000 (19:21 +0000)]
Darn; this test works when you run test_pty.py directly, but fails when regrtest runs it (the os.read() raises os.error).  I can't figure out the cause, so am commenting out the test.

18 years ago[Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a directory...
Andrew M. Kuchling [Fri, 22 Dec 2006 19:06:16 +0000 (19:06 +0000)]
[Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a directory URL is missing the trailing slash; this lets relative links work.

18 years ago[Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;
Andrew M. Kuchling [Fri, 22 Dec 2006 18:41:42 +0000 (18:41 +0000)]
[Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;
the master should close the slave fd.

Added a test to test_pty.py that reads from the master_fd after doing
a pty.fork(); without the fix it hangs forever instead of raising an
exception.  (<crossing fingers for the buildbots>)

2.5 backport candidate.

18 years ago[Bug #776202] Apply Walter Doerwald's patch to use text mode for encoded files
Andrew M. Kuchling [Fri, 22 Dec 2006 16:43:26 +0000 (16:43 +0000)]
[Bug #776202] Apply Walter Doerwald's patch to use text mode for encoded files

18 years ago[Bug #802128 continued] Modify mode depending on the process umask.
Andrew M. Kuchling [Fri, 22 Dec 2006 15:16:58 +0000 (15:16 +0000)]
[Bug #802128 continued] Modify mode depending on the process umask.

Is there really no other way to read the umask than to set it?

Hope this works on Windows...

18 years ago[Bug #802128] Make the mode argument of dumbdbm actually work the way it's
Andrew M. Kuchling [Fri, 22 Dec 2006 15:04:45 +0000 (15:04 +0000)]
[Bug #802128] Make the mode argument of dumbdbm actually work the way it's
described, and add a test for it.

2.5 bugfix candidate, maybe; arguably this patch changes the API of
dumbdbm and shouldn't be added in a point-release.

18 years ago[Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in sub-direct...
Andrew M. Kuchling [Fri, 22 Dec 2006 13:25:02 +0000 (13:25 +0000)]
[Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in sub-directories

18 years agoTypo fix
Andrew M. Kuchling [Fri, 22 Dec 2006 00:50:56 +0000 (00:50 +0000)]
Typo fix

18 years agoFix wrong markup of an argument in a method signature.
Thomas Heller [Thu, 21 Dec 2006 18:30:56 +0000 (18:30 +0000)]
Fix wrong markup of an argument in a method signature.
Will backport.

18 years agoFix typo.
Walter Dörwald [Thu, 21 Dec 2006 18:06:30 +0000 (18:06 +0000)]
Fix typo.

18 years agoMention the os.SEEK_* constants
Andrew M. Kuchling [Thu, 21 Dec 2006 13:40:29 +0000 (13:40 +0000)]
Mention the os.SEEK_* constants

18 years agoLars asked for permission on on python-dev for work on tarfile.py
Neal Norwitz [Thu, 21 Dec 2006 04:38:00 +0000 (04:38 +0000)]
Lars asked for permission on on python-dev for work on tarfile.py

18 years ago[Bug #1619680] in_dll() arguments are documented in the wrong order
Andrew M. Kuchling [Wed, 20 Dec 2006 20:20:42 +0000 (20:20 +0000)]
[Bug #1619680] in_dll() arguments are documented in the wrong order

18 years agoSome other built-in functions are described with 'sequence' arguments
Andrew M. Kuchling [Wed, 20 Dec 2006 20:11:12 +0000 (20:11 +0000)]
Some other built-in functions are described with 'sequence' arguments
that should really be 'iterable'; this commit changes them.

Did I miss any?  Did I introduce any errors?

18 years agoTwo grammar fixes
Andrew M. Kuchling [Wed, 20 Dec 2006 19:58:11 +0000 (19:58 +0000)]
Two grammar fixes

18 years ago[Bug #1619674] Make sum() use the term iterable, not sequence
Andrew M. Kuchling [Wed, 20 Dec 2006 19:57:10 +0000 (19:57 +0000)]
[Bug #1619674] Make sum() use the term iterable, not sequence

18 years ago[Apply length-checking.diff from bug #1599254]
Andrew M. Kuchling [Wed, 20 Dec 2006 19:48:20 +0000 (19:48 +0000)]
[Apply length-checking.diff from bug #1599254]

Add length checking to single-file mailbox formats: before doing a
flush() on a mailbox, seek to the end and verify its length is
unchanged, raising ExternalClashError if the file's length has
changed.

This fix avoids potential data loss if some other process appends to
the mailbox file after the table of contents has been generated;
instead of overwriting the modified file, you'll get the exception.

I also noticed that the self._lookup() call in self.flush() wasn't
necessary (everything that sets self._pending to True also calls
self.lookup()), and replaced it by an assertion.

2.5 backport candidate.

18 years agoTestcase for patch #1484695.
Georg Brandl [Wed, 20 Dec 2006 11:55:16 +0000 (11:55 +0000)]
Testcase for patch #1484695.

18 years agoBug #1590891: random.randrange don't return correct value for big number
Raymond Hettinger [Wed, 20 Dec 2006 06:42:06 +0000 (06:42 +0000)]
Bug #1590891:   random.randrange don't return correct value for big number

Needs to be backported.

18 years agoPatch #1484695: The tarfile module now raises a HeaderError exception
Georg Brandl [Tue, 19 Dec 2006 22:06:46 +0000 (22:06 +0000)]
Patch #1484695: The tarfile module now raises a HeaderError exception
if a buffer given to frombuf() is invalid.

18 years agoUpdated documentation for findCaller() to indicate that a 3-tuple is now returned...
Vinay Sajip [Tue, 19 Dec 2006 18:29:11 +0000 (18:29 +0000)]
Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple.

18 years ago[Patch #1587139 by kxroberto] Protect lock acquisition/release with
Andrew M. Kuchling [Tue, 19 Dec 2006 15:43:10 +0000 (15:43 +0000)]
[Patch #1587139 by kxroberto] Protect lock acquisition/release with
try...finally to ensure the lock is always released.  This could use
the 'with' statement, but the patch uses 'finally'.

2.5 backport candidate.

18 years ago[Patch #1600491 from Jim Jewett] Describe how to build help files on Windows
Andrew M. Kuchling [Tue, 19 Dec 2006 15:18:12 +0000 (15:18 +0000)]
[Patch #1600491 from Jim Jewett] Describe how to build help files on Windows

18 years ago[Patch #1617413 from Dug Song] Fix HTTP Basic authentication via HTTPS
Andrew M. Kuchling [Tue, 19 Dec 2006 15:11:41 +0000 (15:11 +0000)]
[Patch #1617413 from Dug Song] Fix HTTP Basic authentication via HTTPS

18 years agoComment typo
Andrew M. Kuchling [Tue, 19 Dec 2006 14:29:04 +0000 (14:29 +0000)]
Comment typo

18 years ago[Bug #1613651] Document socket.recv_into, socket.recvfrom_into
Andrew M. Kuchling [Tue, 19 Dec 2006 14:28:23 +0000 (14:28 +0000)]
[Bug #1613651] Document socket.recv_into, socket.recvfrom_into

Also, the text for recvfrom told you to read recv() for an explanation of the
'flags' argument, but recv() just pointed you at the man page.  Copied the
man-page text to recvfrom(), recvfrom_into, recv_into to avoid the pointless
redirection.

I don't have LaTeX on this machine; hope my markup is OK.

18 years ago[Patch #1618455 by Ben Maurer] Improve speed of HMAC by using str.translate()
Andrew M. Kuchling [Tue, 19 Dec 2006 14:13:05 +0000 (14:13 +0000)]
[Patch #1618455 by Ben Maurer] Improve speed of HMAC by using str.translate()
   instead of a more general XOR that has to construct a list.

Slightly modified from Maurer's patch: the _strxor() function is no longer
necessary at all.

18 years agoMake sre's SubPattern objects accept slice objects like it already accepts
Thomas Wouters [Tue, 19 Dec 2006 08:17:50 +0000 (08:17 +0000)]
Make sre's SubPattern objects accept slice objects like it already accepts
simple slices.

18 years agoFix markup
Andrew M. Kuchling [Mon, 18 Dec 2006 21:29:07 +0000 (21:29 +0000)]
Fix markup

18 years ago[Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets...
Andrew M. Kuchling [Mon, 18 Dec 2006 19:22:24 +0000 (19:22 +0000)]
[Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets > 2Gb

18 years agoDescribe new methods in Queue module
Andrew M. Kuchling [Mon, 18 Dec 2006 17:38:14 +0000 (17:38 +0000)]
Describe new methods in Queue module

18 years ago[Bug #1616726] Fix description of generator.close(); if you raise some random excepti...
Andrew M. Kuchling [Mon, 18 Dec 2006 17:22:07 +0000 (17:22 +0000)]
[Bug #1616726] Fix description of generator.close(); if you raise some random exception, the exception is raised and doesn't trigger a RuntimeError

18 years agoBump version
Andrew M. Kuchling [Mon, 18 Dec 2006 17:16:05 +0000 (17:16 +0000)]
Bump version

18 years ago[Bug #1618083] Add missing word; make a few grammar fixes
Andrew M. Kuchling [Mon, 18 Dec 2006 17:12:31 +0000 (17:12 +0000)]
[Bug #1618083] Add missing word; make a few grammar fixes

18 years ago1. Avoid hang when encountering a duplicate in a completion list. Bug 1571112.
Kurt B. Kaiser [Fri, 15 Dec 2006 05:13:11 +0000 (05:13 +0000)]
1. Avoid hang when encountering a duplicate in a completion list. Bug 1571112.
2. Duplicate some old entries from Python's NEWS to IDLE's NEWS.txt

M    AutoCompleteWindow.py
M    NEWS.txt

18 years ago[Patch #1599256 from David Watson] check that os.fsync is available before using it
Andrew M. Kuchling [Thu, 14 Dec 2006 18:57:53 +0000 (18:57 +0000)]
[Patch #1599256 from David Watson] check that os.fsync is available before using it

18 years agoAdded news on recent changes to logging
Vinay Sajip [Thu, 14 Dec 2006 08:53:55 +0000 (08:53 +0000)]
Added news on recent changes to logging

18 years agoNote that guard_warnings_filter was added in 2.6
George Yoshida [Thu, 14 Dec 2006 02:22:44 +0000 (02:22 +0000)]
Note that guard_warnings_filter was added in 2.6

18 years agoAdd test.test_support.guard_warnings_filter . This function returns a context
Brett Cannon [Wed, 13 Dec 2006 23:09:53 +0000 (23:09 +0000)]
Add test.test_support.guard_warnings_filter .  This function returns a context
manager that protects warnings.filter from being modified once the context is
exited.

18 years agoRemove unneeded imports of 'warnings'.
Brett Cannon [Wed, 13 Dec 2006 23:02:38 +0000 (23:02 +0000)]
Remove unneeded imports of 'warnings'.

18 years agoRemove an unneeded import of 'warnings'.
Brett Cannon [Wed, 13 Dec 2006 22:31:37 +0000 (22:31 +0000)]
Remove an unneeded import of 'warnings'.

18 years agoFix typo.
Walter Dörwald [Tue, 12 Dec 2006 21:55:31 +0000 (21:55 +0000)]
Fix typo.

18 years agoPatch by "cuppatea" (SF #1503765)
Vinay Sajip [Mon, 11 Dec 2006 14:26:23 +0000 (14:26 +0000)]
Patch by "cuppatea" (SF #1503765)

18 years agoPatch by Jeremy Katz (SF #1609407)
Vinay Sajip [Mon, 11 Dec 2006 14:07:16 +0000 (14:07 +0000)]
Patch by Jeremy Katz (SF #1609407)

18 years agoMove errno imports back to individual functions.
Georg Brandl [Mon, 11 Dec 2006 07:56:33 +0000 (07:56 +0000)]
Move errno imports back to individual functions.

18 years agoFix a typo
Neal Norwitz [Mon, 11 Dec 2006 01:01:06 +0000 (01:01 +0000)]
Fix a typo

18 years ago- Fix the build of the library reference in info format.
Matthias Klose [Sat, 9 Dec 2006 12:15:27 +0000 (12:15 +0000)]
- Fix the build of the library reference in info format.

18 years agoPatch #1608267: fix a race condition in os.makedirs() is the directory
Georg Brandl [Sat, 9 Dec 2006 09:08:29 +0000 (09:08 +0000)]
Patch #1608267: fix a race condition in os.makedirs() is the directory
to be created is already there.

18 years ago#1577756: svnversion doesn't react to LANG=C, use LC_ALL=C to force
Georg Brandl [Fri, 8 Dec 2006 20:46:11 +0000 (20:46 +0000)]
#1577756: svnversion doesn't react to LANG=C, use LC_ALL=C to force
English output.

18 years agoAdd test for SF bug 1576657
Raymond Hettinger [Fri, 8 Dec 2006 17:35:25 +0000 (17:35 +0000)]
Add test for SF bug 1576657

18 years agoPort Georg's dictobject.c fix keys that were tuples got unpacked on the way to settin...
Raymond Hettinger [Fri, 8 Dec 2006 04:57:50 +0000 (04:57 +0000)]
Port Georg's dictobject.c fix keys that were tuples got unpacked on the way to setting a KeyError (svn revision 52535, sf bug
1576657).

18 years agoPort Armin's fix for a dict resize vulnerability (svn revision 46589, sf bug 1456209).
Raymond Hettinger [Fri, 8 Dec 2006 04:24:33 +0000 (04:24 +0000)]
Port Armin's fix for a dict resize vulnerability (svn revision 46589, sf bug 1456209).

18 years agoEliminate two redundant calls to PyObject_Hash().
Raymond Hettinger [Fri, 8 Dec 2006 03:17:18 +0000 (03:17 +0000)]
Eliminate two redundant calls to PyObject_Hash().

18 years agoRFE #1592899: mention string.maketrans() in docs for str.translate,
Georg Brandl [Thu, 7 Dec 2006 09:30:06 +0000 (09:30 +0000)]
RFE #1592899: mention string.maketrans() in docs for str.translate,
remove reference to the old regex module in the former's doc.

18 years agoFix a bad assumption that all objects assigned to '__loader__' on a module
Brett Cannon [Wed, 6 Dec 2006 23:38:48 +0000 (23:38 +0000)]
Fix a bad assumption that all objects assigned to '__loader__' on a module
will have a '_files' attribute.

18 years agoPatch #1610437: fix a tarfile bug with long filename headers.
Georg Brandl [Wed, 6 Dec 2006 22:21:18 +0000 (22:21 +0000)]
Patch #1610437: fix a tarfile bug with long filename headers.

18 years agoFix pickle doc typo
George Yoshida [Tue, 5 Dec 2006 05:39:50 +0000 (05:39 +0000)]
Fix pickle doc typo
Patch #1608758

18 years agofix a versionchanged tag
George Yoshida [Mon, 4 Dec 2006 11:41:54 +0000 (11:41 +0000)]
fix a versionchanged tag

18 years ago- Fix build failure on kfreebsd and on the hurd.
Matthias Klose [Sun, 3 Dec 2006 17:16:41 +0000 (17:16 +0000)]
- Fix build failure on kfreebsd and on the hurd.

18 years agoPatch #1371075: Make ConfigParser accept optional dict type
Martin v. Löwis [Sun, 3 Dec 2006 12:01:53 +0000 (12:01 +0000)]
Patch #1371075: Make ConfigParser accept optional dict type
for ordering, sorting, etc.

18 years agoPatch #1544279: Improve thread-safety of the socket module by moving
Martin v. Löwis [Sun, 3 Dec 2006 11:23:45 +0000 (11:23 +0000)]
Patch #1544279: Improve thread-safety of the socket module by moving
the sock_addr_t storage out of the socket object.
Will backport to 2.5.

18 years agoMove IDLE news into NEWS.txt.
Martin v. Löwis [Sun, 3 Dec 2006 09:54:46 +0000 (09:54 +0000)]
Move IDLE news into NEWS.txt.

18 years agoAdd name to credits (for untokenize).
Raymond Hettinger [Sat, 2 Dec 2006 02:00:39 +0000 (02:00 +0000)]
Add name to credits (for untokenize).

18 years agoMove xdrlib tests from the module into a separate test script,
Walter Dörwald [Fri, 1 Dec 2006 16:59:47 +0000 (16:59 +0000)]
Move xdrlib tests from the module into a separate test script,
port the tests to unittest and add a few new tests.

18 years agoUpdate version.
Guido van Rossum [Thu, 30 Nov 2006 19:23:13 +0000 (19:23 +0000)]
Update version.

18 years agoForgot a case where the locals can now be a general mapping
Armin Rigo [Wed, 29 Nov 2006 21:59:22 +0000 (21:59 +0000)]
Forgot a case where the locals can now be a general mapping
instead of just a dictionary.  (backporting...)

18 years agoFix #1563807: _ctypes built on AIX fails with ld ffi error.
Thomas Heller [Tue, 28 Nov 2006 20:21:54 +0000 (20:21 +0000)]
Fix #1563807: _ctypes built on AIX fails with ld ffi error.

The contents of ffi_darwin.c must be compiled unless __APPLE__ is
defined and __ppc__ is not.

Will backport.

18 years agoBug #1603789: grammatical error in Tkinter docs.
Georg Brandl [Mon, 27 Nov 2006 18:46:21 +0000 (18:46 +0000)]
Bug #1603789: grammatical error in Tkinter docs.

18 years agoBug #1603321: make pstats.Stats accept Unicode file paths.
Georg Brandl [Sun, 26 Nov 2006 19:27:47 +0000 (19:27 +0000)]
Bug #1603321: make pstats.Stats accept Unicode file paths.

18 years agoDisable _XOPEN_SOURCE on NetBSD 1.x.
Martin v. Löwis [Sat, 25 Nov 2006 15:39:19 +0000 (15:39 +0000)]
Disable _XOPEN_SOURCE on NetBSD 1.x.
Will backport to 2.5

18 years agoFix bug #1598620: A ctypes structure cannot contain itself.
Thomas Heller [Fri, 24 Nov 2006 18:45:39 +0000 (18:45 +0000)]
Fix bug #1598620: A ctypes structure cannot contain itself.

18 years ago... and the number of the counting shall be three.
Raymond Hettinger [Thu, 23 Nov 2006 21:35:19 +0000 (21:35 +0000)]
... and the number of the counting shall be three.

18 years agoFix and/add typo
Raymond Hettinger [Thu, 23 Nov 2006 21:06:03 +0000 (21:06 +0000)]
Fix and/add typo

18 years agoa test for an error condition not covered by existing tests
Michael W. Hudson [Thu, 23 Nov 2006 13:54:04 +0000 (13:54 +0000)]
a test for an error condition not covered by existing tests
(noticed this when writing the equivalent code for pypy)

18 years agoBug #1601630: little improvement to getopt docs
Georg Brandl [Thu, 23 Nov 2006 09:55:07 +0000 (09:55 +0000)]
Bug #1601630: little improvement to getopt docs

18 years agoChange decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
Walter Dörwald [Thu, 23 Nov 2006 05:03:56 +0000 (05:03 +0000)]
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
SF bug #1601501.

18 years agoPatch #1362975: Rework CodeContext indentation algorithm to
Martin v. Löwis [Wed, 22 Nov 2006 08:50:02 +0000 (08:50 +0000)]
Patch #1362975: Rework CodeContext indentation algorithm to
avoid hard-coding pixel widths. Also make the text's scrollbar
a child of the text frame, not the top widget.

18 years agoConditionalize definition of _CRT_SECURE_NO_DEPRECATE
Martin v. Löwis [Tue, 21 Nov 2006 18:20:25 +0000 (18:20 +0000)]
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.

18 years agoFix SF #1599879, socket.gethostname should ref getfqdn directly.
Neal Norwitz [Tue, 21 Nov 2006 06:23:44 +0000 (06:23 +0000)]
Fix SF #1599879, socket.gethostname should ref getfqdn directly.

18 years agoOops, convert tabs to spaces
Neal Norwitz [Tue, 21 Nov 2006 05:51:51 +0000 (05:51 +0000)]
Oops, convert tabs to spaces

18 years agoBug #1599782: Fix segfault on bsddb.db.DB().type().
Neal Norwitz [Tue, 21 Nov 2006 05:26:22 +0000 (05:26 +0000)]
Bug #1599782: Fix segfault on bsddb.db.DB().type().

The problem is that _DB_get_type() can't be called without the GIL
because it calls a bunch of PyErr_* APIs when an error occurs.
There were no other cases in this file that it was called without the GIL.
Removing the BEGIN/END THREAD around _DB_get_type() made everything work.

Will backport.

18 years agoJython compatibility fix: if uu.decode() opened its output file, be sure to
Andrew M. Kuchling [Mon, 20 Nov 2006 13:39:37 +0000 (13:39 +0000)]
Jython compatibility fix: if uu.decode() opened its output file, be sure to
close it.

18 years agoFurther markup fix.
Georg Brandl [Mon, 20 Nov 2006 07:12:58 +0000 (07:12 +0000)]
Further markup fix.

18 years agomarkup fix
George Yoshida [Mon, 20 Nov 2006 02:24:48 +0000 (02:24 +0000)]
markup fix

18 years agoSpeed up function calls into the math module by using METH_O.
Neal Norwitz [Sun, 19 Nov 2006 21:26:53 +0000 (21:26 +0000)]
Speed up function calls into the math module by using METH_O.
There should be no functional changes. However, the error msgs are
slightly different.  Also verified that the module dict is not NULL on init.

18 years agoPatch #1070046: Marshal new-style objects like InstanceType
Martin v. Löwis [Sun, 19 Nov 2006 18:51:54 +0000 (18:51 +0000)]
Patch #1070046: Marshal new-style objects like InstanceType
in xmlrpclib.

18 years agoAdd a test case of data w/ bytes > 127
Andrew M. Kuchling [Sun, 19 Nov 2006 18:40:01 +0000 (18:40 +0000)]
Add a test case of data w/ bytes > 127

18 years agoMake cStringIO.truncate raise IOError for negative
Martin v. Löwis [Sun, 19 Nov 2006 10:41:41 +0000 (10:41 +0000)]
Make cStringIO.truncate raise IOError for negative
arguments (even for -1). Fixes the last bit of
#1359365.

18 years agoPatch [ 1586791 ] better error msgs for some TypeErrors
Georg Brandl [Sun, 19 Nov 2006 08:48:30 +0000 (08:48 +0000)]
Patch [ 1586791 ] better error msgs for some TypeErrors

18 years agoExpand checking in test_sha
Andrew M. Kuchling [Sat, 18 Nov 2006 22:17:33 +0000 (22:17 +0000)]
Expand checking in test_sha

18 years agoPatch #1472877: Fix Tix subwidget name resolution.
Martin v. Löwis [Sat, 18 Nov 2006 18:42:11 +0000 (18:42 +0000)]
Patch #1472877: Fix Tix subwidget name resolution.
Will backport to 2.5.

18 years agoPatch #1594554: Always close a tkSimpleDialog on ok(), even
Martin v. Löwis [Sat, 18 Nov 2006 18:05:35 +0000 (18:05 +0000)]
Patch #1594554: Always close a tkSimpleDialog on ok(), even
if an exception occurs.
Will backport to 2.5.