]> granicus.if.org Git - python/log
python
16 years ago#3157: Fix docstrings for cursor methods.
Georg Brandl [Sun, 22 Jun 2008 18:31:30 +0000 (18:31 +0000)]
#3157: Fix docstrings for cursor methods.

16 years agoIssue 3110: Crash with weakref subclass,
Amaury Forgeot d'Arc [Mon, 16 Jun 2008 19:22:42 +0000 (19:22 +0000)]
Issue 3110: Crash with weakref subclass,
seen after a "import multiprocessing.reduction"

An instance of a weakref subclass can have attributes.
If such a weakref holds the only strong reference to the object,
deleting the weakref will delete the object. In this case,
the callback must not be called, because the ref object is being deleted!

Backport of r34309

16 years agoIssue #3116 and #1792: Fix quadratic behavior in marshal.dumps().
Raymond Hettinger [Mon, 16 Jun 2008 01:49:18 +0000 (01:49 +0000)]
Issue #3116 and #1792: Fix quadratic behavior in marshal.dumps().

16 years ago#3117: backport r55087, fixes segfault with lambda (None,): None.
Georg Brandl [Sun, 15 Jun 2008 19:53:12 +0000 (19:53 +0000)]
#3117: backport r55087, fixes segfault with lambda (None,): None.

16 years agoFix tkinter sequence passing. #2906. Backport from r63914.
Georg Brandl [Tue, 3 Jun 2008 10:26:21 +0000 (10:26 +0000)]
Fix tkinter sequence passing. #2906. Backport from r63914.

16 years ago- Issue #2588, #2589: Fix potential integer underflow and overflow
Gregory P. Smith [Mon, 2 Jun 2008 00:07:25 +0000 (00:07 +0000)]
- Issue #2588, #2589: Fix potential integer underflow and overflow
  conditions in the PyOS_vsnprintf C API function.

This is a backport of r63728 and r63734 from trunk.

16 years agoBackport r62724 from trunk. Fixes issue 2791. subprocess.Popen.communicate
Gregory P. Smith [Sun, 1 Jun 2008 23:44:46 +0000 (23:44 +0000)]
Backport r62724 from trunk.  Fixes issue 2791.  subprocess.Popen.communicate
now closes its stdout and stderr fds as soon as it is finished with them.

16 years agoBackport r63776: tkinter fixes.
Georg Brandl [Sat, 31 May 2008 18:34:27 +0000 (18:34 +0000)]
Backport r63776: tkinter fixes.

16 years agoInclude all licenses of the packages that we include.
Martin v. Löwis [Sun, 25 May 2008 12:02:29 +0000 (12:02 +0000)]
Include all licenses of the packages that we include.

16 years agoPatch #2111: Avoid mmap segfault when modifying a PROT_READ block.
Martin v. Löwis [Fri, 23 May 2008 14:30:44 +0000 (14:30 +0000)]
Patch #2111: Avoid mmap segfault when modifying a PROT_READ block.

16 years agofix issue2858: potential memory corruption when any of the bsddb.db.*
Gregory P. Smith [Sat, 17 May 2008 06:46:39 +0000 (06:46 +0000)]
fix issue2858: potential memory corruption when any of the bsddb.db.*
constructors raised an exception.  backportes from trunk c63403.

16 years ago#2803: fix heappush invocation (backport).
Georg Brandl [Sun, 11 May 2008 15:21:42 +0000 (15:21 +0000)]
#2803: fix heappush invocation (backport).

16 years agoBackport of revision 62854
Ronald Oussoren [Thu, 8 May 2008 10:35:13 +0000 (10:35 +0000)]
Backport of revision 62854

16 years agoFix os.walk docstring example - issue2707
Gregory P. Smith [Tue, 6 May 2008 07:06:44 +0000 (07:06 +0000)]
Fix os.walk docstring example - issue2707

16 years agoBackport r61468 from trunk: Improves the text of the IOError raised
Gregory P. Smith [Sat, 3 May 2008 07:12:23 +0000 (07:12 +0000)]
Backport r61468 from trunk: Improves the text of the IOError raised
when open() returns EINVAL.  See issue2158.

16 years agoFix issue 2520 (cannot import macerrors)
Ronald Oussoren [Fri, 2 May 2008 21:54:32 +0000 (21:54 +0000)]
Fix issue 2520 (cannot import macerrors)

16 years agoBackport of revision 62648
Ronald Oussoren [Fri, 2 May 2008 21:46:55 +0000 (21:46 +0000)]
Backport of revision 62648

16 years agoIssue #2682: ctypes callback functions no longer contain a cyclic
Thomas Heller [Fri, 25 Apr 2008 19:55:19 +0000 (19:55 +0000)]
Issue #2682: ctypes callback functions no longer contain a cyclic
reference to themselves.

Backport from trunk.

16 years agoIssue #2670: urllib2.build_opener() failed when two handlers
Amaury Forgeot d'Arc [Tue, 22 Apr 2008 21:17:18 +0000 (21:17 +0000)]
Issue #2670: urllib2.build_opener() failed when two handlers
derive the same default base class.

Backport of r62463.

16 years agoIssue 2665: On Windows, sys.stderr does not contain a valid file when running without...
Amaury Forgeot d'Arc [Mon, 21 Apr 2008 22:42:30 +0000 (22:42 +0000)]
Issue 2665: On Windows, sys.stderr does not contain a valid file when running without a console.
It seems to work, but will fail at the first flush.

This causes IDLE to silently crash when too many warnings are printed.

Backport of r62448.

16 years agoCorrect previous checkin, probably a svn merge issue.
Amaury Forgeot d'Arc [Fri, 11 Apr 2008 00:33:07 +0000 (00:33 +0000)]
Correct previous checkin, probably a svn merge issue.
Now the code is similar to the one in trunk/.

The behavior was funny:
   >>> print (), repr(())
   (), ()
   >>> print (), repr(())
   (), (...)

16 years ago- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
Guido van Rossum [Thu, 10 Apr 2008 22:43:58 +0000 (22:43 +0000)]
- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
  having a self-referential tuple, which is possible from C code.  Nor did
  object's tp_str consider that a type's tp_str could do something that could
  lead to an inifinite recursion.  Py_ReprEnter() and Py_EnterRecursiveCall(),
  respectively, fixed the issues.  (Backport of r58288 from trunk to 2.5.)

16 years agobackport r62271 from trunk.
Gregory P. Smith [Thu, 10 Apr 2008 19:54:13 +0000 (19:54 +0000)]
backport r62271 from trunk.
remove the now obsoleted assertion.

16 years agoBackport r62261 from trunk:
Gregory P. Smith [Wed, 9 Apr 2008 23:41:13 +0000 (23:41 +0000)]
Backport r62261 from trunk:

Prevent PyString_FromStringAndSize() from passing negative sizes on to lower
level memory allocation functions.  Raise a SystemError and return NULL
instead.

16 years agoAdd a note about the zlib.decompressobj().flush() fix.
Gregory P. Smith [Wed, 9 Apr 2008 18:17:13 +0000 (18:17 +0000)]
Add a note about the zlib.decompressobj().flush() fix.

16 years agoMerge r62235 from trunk.
Gregory P. Smith [Wed, 9 Apr 2008 00:26:44 +0000 (00:26 +0000)]
Merge r62235 from trunk.

Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive.
It tried to allocate negative or zero memory.  That fails.

16 years ago#2525: update tzinfo example.
Georg Brandl [Mon, 7 Apr 2008 18:53:33 +0000 (18:53 +0000)]
#2525: update tzinfo example.

16 years agoFix for Issue2515: Don't crash when trying to fetch data from a closed cursor.
Gerhard Häring [Sun, 6 Apr 2008 11:05:24 +0000 (11:05 +0000)]
Fix for Issue2515: Don't crash when trying to fetch data from a closed cursor.

16 years agoRemove the advertising clause from the BSD license in timing.h.
Guido van Rossum [Tue, 1 Apr 2008 23:59:06 +0000 (23:59 +0000)]
Remove the advertising clause from the BSD license in timing.h.
I have the email trail to prove that George Neville-Neil approved this.
(Backport of r62097.)

16 years agoBackport #1442: report exception when startup file cannot be run.
Georg Brandl [Sat, 29 Mar 2008 01:50:46 +0000 (01:50 +0000)]
Backport #1442: report exception when startup file cannot be run.

16 years agoFix a reference leak found by Georg, when compiling a class nested in another class.
Amaury Forgeot d'Arc [Fri, 28 Mar 2008 20:45:42 +0000 (20:45 +0000)]
Fix a reference leak found by Georg, when compiling a class nested in another class.
Test is run with "regrtest.py -R:: test_compile"

Backport of r62015

16 years agoIssue2495: tokenize.untokenize did not insert space between two consecutive string...
Amaury Forgeot d'Arc [Thu, 27 Mar 2008 23:41:59 +0000 (23:41 +0000)]
Issue2495: tokenize.untokenize did not insert space between two consecutive string literals:
"" "" becomes """", which is invalid code.

Backport of r61979.

16 years agoIssue #2482: Make sure that the coefficient of a Decimal instance
Mark Dickinson [Tue, 25 Mar 2008 18:58:13 +0000 (18:58 +0000)]
Issue #2482:  Make sure that the coefficient of a Decimal instance
is stored as a str instance rather than a unicode instance.
Backported from Python 2.6 (see r61904).

16 years agoDecimal.sqrt(0) failed when the context was not
Mark Dickinson [Tue, 25 Mar 2008 14:35:25 +0000 (14:35 +0000)]
Decimal.sqrt(0) failed when the context was not
explicitly supplied.

16 years ago#1477: ur'\U0010FFFF' used to raise in narrow unicode builds.
Amaury Forgeot d'Arc [Mon, 24 Mar 2008 21:16:28 +0000 (21:16 +0000)]
#1477: ur'\U0010FFFF' used to raise in narrow unicode builds.
Corrected the raw-unicode-escape codec to use UTF-16 surrogates in
this case, like the unicode-escape codec does.

Backport of r61793 and r61853

16 years agoIssue #2432: give DictReader the dialect and line_num attributes
Georg Brandl [Fri, 21 Mar 2008 20:01:55 +0000 (20:01 +0000)]
Issue #2432: give DictReader the dialect and line_num attributes
advertised in the docs.
 (backport from r61712)

16 years agoBack-port of rev 61240 for issue #2238, fixing: Some syntax errors in *args
Sean Reifscheider [Thu, 20 Mar 2008 17:39:31 +0000 (17:39 +0000)]
Back-port of rev 61240 for issue #2238, fixing: Some syntax errors in *args
and **kwargs expressions could give bogus error messages.

16 years agoThe missing NEWS entry for r61542..
Gregory P. Smith [Tue, 18 Mar 2008 19:24:40 +0000 (19:24 +0000)]
The missing NEWS entry for r61542..

16 years agoBackport r61450 from trunk:
Gregory P. Smith [Tue, 18 Mar 2008 19:21:40 +0000 (19:21 +0000)]
Backport r61450 from trunk:
 Fix chown on 64-bit linux.  It needed to take a long (64-bit on 64bit linux) as
 uid and gid input to accept values >=2**31 as valid while still accepting
 negative numbers to pass -1 to chown for "no change".

 Fixes issue1747858.

16 years agoThe behaviour of winsound.Beep() seems to differ between different versions of Window...
Trent Nelson [Tue, 18 Mar 2008 07:32:47 +0000 (07:32 +0000)]
The behaviour of winsound.Beep() seems to differ between different versions of Windows when there's either:
    a) no sound card entirely
    b) legacy beep driver has been disabled
    c) the legacy beep driver has been uninstalled
Sometimes RuntimeErrors are raised, sometimes they're not.  If _have_soundcard() returns False, don't expect winsound.Beep() to raise a RuntimeError, as this clearly isn't the case, as demonstrated by the various Win32 XP buildbots.

16 years agoBackport r61458:
Neal Norwitz [Tue, 18 Mar 2008 04:17:36 +0000 (04:17 +0000)]
Backport r61458:
Issue 2321: reduce memory usage (increase the memory that is returned
to the system) by using pymalloc for the data of unicode objects.

16 years agoEnsure this test passes even if there are no soundcards in the system. Backport...
Trent Nelson [Tue, 18 Mar 2008 03:52:22 +0000 (03:52 +0000)]
Ensure this test passes even if there are no soundcards in the system.  Backport from trunk r61242.

16 years ago#1021: fix a bug to allow basicConfig to accept NOTSET as a level.
Vinay Sajip [Sun, 16 Mar 2008 21:33:48 +0000 (21:33 +0000)]
#1021: fix a bug to allow basicConfig to accept NOTSET as a level.

16 years agoFix the overflows in expandtabs(). "This time for sure!"
Guido van Rossum [Tue, 11 Mar 2008 21:14:54 +0000 (21:14 +0000)]
Fix the overflows in expandtabs().  "This time for sure!"
(Exploit at request.)

16 years agoGrammar fix
Andrew M. Kuchling [Fri, 7 Mar 2008 21:10:06 +0000 (21:10 +0000)]
Grammar fix

16 years agoBackport documentation improvements.
Raymond Hettinger [Fri, 7 Mar 2008 20:08:41 +0000 (20:08 +0000)]
Backport documentation improvements.

16 years agoBackport r61286 adding GC to the grouper for itertools.groupby() fixing Issue 2246.
Raymond Hettinger [Thu, 6 Mar 2008 22:58:42 +0000 (22:58 +0000)]
Backport r61286 adding GC to the grouper for itertools.groupby() fixing Issue 2246.

16 years agoBug #2220: handle rlcompleter attribute match failure more gracefully.
Georg Brandl [Thu, 6 Mar 2008 07:46:26 +0000 (07:46 +0000)]
Bug #2220: handle rlcompleter attribute match failure more gracefully.
 (backport from r61275)

16 years agoBackport of r61263:
Martin v. Löwis [Thu, 6 Mar 2008 07:14:26 +0000 (07:14 +0000)]
Backport of r61263:
#1725737: ignore other VC directories other than CVS and SVN's too.

16 years agoPatch #2232: os.tmpfile might fail on Windows if the user has no
Martin v. Löwis [Thu, 6 Mar 2008 06:57:02 +0000 (06:57 +0000)]
Patch #2232: os.tmpfile might fail on Windows if the user has no
permission to create files in the root directory.

16 years agoAdd section for 2.5.3.
Martin v. Löwis [Thu, 6 Mar 2008 06:56:35 +0000 (06:56 +0000)]
Add section for 2.5.3.

17 years agoRemove old expected output for test_resource
Andrew M. Kuchling [Sat, 23 Feb 2008 23:29:26 +0000 (23:29 +0000)]
Remove old expected output for test_resource

17 years ago#1291: copy test_resource.py from the 2.6 trunk, to fix a test failure.
Andrew M. Kuchling [Sat, 23 Feb 2008 21:32:06 +0000 (21:32 +0000)]
#1291: copy test_resource.py from the 2.6 trunk, to fix a test failure.
The 2.6 version also converts to unittest, but it seems to work fine under 2.5.

17 years ago#1389051, #1092502: fix excessively large allocations when using read() on a socket
Andrew M. Kuchling [Sat, 23 Feb 2008 19:30:59 +0000 (19:30 +0000)]
#1389051, #1092502: fix excessively large allocations when using read() on a socket

17 years ago#1389051: IMAP module tries to read entire message in one chunk. Patch by Fredrik...
Andrew M. Kuchling [Sat, 23 Feb 2008 19:06:54 +0000 (19:06 +0000)]
#1389051: IMAP module tries to read entire message in one chunk.  Patch by Fredrik Lundh.

17 years agoBump version for 2.5.3a0.
Martin v. Löwis [Sat, 23 Feb 2008 17:35:47 +0000 (17:35 +0000)]
Bump version for 2.5.3a0.

17 years ago#1433694: minidom's .normalize() failed to set .nextSibling for last element.
Andrew M. Kuchling [Sat, 23 Feb 2008 17:21:44 +0000 (17:21 +0000)]
#1433694: minidom's .normalize() failed to set .nextSibling for last element.
Fix by Malte Helmert

17 years agoUpdate NEWS for a future 2.5.3 release
Andrew M. Kuchling [Sat, 23 Feb 2008 17:18:19 +0000 (17:18 +0000)]
Update NEWS for a future 2.5.3 release

17 years agoAdd old NEWS item
Andrew M. Kuchling [Sat, 23 Feb 2008 17:14:23 +0000 (17:14 +0000)]
Add old NEWS item

17 years agoFix typo.
Martin v. Löwis [Fri, 22 Feb 2008 09:17:13 +0000 (09:17 +0000)]
Fix typo.

17 years agoFix typo
Martin v. Löwis [Fri, 22 Feb 2008 09:15:14 +0000 (09:15 +0000)]
Fix typo

17 years ago#2079: typo in userdict docs.
Georg Brandl [Thu, 21 Feb 2008 20:34:22 +0000 (20:34 +0000)]
#2079: typo in userdict docs.

17 years agoas for r252c1, add the tag information so the source package is right
Fred Drake [Thu, 21 Feb 2008 12:57:32 +0000 (12:57 +0000)]
as for r252c1, add the tag information so the source package is right

17 years agoTagging for release of Python 2.5.2
Martin v. Löwis [Thu, 21 Feb 2008 11:55:26 +0000 (11:55 +0000)]
Tagging for release of Python 2.5.2

17 years agoRedo tag. v2.5.2
Martin v. Löwis [Thu, 21 Feb 2008 11:54:20 +0000 (11:54 +0000)]
Redo tag.

17 years agoUpdate copyright years to 2008. Update README to 2.5.2.
Martin v. Löwis [Thu, 21 Feb 2008 11:53:40 +0000 (11:53 +0000)]
Update copyright years to 2008. Update README to 2.5.2.

17 years agoTagging for release of Python 2.5.2
Martin v. Löwis [Thu, 21 Feb 2008 10:07:08 +0000 (10:07 +0000)]
Tagging for release of Python 2.5.2

17 years agoPrepare for 2.5.2.
Martin v. Löwis [Thu, 21 Feb 2008 10:04:55 +0000 (10:04 +0000)]
Prepare for 2.5.2.

17 years agoA quick fix that removes a spurious unittest failure when users
Ronald Oussoren [Tue, 19 Feb 2008 15:29:40 +0000 (15:29 +0000)]
A quick fix that removes a spurious unittest failure when users
upgrade their python2.5 install and then run Python's test suite.
This is needed because one of the test files for the decimal module
changed it name (see issue 2114) and OSX doesn't feature a full
package manager.

17 years agoFix link
Andrew M. Kuchling [Mon, 18 Feb 2008 18:18:37 +0000 (18:18 +0000)]
Fix link

17 years agoBug #2137: Remove test_struct.test_crasher, which was meaningful
Martin v. Löwis [Mon, 18 Feb 2008 17:46:27 +0000 (17:46 +0000)]
Bug #2137: Remove test_struct.test_crasher, which was meaningful
only on 32-bit systems.

17 years agoRevert 60793 for test_array; on a 64-bit system,
Martin v. Löwis [Fri, 15 Feb 2008 19:52:38 +0000 (19:52 +0000)]
Revert 60793 for test_array; on a 64-bit system,
MemoryError was not guaranteed.

17 years agoFix deallocation of array objects when allocation ran out of memory.
Martin v. Löwis [Fri, 15 Feb 2008 19:11:46 +0000 (19:11 +0000)]
Fix deallocation of array objects when allocation ran out of memory.

17 years agomksourcepkg is not getting the tag right by itself, so recording it in the
Fred Drake [Thu, 14 Feb 2008 14:25:24 +0000 (14:25 +0000)]
mksourcepkg is not getting the tag right by itself, so recording it in the
Makefile explicitly for now

17 years agoreverting; wrong tag
Fred Drake [Thu, 14 Feb 2008 14:09:21 +0000 (14:09 +0000)]
reverting; wrong tag

17 years agomksourcepkg is not getting the tag right by itself, so recording it in the
Fred Drake [Thu, 14 Feb 2008 14:06:09 +0000 (14:06 +0000)]
mksourcepkg is not getting the tag right by itself, so recording it in the
Makefile explicitly for now

17 years agoTagging for release of Python 2.5.2c1
Martin v. Löwis [Thu, 14 Feb 2008 12:59:38 +0000 (12:59 +0000)]
Tagging for release of Python 2.5.2c1

17 years agoCorrect 2.5.2c1 uuid. Add IDLE release date. v2.5.2c1
Martin v. Löwis [Thu, 14 Feb 2008 12:58:41 +0000 (12:58 +0000)]
Correct 2.5.2c1 uuid. Add IDLE release date.

17 years agoPreparing for 2.5.2c1.
Martin v. Löwis [Thu, 14 Feb 2008 12:33:15 +0000 (12:33 +0000)]
Preparing for 2.5.2c1.

17 years agoAdded checks for integer overflows, contributed by Google. Some are
Martin v. Löwis [Thu, 14 Feb 2008 11:26:18 +0000 (11:26 +0000)]
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.

17 years agobump: IDLE 1.2.2
Kurt B. Kaiser [Thu, 14 Feb 2008 04:57:08 +0000 (04:57 +0000)]
bump: IDLE 1.2.2

17 years agoThere was an error on exit if no sys.exitfunc was defined. Issue 1647.
Kurt B. Kaiser [Thu, 14 Feb 2008 04:45:30 +0000 (04:45 +0000)]
There was an error on exit if no sys.exitfunc was defined. Issue 1647.
Backport r60227

17 years agoCould not open files in .idlerc directory if latter was hidden on Windows.
Kurt B. Kaiser [Thu, 14 Feb 2008 04:37:26 +0000 (04:37 +0000)]
Could not open files in .idlerc directory if latter was hidden on Windows.
Issue 1743, Issue 1862.
Backport r60225, r60745

17 years agoformat_paragraph_event wasn't returning 'break'
Kurt B. Kaiser [Thu, 14 Feb 2008 04:30:55 +0000 (04:30 +0000)]
format_paragraph_event wasn't returning 'break'
Backport r59463

17 years agoAssume that the user knows when he wants to end the line; don't insert
Kurt B. Kaiser [Thu, 14 Feb 2008 04:19:41 +0000 (04:19 +0000)]
Assume that the user knows when he wants to end the line; don't insert
something he didn't select or complete.
Backport r58306

17 years agoCorrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
Kurt B. Kaiser [Thu, 14 Feb 2008 04:11:52 +0000 (04:11 +0000)]
Corrected some bugs in AutoComplete.  Also, Page Up/Down in ACW implemented;
mouse and cursor selection in ACWindow implemented; double Tab inserts current
selection and closes ACW (similar to double-click and Return); scroll wheel now
works in ACW.  Added AutoComplete instructions to IDLE Help.
Backport of r53679

17 years ago1. Avoid hang when encountering a duplicate in a completion list. Bug 1571112.
Kurt B. Kaiser [Thu, 14 Feb 2008 04:02:10 +0000 (04:02 +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
Backport of r53042

17 years agoSome syntax errors were being caught by tokenize during the tabnanny
Kurt B. Kaiser [Thu, 14 Feb 2008 03:25:59 +0000 (03:25 +0000)]
Some syntax errors were being caught by tokenize during the tabnanny
check, resulting in obscure error messages.  Do the syntax check
first.  Bug 15627161562719  Backport of r52083

17 years agoBring NEWS.txt up to date.
Kurt B. Kaiser [Thu, 14 Feb 2008 00:08:01 +0000 (00:08 +0000)]
Bring NEWS.txt up to date.

17 years agoBack port of r60765 (fix --enable-universalsdk doc typo).
Brett Cannon [Wed, 13 Feb 2008 19:17:17 +0000 (19:17 +0000)]
Back port of r60765 (fix --enable-universalsdk doc typo).

17 years agoIn the recursive debug command, pass Pdb arguments (completekey, stdin, stdout)
Guido van Rossum [Wed, 13 Feb 2008 18:41:48 +0000 (18:41 +0000)]
In the recursive debug command, pass Pdb arguments (completekey, stdin, stdout)
to the recursive Pdb instance.

17 years agoPatch #1966: Break infinite loop in httplib when the servers
Martin v. Löwis [Tue, 12 Feb 2008 18:48:23 +0000 (18:48 +0000)]
Patch #1966: Break infinite loop in httplib when the servers
implements the chunked encoding incorrectly.

17 years agoBackport of r60743:
Martin v. Löwis [Tue, 12 Feb 2008 13:48:06 +0000 (13:48 +0000)]
Backport of r60743:
Patch #1736: Fix file name handling of _msi.FCICreate.

17 years agoBackport the nts() function from the trunk. This fixes problems with
Lars Gustäbel [Mon, 11 Feb 2008 18:36:07 +0000 (18:36 +0000)]
Backport the nts() function from the trunk. This fixes problems with
the xstar format that puts extra fields inside the space that POSIX
has reserved for the prefix field.

17 years agoBackport relevant part of issue 2021 fix (r60695): Support with statement properly...
Nick Coghlan [Mon, 11 Feb 2008 12:53:42 +0000 (12:53 +0000)]
Backport relevant part of issue 2021 fix (r60695): Support with statement properly in tempfile.NamedTemporaryFile

17 years agoBackport test_resource fix from trunk to stop it crashing on Ubuntu
Nick Coghlan [Mon, 11 Feb 2008 11:31:24 +0000 (11:31 +0000)]
Backport test_resource fix from trunk to stop it crashing on Ubuntu

17 years agoissue 2045: Infinite recursion when printing a subclass of defaultdict,
Amaury Forgeot d'Arc [Fri, 8 Feb 2008 01:05:21 +0000 (01:05 +0000)]
issue 2045: Infinite recursion when printing a subclass of defaultdict,
if default_factory is set to a bound method.

Backport of r60663.

17 years agoBackport r60653:
Walter Dörwald [Thu, 7 Feb 2008 19:58:37 +0000 (19:58 +0000)]
Backport r60653:
Fix typo in docstring for Calendar.itermonthdays().

17 years agoBackport LaTex version of r60651:
Walter Dörwald [Thu, 7 Feb 2008 19:55:47 +0000 (19:55 +0000)]
Backport LaTex version of r60651:
Fix documentation for Calendar.iterweekdays(): firstweekday is a property.
Fixes second part of #2018.

17 years agoBackport LaTeX version of r60649:
Walter Dörwald [Thu, 7 Feb 2008 19:35:17 +0000 (19:35 +0000)]
Backport LaTeX version of r60649:
Clarify that the output of TextCalendar.formatmonth() and
TextCalendar.formatyear() for custom instances won't be influenced by calls
to the module global setfirstweekday() function. Fixes #2018.