summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 2.5.2.Martin v. Löwis2008-02-212-1/+6
|
* Bug #2137: Remove test_struct.test_crasher, which was meaningfulMartin v. Löwis2008-02-181-4/+0
| | | | only on 32-bit systems.
* Revert 60793 for test_array; on a 64-bit system,Martin v. Löwis2008-02-151-17/+0
| | | | MemoryError was not guaranteed.
* Correct 2.5.2c1 uuid. Add IDLE release date.v2.5.2c1Martin v. Löwis2008-02-141-1/+1
|
* Preparing for 2.5.2c1.Martin v. Löwis2008-02-141-1/+1
|
* Added checks for integer overflows, contributed by Google. Some areMartin v. Löwis2008-02-142-0/+21
| | | | | only available if asserts are left in the code, in cases where they can't be triggered from Python code.
* bump: IDLE 1.2.2Kurt B. Kaiser2008-02-141-1/+1
|
* There was an error on exit if no sys.exitfunc was defined. Issue 1647.Kurt B. Kaiser2008-02-142-1/+7
| | | | Backport r60227
* Could not open files in .idlerc directory if latter was hidden on Windows.Kurt B. Kaiser2008-02-142-1/+9
| | | | | Issue 1743, Issue 1862. Backport r60225, r60745
* format_paragraph_event wasn't returning 'break'Kurt B. Kaiser2008-02-142-0/+3
| | | | Backport r59463
* Assume that the user knows when he wants to end the line; don't insertKurt B. Kaiser2008-02-142-15/+4
| | | | | something he didn't select or complete. Backport r58306
* Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;Kurt B. Kaiser2008-02-143-21/+104
| | | | | | | 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
* 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
|
* 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-121-0/+4
| | | | implements the chunked encoding incorrectly.
* Backport the nts() function from the trunk. This fixes problems withLars Gustäbel2008-02-113-9/+24
| | | | | 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-112-4/+29
| | | | 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-081-0/+23
| | | | | | 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().
* Fix the way methods are created for the _ctypes.COMError exceptionThomas Heller2008-02-061-0/+13
| | | | type; this fix is already in the trunk.
* 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-051-22/+10
| | | | | | 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-041-0/+9
| | | | | | r60579 broke a test test_compile, which seems to test an "implementation detail" IMO. Also test that this correction does not impact the debugger.
* backport of r60575 (issue #1750076): Debugger did not step on every ↵Amaury Forgeot d'Arc2008-02-041-3/+48
| | | | | | | | | | | | | | 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.
* Revert rev. 59926, it breaks comtypes (I need to further examine this).Thomas Heller2008-01-281-6/+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.
* #1920: when considering a block starting by "while 0", the compiler ↵Amaury Forgeot d'Arc2008-01-241-0/+9
| | | | | | | | | | | | | | | | | 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.
* 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-241-1/+17
| | | | | to not accept float types; the result was that integer-like objects were not accepted.
* Fixed bug #1915: Python compiles with --enable-unicode=no again. However ↵Christian Heimes2008-01-232-2/+6
| | | | 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 of r60190:Gregory P. Smith2008-01-222-4/+29
| | | | | | - Fix Issue #1703448: A joined thread could show up in the threading.enumerate() list after the join() for a brief period until it actually exited.
* Remove extra test that was accidentally backported from the trunkMark Dickinson2008-01-211-8/+0
|
* Issue 1678380: fix a bug identifying -0.0 and 0.0Mark Dickinson2008-01-211-0/+21
|
* Issue #1882: when compiling code from a string, encoding cookies in theGeorg Brandl2008-01-211-1/+9
| | | | | second line of code were not always recognized correctly. (backport from rev. 60168)
* Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. ↵Vinay Sajip2008-01-211-2/+5
| | | | Patch thanks to Kathryn M. Kowalski.
* Fix off-by-one error that resulted in missed charactersAndrew M. Kuchling2008-01-191-1/+1
|
* backport r60116 - fix zipfile to work with archives having fileGregory P. Smith2008-01-191-2/+2
| | | | headers beyond the signed 2**31 byte boundary.
* backport r60104 + r60111 from trunk.Gregory P. Smith2008-01-191-1/+13
| | | | | | - Issue #1336: fix a race condition in subprocess.Popen if the garbage collector kicked in at the wrong time that would cause the process to hang when the child wrote to stderr.
* Backport r59688.Georg Brandl2008-01-191-2/+2
|
* Bug 1277: make Maildir use the user-provided factory instead of hard-wiring ↵Andrew M. Kuchling2008-01-192-1/+18
| | | | MaildirMessage.