]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
19 years agoBackport:
Neal Norwitz [Wed, 25 Jan 2006 05:29:17 +0000 (05:29 +0000)] 
Backport:
Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.

19 years agobackport of commit 42169
Gregory P. Smith [Tue, 24 Jan 2006 10:02:02 +0000 (10:02 +0000)] 
backport of commit 42169

adds support for compiling against BerkeleyDB 4.4.x

19 years agoFix SF #1412837, compile failed with Watcom compiler
Neal Norwitz [Tue, 24 Jan 2006 06:08:23 +0000 (06:08 +0000)] 
Fix SF #1412837, compile failed with Watcom compiler

19 years agoCorrect misspellings.
Georg Brandl [Mon, 23 Jan 2006 22:00:32 +0000 (22:00 +0000)] 
Correct misspellings.

19 years agoBackport typo fixes.
Georg Brandl [Mon, 23 Jan 2006 21:34:21 +0000 (21:34 +0000)] 
Backport typo fixes.

19 years agoBackport: This should fix a mem leak on the Mac. Brett tested it.
Neal Norwitz [Mon, 23 Jan 2006 07:37:28 +0000 (07:37 +0000)] 
Backport: This should fix a mem leak on the Mac.  Brett tested it.

19 years agoAnother typo.
Georg Brandl [Sun, 22 Jan 2006 20:47:30 +0000 (20:47 +0000)] 
Another typo.

19 years agotypo
Georg Brandl [Sun, 22 Jan 2006 19:38:07 +0000 (19:38 +0000)] 
typo

19 years agoCorrect several typos in libos.tex. Bug #1412227.
Georg Brandl [Sun, 22 Jan 2006 19:35:04 +0000 (19:35 +0000)] 
Correct several typos in libos.tex. Bug #1412227.

19 years agoTypo
Georg Brandl [Sun, 22 Jan 2006 16:11:04 +0000 (16:11 +0000)] 
Typo

19 years agoBackport winreg documentation quirk fix.
Georg Brandl [Sun, 22 Jan 2006 13:52:08 +0000 (13:52 +0000)] 
Backport winreg documentation quirk fix.

19 years agoRemove reference to Grail and Netscape 2.0 from cgi docs.
Georg Brandl [Sun, 22 Jan 2006 13:49:24 +0000 (13:49 +0000)] 
Remove reference to Grail and Netscape 2.0 from cgi docs.

19 years agoBug #1378679: backport bugfix of #974757.
Georg Brandl [Fri, 20 Jan 2006 22:00:43 +0000 (22:00 +0000)] 
Bug #1378679: backport bugfix of #974757.

19 years agoPatch #1410783: add documentation links for static/classmethod
Georg Brandl [Fri, 20 Jan 2006 21:34:01 +0000 (21:34 +0000)] 
Patch #1410783: add documentation links for static/classmethod

19 years agoRemove NEWS entry of reverted checkin.
Georg Brandl [Fri, 20 Jan 2006 21:19:52 +0000 (21:19 +0000)] 
Remove NEWS entry of reverted checkin.

19 years agoDocument supported schemes.
Georg Brandl [Fri, 20 Jan 2006 21:16:54 +0000 (21:16 +0000)] 
Document supported schemes.

19 years agoRevert feature checkin.
Georg Brandl [Fri, 20 Jan 2006 21:09:55 +0000 (21:09 +0000)] 
Revert feature checkin.

19 years agoReverse checkin. This is definitely a new feature.
Georg Brandl [Fri, 20 Jan 2006 21:08:54 +0000 (21:08 +0000)] 
Reverse checkin. This is definitely a new feature.

19 years agoPatch #1388073: Make unittest.TestCase easier to subclass
Georg Brandl [Fri, 20 Jan 2006 17:55:02 +0000 (17:55 +0000)] 
Patch #1388073: Make unittest.TestCase easier to subclass

19 years agoAdd markup to a "Python Standard Library" doc reference I added for bug 839585.
Georg Brandl [Fri, 20 Jan 2006 17:51:40 +0000 (17:51 +0000)] 
Add markup to a "Python Standard Library" doc reference I added for bug 839585.

19 years agoCheckin the test of patch #1400181.
Georg Brandl [Fri, 20 Jan 2006 17:48:57 +0000 (17:48 +0000)] 
Checkin the test of patch #1400181.

19 years agoBug #1407902: Added support for sftp:// URIs to urlparse.
Georg Brandl [Fri, 20 Jan 2006 17:24:34 +0000 (17:24 +0000)] 
Bug #1407902: Added support for sftp:// URIs to urlparse.

19 years agoReadd bug report note.
Georg Brandl [Fri, 20 Jan 2006 13:38:41 +0000 (13:38 +0000)] 
Readd bug report note.

19 years agoBug #1402224: Add warning to dl docs about crashes.
Georg Brandl [Fri, 20 Jan 2006 09:35:04 +0000 (09:35 +0000)] 
Bug #1402224: Add warning to dl docs about crashes.

19 years agoBug #1396471: Document that Windows' ftell() can return invalid
Georg Brandl [Fri, 20 Jan 2006 09:14:41 +0000 (09:14 +0000)] 
Bug #1396471: Document that Windows' ftell() can return invalid
values for text files with UNIX-style line endings.

19 years agoBug #1371247: Update Windows LCIDs in locale.py.
Georg Brandl [Fri, 20 Jan 2006 09:07:55 +0000 (09:07 +0000)] 
Bug #1371247: Update Windows LCIDs in  locale.py.

19 years agoadd missing version identification
Fred Drake [Fri, 20 Jan 2006 03:31:17 +0000 (03:31 +0000)] 
add missing version identification

19 years agoSF bug #1347874; FeedParser does not comply with RFC2822.
Barry Warsaw [Tue, 17 Jan 2006 05:59:18 +0000 (05:59 +0000)] 
SF bug #1347874; FeedParser does not comply with RFC2822.

Change headerRE as suggested in the bug report, so that single character
headers are accepted.  Test case added too.  Backported from the trunk.

19 years agoUpdate documentation for email.Message.get_filename().
Barry Warsaw [Tue, 17 Jan 2006 05:29:56 +0000 (05:29 +0000)] 
Update documentation for email.Message.get_filename().

19 years agoSF Bug #1407069, Remove extra semi-colon if there is no long long
Neal Norwitz [Tue, 17 Jan 2006 05:28:07 +0000 (05:28 +0000)] 
SF Bug #1407069, Remove extra semi-colon if there is no long long

19 years agoPorted 42076 from the trunk.
Barry Warsaw [Tue, 17 Jan 2006 05:09:19 +0000 (05:09 +0000)] 
Ported 42076 from the trunk.

SF bug #1403349 solution for email 3.0; some MUAs use the 'file' parameter
name in the Content-Distribution header, so Message.get_filename() should fall
back to using that.

Also, bump the email package version to 3.0.1 for eventual release.  Of
course, add a test case too.

XXX Need to update the documentation.

19 years agoExceptions raised during renaming in rotating file handlers are now passed to handleE...
Vinay Sajip [Mon, 16 Jan 2006 09:28:59 +0000 (09:28 +0000)] 
Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).

19 years agoTimedRotatingFileHandler now calculates next rollover from previous rollover rather...
Vinay Sajip [Mon, 16 Jan 2006 09:14:47 +0000 (09:14 +0000)] 
TimedRotatingFileHandler now calculates next rollover from previous rollover rather than current time.

19 years agoFixed bug in time-to-midnight calculation.
Vinay Sajip [Mon, 16 Jan 2006 09:10:05 +0000 (09:10 +0000)] 
Fixed bug in time-to-midnight calculation.

19 years agoRemove dots in \version{added,changed} arguments.
Georg Brandl [Sun, 15 Jan 2006 07:55:42 +0000 (07:55 +0000)] 
Remove dots in \version{added,changed} arguments.

19 years agoFix typo
Neal Norwitz [Sat, 14 Jan 2006 07:03:44 +0000 (07:03 +0000)] 
Fix typo

19 years agoBackport:
Neal Norwitz [Sat, 14 Jan 2006 07:02:53 +0000 (07:02 +0000)] 
Backport:
Fix SF bug #1402308, segfault when using mmap(-1, ...)

This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.

19 years agoBug #1394565: SimpleHTTPServer now doesn't choke on query paramters
Georg Brandl [Fri, 13 Jan 2006 17:06:02 +0000 (17:06 +0000)] 
Bug #1394565: SimpleHTTPServer now doesn't choke on query paramters
any more.

19 years agoBug #1403410: The warnings module now doesn't get confused
Georg Brandl [Fri, 13 Jan 2006 16:59:54 +0000 (16:59 +0000)] 
Bug #1403410: The warnings module now doesn't get confused
when it can't find out the module name it generates a warning for.

19 years agoTest curses.setupterm() before initscr().
Georg Brandl [Thu, 12 Jan 2006 15:41:15 +0000 (15:41 +0000)] 
Test curses.setupterm() before initscr().

19 years agoBug #1397205: doc typo
Georg Brandl [Tue, 10 Jan 2006 21:37:44 +0000 (21:37 +0000)] 
Bug #1397205: doc typo

19 years agoBackport:
Neal Norwitz [Tue, 10 Jan 2006 07:08:06 +0000 (07:08 +0000)] 
Backport:
SF bug #1400822, Extended version of _curses over{lay,write} does not work

Fix signatures to conform to doc (also fixed ungetmouse()).

19 years agoBackport:
Neal Norwitz [Tue, 10 Jan 2006 06:05:57 +0000 (06:05 +0000)] 
Backport:
- Patch #1400181, fix unicode string formatting to not use the locale.
  This is how string objects work.  u'%f' could use , instead of .
  for the decimal point.  Now both strings and unicode always use periods.

This is the code that would break:

    import locale
    locale.setlocale(locale.LC_NUMERIC, 'de_DE')
    u'%.1f' % 1.0
    assert '1.0' == u'%.1f' % 1.0

I couldn't create a test case which fails, but this fixes the problem.
(tested in interpreter and reported fixed by others)

19 years agoBackport:
Neal Norwitz [Mon, 9 Jan 2006 07:10:56 +0000 (07:10 +0000)] 
Backport:
Fix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
configure would break checking curses.h.

Also fix whitespace consistency which I forgot to mention in the head checkin.

19 years agoBackport:
Neal Norwitz [Mon, 9 Jan 2006 06:29:16 +0000 (06:29 +0000)] 
Backport:
Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.

19 years agoPatch #881820: look for openpty and forkpty also in libbsd.
Martin v. Löwis [Sun, 8 Jan 2006 10:07:57 +0000 (10:07 +0000)] 
Patch #881820: look for openpty and forkpty also in libbsd.

19 years agoSkip this test on Darwin. It's skipped on the trunk and is listed as
Skip Montanaro [Sat, 7 Jan 2006 19:08:55 +0000 (19:08 +0000)] 
Skip this test on Darwin.  It's skipped on the trunk and is listed as
an expected skip in regrtest.py.  Make it so.

19 years agoIgnore pyo files
Neal Norwitz [Fri, 6 Jan 2006 05:25:01 +0000 (05:25 +0000)] 
Ignore pyo files

19 years agoBackport:
Neal Norwitz [Fri, 6 Jan 2006 04:40:20 +0000 (04:40 +0000)] 
Backport:
initscr() will exit if there's an error.  Try to catch the obvious failure
cases if TERM isn't set or is unknown (perhaps we should only check if
unset or empty?)

Skip the test if TERM isn't set.  This seems to occur when running under
buildbot and presumably cron.

For some more info check here:
http://mail.python.org/pipermail/python-checkins/2006-January/048704.html

19 years agobackport: squash compiler warning on Mac OSX 10.3
Skip Montanaro [Thu, 5 Jan 2006 10:51:18 +0000 (10:51 +0000)] 
backport: squash compiler warning on Mac OSX 10.3

19 years agoBackport 38951:
Neal Norwitz [Thu, 5 Jan 2006 08:00:55 +0000 (08:00 +0000)] 
Backport 38951:

fixes pybsddb SF bug id 1215432.  DB.associate() would crash when a
DBError was supposed to be raised.

19 years agoBackport: If the audio file does not exist, the test should be skipped.
Neal Norwitz [Thu, 5 Jan 2006 07:17:35 +0000 (07:17 +0000)] 
Backport: If the audio file does not exist, the test should be skipped.

19 years agoBackport: Skip test_curses if stdin is not a tty (like when run from cron or buildbot).
Neal Norwitz [Thu, 5 Jan 2006 06:10:16 +0000 (06:10 +0000)] 
Backport: Skip test_curses if stdin is not a tty (like when run from cron or buildbot).

19 years agoBackport: Fix errors on 64-bit platforms. (There are still some test problems
Neal Norwitz [Thu, 5 Jan 2006 05:45:12 +0000 (05:45 +0000)] 
Backport: Fix errors on 64-bit platforms.  (There are still some test problems

19 years agoBug #139571: wrong LaTeX label
Georg Brandl [Wed, 4 Jan 2006 21:04:24 +0000 (21:04 +0000)] 
Bug #139571: wrong LaTeX label

19 years agoIgnore .svn instead of CVS now.
Martin v. Löwis [Tue, 3 Jan 2006 06:30:40 +0000 (06:30 +0000)] 
Ignore .svn instead of CVS now.

19 years agobug #1395597: doc typo
Georg Brandl [Mon, 2 Jan 2006 22:07:25 +0000 (22:07 +0000)] 
bug #1395597: doc typo

19 years agomerge revision 41866 from trunk:
Fred Drake [Mon, 2 Jan 2006 07:25:08 +0000 (07:25 +0000)] 
merge revision 41866 from trunk:
update to reflect move to Subversion

19 years agoBug #1394868: doc typos
Georg Brandl [Sun, 1 Jan 2006 21:35:41 +0000 (21:35 +0000)] 
Bug #1394868: doc typos

19 years agoPatch by Ori Avtalion to fix a minor display glitch in the RightArrow.
Barry Warsaw [Sun, 1 Jan 2006 21:33:50 +0000 (21:33 +0000)] 
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.

I will port forward to 2.5.

19 years agoWork around test_locale failing on Solaris 10.
Martin v. Löwis [Fri, 30 Dec 2005 12:52:13 +0000 (12:52 +0000)] 
Work around test_locale failing on Solaris 10.

19 years agoUse -xcode=pic32 for SunPro.
Martin v. Löwis [Fri, 30 Dec 2005 12:32:48 +0000 (12:32 +0000)] 
Use -xcode=pic32 for SunPro.

19 years agobackport Sniffer class fix (rev 41838)
Skip Montanaro [Wed, 28 Dec 2005 15:43:50 +0000 (15:43 +0000)] 
backport Sniffer class fix (rev 41838)

19 years agoBug #999767: make setup.py obey Setup.local wrt shared modules
Georg Brandl [Tue, 27 Dec 2005 18:24:30 +0000 (18:24 +0000)] 
Bug #999767: make setup.py obey Setup.local wrt shared modules

19 years ago[ 959576 ] Can't build Python on POSIX w/o $HOME (backport)
Georg Brandl [Tue, 27 Dec 2005 17:37:16 +0000 (17:37 +0000)] 
[ 959576 ] Can't build Python on POSIX w/o $HOME (backport)

19 years agoRevert checkin for bug #1386675.
Georg Brandl [Tue, 27 Dec 2005 17:26:16 +0000 (17:26 +0000)] 
Revert checkin for bug #1386675.

19 years agoBug #1375599: Correct grammar error in tutorial
Georg Brandl [Tue, 27 Dec 2005 00:06:18 +0000 (00:06 +0000)] 
Bug #1375599:  Correct grammar error in tutorial

19 years agoBug #1386675: winreg raises WindowsErrors (backport)
Georg Brandl [Tue, 27 Dec 2005 00:03:19 +0000 (00:03 +0000)] 
Bug #1386675: winreg raises WindowsErrors (backport)

19 years agoBug #1389673: document correct return value of set methods (backport)
Georg Brandl [Mon, 26 Dec 2005 23:56:08 +0000 (23:56 +0000)] 
Bug #1389673: document correct return value of set methods (backport)

19 years agoBug #954981: urllib2 example wont work w/o ssl (backport)
Georg Brandl [Mon, 26 Dec 2005 23:36:49 +0000 (23:36 +0000)] 
Bug #954981: urllib2 example wont work w/o ssl (backport)

19 years agoBug #839075 (backport): document that highly recursive data cannot be pickled
Georg Brandl [Mon, 26 Dec 2005 23:27:50 +0000 (23:27 +0000)] 
Bug #839075 (backport): document that highly recursive data cannot be pickled

19 years agoBug #839585: mention % string operator in language ref (backport)
Georg Brandl [Mon, 26 Dec 2005 23:15:50 +0000 (23:15 +0000)] 
Bug #839585: mention % string operator in language ref (backport)

19 years agoBug #756104 (backport): document that bufsize in socket.recv() should be small
Georg Brandl [Mon, 26 Dec 2005 23:07:52 +0000 (23:07 +0000)] 
Bug #756104 (backport): document that bufsize in socket.recv() should be small

19 years agoBug #649974 (backport): make docstrings for url2pathname consistent
Georg Brandl [Mon, 26 Dec 2005 22:54:01 +0000 (22:54 +0000)] 
Bug #649974 (backport): make docstrings for url2pathname consistent

19 years agoBackport: Patch #1117398: fix cookielib LoadError
Neal Norwitz [Fri, 23 Dec 2005 21:32:06 +0000 (21:32 +0000)] 
Backport: Patch #1117398: fix cookielib LoadError

19 years agoTypo fix
Andrew M. Kuchling [Thu, 22 Dec 2005 19:31:45 +0000 (19:31 +0000)] 
Typo fix

19 years agoTypo fix
Andrew M. Kuchling [Thu, 22 Dec 2005 18:56:09 +0000 (18:56 +0000)] 
Typo fix

19 years ago[ 1388141 ] Minor error in md5 docs (backport)
Georg Brandl [Thu, 22 Dec 2005 16:15:08 +0000 (16:15 +0000)] 
1388141 ] Minor error in md5 docs (backport)

19 years agoBug #1373197: note that os.makedirs does not work with '..'
Georg Brandl [Sat, 17 Dec 2005 17:47:43 +0000 (17:47 +0000)] 
Bug #1373197: note that os.makedirs does not work with '..'

19 years agoBug #1343671: clarify docs for os.removedirs
Georg Brandl [Sat, 17 Dec 2005 17:31:07 +0000 (17:31 +0000)] 
Bug #1343671: clarify docs for os.removedirs

19 years agoBug #1106572: clarify os.makedirs docs wrt umask
Georg Brandl [Sat, 17 Dec 2005 17:14:24 +0000 (17:14 +0000)] 
Bug #1106572: clarify os.makedirs docs wrt umask

19 years agoBug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'
Hye-Shik Chang [Sat, 17 Dec 2005 04:38:31 +0000 (04:38 +0000)] 
Bug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'
just like string codecs.

19 years agoPatch #1360443: Make SimpleHTTPServer display unencoded directory names.
Georg Brandl [Fri, 16 Dec 2005 19:36:24 +0000 (19:36 +0000)] 
Patch #1360443: Make SimpleHTTPServer display unencoded directory names.

19 years agoPatch #1377848: typo in pyexpat docs
Georg Brandl [Fri, 16 Dec 2005 19:23:45 +0000 (19:23 +0000)] 
Patch #1377848: typo in pyexpat docs

19 years agoPatch #1376914: traceback.format_exc() has no "file" argument.
Georg Brandl [Fri, 16 Dec 2005 19:21:32 +0000 (19:21 +0000)] 
Patch #1376914: traceback.format_exc() has no "file" argument.

19 years agoBug #1378455: a problem of urllib using open_local_file (backport)
Georg Brandl [Thu, 15 Dec 2005 21:59:16 +0000 (21:59 +0000)] 
Bug #1378455: a problem of urllib using open_local_file (backport)

19 years agoRemove reference to open() mode "t" as it is platform dependent.
Georg Brandl [Thu, 15 Dec 2005 21:34:53 +0000 (21:34 +0000)] 
Remove reference to open() mode "t" as it is platform dependent.

19 years agoBug #1290333: Added a workaround for cjkcodecs' _codecs_cn module
Hye-Shik Chang [Mon, 12 Dec 2005 11:48:32 +0000 (11:48 +0000)] 
Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn module
build problem on AIX.

19 years agoBug #1368481: python.dir refers to whatsnew23
Georg Brandl [Fri, 2 Dec 2005 13:43:10 +0000 (13:43 +0000)] 
Bug #1368481: python.dir refers to whatsnew23

19 years agofix recurring typo: occured --> occurred
Fred Drake [Wed, 30 Nov 2005 07:36:01 +0000 (07:36 +0000)] 
fix recurring typo: occured --> occurred
(already fixed in Python trunk)

19 years agofix indentation; this could not have passed
Fred Drake [Wed, 30 Nov 2005 07:34:04 +0000 (07:34 +0000)] 
fix indentation; this could not have passed

19 years agoBackport checkin:
Walter Dörwald [Mon, 28 Nov 2005 22:16:22 +0000 (22:16 +0000)] 
Backport checkin:
Fix leaked reference to None.

19 years agobackport: bug #1365984, urllib and data: URLs^^
Georg Brandl [Sat, 26 Nov 2005 16:51:02 +0000 (16:51 +0000)] 
backport: bug #1365984, urllib and data: URLs^^

19 years agoBug #698706: imaplib parsing INTERNALDATE backport
Georg Brandl [Sat, 26 Nov 2005 16:32:36 +0000 (16:32 +0000)] 
Bug #698706: imaplib parsing INTERNALDATE backport

19 years agoPatch #1227966: Do not defined _XOPEN_SOURCE_EXTENDED on Solaris 10.
Martin v. Löwis [Sat, 26 Nov 2005 11:38:37 +0000 (11:38 +0000)] 
Patch #1227966: Do not defined _XOPEN_SOURCE_EXTENDED on Solaris 10.
Also set _XOPEN_SOURCE to 500.

19 years agoBackport checkin:
Walter Dörwald [Fri, 25 Nov 2005 17:18:54 +0000 (17:18 +0000)] 
Backport checkin:
SF patch #1364946: Add a reference link from the dcoumentation of the encode
and decode methods to the documentation of the default error handlers.

19 years agoBackport checkin:
Walter Dörwald [Fri, 25 Nov 2005 17:02:02 +0000 (17:02 +0000)] 
Backport checkin:
SF patch #1364545: test_cmd_line.py relied on english error messages when
invoking the Python interpreter (which didn't work on non-english Windows
versions). Check return codes instead.

19 years agobug #1281408: make Py_BuildValue work with unsigned longs and long longs
Georg Brandl [Thu, 24 Nov 2005 15:38:54 +0000 (15:38 +0000)] 
bug #1281408: make Py_BuildValue work with unsigned longs and long longs

19 years agoBackport of patch #1314396: prevent threading.Thread.join() from blocking if a
Brett Cannon [Wed, 23 Nov 2005 02:19:18 +0000 (02:19 +0000)] 
Backport of patch #1314396: prevent threading.Thread.join() from blocking if a
previous call raised an exception (e.g., calling it with an illegal argument).

19 years agoBug #1357604: os.makedirs handles UNC paths
Georg Brandl [Tue, 22 Nov 2005 20:14:30 +0000 (20:14 +0000)] 
Bug #1357604: os.makedirs handles UNC paths