summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1. Avoid hang when encountering a duplicate in a completion list. Bug 1571112.Kurt B. Kaiser2008-02-142-2/+17
| | | | | 2. Duplicate some old entries from Python's NEWS to IDLE's NEWS.txt Backport of r53042
* Some syntax errors were being caught by tokenize during the tabnannyKurt B. Kaiser2008-02-142-6/+8
| | | | | check, resulting in obscure error messages. Do the syntax check first. Bug 1562716, 1562719 Backport of r52083
* Bring NEWS.txt up to date.Kurt B. Kaiser2008-02-141-0/+18
|
* Back port of r60765 (fix --enable-universalsdk doc typo).Brett Cannon2008-02-132-3/+3
|
* In the recursive debug command, pass Pdb arguments (completekey, stdin, stdout)Guido van Rossum2008-02-131-1/+1
| | | | to the recursive Pdb instance.
* Patch #1966: Break infinite loop in httplib when the serversMartin v. Löwis2008-02-122-0/+7
| | | | implements the chunked encoding incorrectly.
* Backport of r60743:Martin v. Löwis2008-02-122-9/+11
| | | | Patch #1736: Fix file name handling of _msi.FCICreate.
* Backport the nts() function from the trunk. This fixes problems withLars Gustäbel2008-02-114-9/+26
| | | | | the xstar format that puts extra fields inside the space that POSIX has reserved for the prefix field.
* Backport relevant part of issue 2021 fix (r60695): Support with statement ↵Nick Coghlan2008-02-113-4/+32
| | | | properly in tempfile.NamedTemporaryFile
* Backport test_resource fix from trunk to stop it crashing on UbuntuNick Coghlan2008-02-111-14/+19
|
* issue 2045: Infinite recursion when printing a subclass of defaultdict,Amaury Forgeot d'Arc2008-02-083-1/+37
| | | | | | if default_factory is set to a bound method. Backport of r60663.
* Backport r60653:Walter Dörwald2008-02-071-2/+2
| | | | Fix typo in docstring for Calendar.itermonthdays().
* Backport LaTex version of r60651:Walter Dörwald2008-02-071-2/+2
| | | | | Fix documentation for Calendar.iterweekdays(): firstweekday is a property. Fixes second part of #2018.
* Backport LaTeX version of r60649:Walter Dörwald2008-02-071-5/+5
| | | | | | 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.
* Fix the way methods are created for the _ctypes.COMError exceptionThomas Heller2008-02-063-9/+36
| | | | type; this fix is already in the trunk.
* Remove month parameter from Calendar.yeardatescalendar(),Walter Dörwald2008-02-061-3/+3
| | | | | Calendar.yeardays2calendar() and Calendar.yeardayscalendar() as the methods don't have such a parameter. Fixes issue #2017. (2.5 backport of r60618)
* Backport doc fixes from 2.6. These are all things that were alreadyGuido van Rossum2008-02-051-4/+12
| | | | supported but weren't in the docs, like conditional backreferences.
* In the experimental 'Scanner' feature, the group count was set wrong.Guido van Rossum2008-02-051-1/+1
|
* Issue #1507247, #2004: Use mode 0700 for temporary directories andLars Gustäbel2008-02-052-22/+13
| | | | | | default permissions for missing directories. (backport from r53526, r60588)
* No need to emit co_lnotab item when both offsets are zeros.Amaury Forgeot d'Arc2008-02-042-0/+12
| | | | | | r60579 broke a test test_compile, which seems to test an "implementation detail" IMO. Also test that this correction does not impact the debugger.
* Turn off a debugging flag.Brett Cannon2008-02-041-1/+1
|
* backport of r60575 (issue #1750076): Debugger did not step on every ↵Amaury Forgeot d'Arc2008-02-043-17/+67
| | | | | | | | | | | | | | iteration of a while statement. The mapping between bytecode offsets and source lines (lnotab) did not contain an entry for the beginning of the loop. Now it does, and the lnotab can be a bit larger: in particular, several statements on the same line generate several entries. However, this does not bother the settrace function, which will trigger only one 'line' event. The lnotab seems to be exactly the same as with python2.4.
* Backport r59862 (issue #712900): make long regexp matches interruptableGuido van Rossum2008-02-042-0/+10
| | | | by signals.
* Backport r60537: have order of CPPFLAGS and LDFLAGS be honored.Brett Cannon2008-02-032-1/+4
|
* Disable linking against BerkeleyDB 4.6 by default as it has proven toGregory P. Smith2008-02-031-3/+6
| | | | be a buggy release on many platforms.
* backport r60544 from trunk:Gregory P. Smith2008-02-032-2/+9
| | | | | | | | Merge this fix from the pybsddb tree: r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines Solved memory leak when using cursors with databases without environment.
* Backport 60542:Andrew MacIntyre2008-02-031-2/+2
| | | | | The wrapper function is supposed to be for spawnvpe() so that's what we should call [this wrapper only available on OS/2].
* Bug #1234: Fixed semaphore errors on AIX 5.2Christian Heimes2008-01-304-14/+29
|
* Revert rev. 59926, it breaks comtypes (I need to further examine this).Thomas Heller2008-01-283-13/+0
|
* Try harder to provoke the exception since the ia64 buildbot stillNeal Norwitz2008-01-281-0/+2
| | | | doesn't reliably produce an exception.
* Sync up with trunk. Try to flush repeatedly to ensure the exception is raised.Neal Norwitz2008-01-271-5/+7
|
* Change isbasestring function as discussed on the cvs list a while agoChristian Heimes2008-01-271-4/+7
|
* Backport 60342:Neal Norwitz2008-01-271-2/+5
| | | | | | Try to prevent this test from being flaky. We might need a sleep in here which isn't as bad as it sounds. The close() *should* raise an exception, so if it didn't we should give more time to sync and really raise it.
* Backport r58453:Neal Norwitz2008-01-271-2/+12
| | | | | | | | | | Let the O/S supply a port if none of the default ports can be used. This should make the tests more robust at the expense of allowing tests to be sloppier by not requiring them to cleanup after themselves. (It will legitamitely help when running two test suites simultaneously or if another process is already using one of the predefined ports.) This will hopefully fix test_asynchat.
* Backport 60334:Neal Norwitz2008-01-271-0/+3
| | | | | On some systems (e.g., Ubuntu on hppa) the flush() doesn't (always) cause the exception, but the close() does.
* #1940: make it possible to use curses.filter() before curses.initscr()Georg Brandl2008-01-262-1/+13
| | | | | as the documentation says. (backport from rev. 60322)
* Fix typo in constant name.Thomas Wouters2008-01-251-1/+1
|
* Use the right (portable) definition of the max of a Py_ssize_t.Thomas Wouters2008-01-251-1/+1
|
* Rewrite the list_inline_repeat overflow check slightly differently.Guido van Rossum2008-01-251-4/+5
|
* Silence a compiler warning.Guido van Rossum2008-01-251-1/+1
|
* #1920: when considering a block starting by "while 0", the compiler ↵Amaury Forgeot d'Arc2008-01-243-1/+18
| | | | | | | | | | | | | | | | | optimized the whole construct away, even when an 'else' clause is present:: while 0: print("no") else: print("yes") did not generate any code at all. Now the compiler emits the 'else' block, like it already does for 'if' statements. Backport of r60265.
* News for some crashers I fixed recently.Guido van Rossum2008-01-241-1/+9
| | | | Also removed three non-ASCII chars at start of file.
* Backport r60246.Guido van Rossum2008-01-241-0/+5
| | | | Fix issue #1303614, test67.py.
* Fix failing test_mailbox on CygwinAndrew M. Kuchling2008-01-241-0/+1
|
* Invert the checks in get_[u]long and get_[u]longlong. The intent wasThomas Heller2008-01-243-20/+35
| | | | | to not accept float types; the result was that integer-like objects were not accepted.
* Fix two crashers (borrowed_ref_[34].py from the trunk).Guido van Rossum2008-01-232-2/+11
|
* Fix product code handling for Win64.Martin v. Löwis2008-01-231-10/+15
|
* Fixed bug #1915: Python compiles with --enable-unicode=no again. However ↵Christian Heimes2008-01-234-4/+11
| | | | several extension methods and modules do not work without unicode support.
* Backport r60208, skip some tests for huge passwd/group files.Guido van Rossum2008-01-232-0/+6
|
* Backport: #1889 - fixup \xhh specs.Georg Brandl2008-01-221-1/+1
|