summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Backport of r60190:Gregory P. Smith2008-01-223-4/+33
| | | | | | - 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-213-1/+38
|
* Add NEWS entry for #1882.Georg Brandl2008-01-211-0/+3
| | | | (backport from rev. 60170)
* Issue #1882: when compiling code from a string, encoding cookies in theGeorg Brandl2008-01-212-3/+22
| | | | | 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-192-2/+5
| | | | headers beyond the signed 2**31 byte boundary.
* backport r60104 + r60111 from trunk.Gregory P. Smith2008-01-192-1/+17
| | | | | | - 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.
* Bug 1296: restore text describing OptionGroupAndrew M. Kuchling2008-01-191-0/+33
|
* Backport r59688.Georg Brandl2008-01-192-2/+4
|
* Bug 1277: make Maildir use the user-provided factory instead of hard-wiring ↵Andrew M. Kuchling2008-01-192-1/+18
| | | | MaildirMessage.
* This got fixed in r60056.Guido van Rossum2008-01-181-17/+0
|
* Backport r55080:Guido van Rossum2008-01-184-37/+163
| | | | | | Fix for #1303614 and #1174712: - __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types
* Fix an edge case whereby the __del__() method of a classic class couldGuido van Rossum2008-01-181-0/+10
| | | | create a new weakref to the object.
* ** backport r60015 from trunk.Gregory P. Smith2008-01-172-0/+12
| | | | | | - Issue829951: In the smtplib module, SMTP.starttls() now complies with RFC 3207 and forgets any knowledge obtained from the server not obtained from the TLS negotiation itself. Patch contributed by Bill Fenner.
* Backport from trunk:Thomas Heller2008-01-162-3/+5
| | | | | | Fix a potential 'SystemError: NULL result without error'. NULL may be a valid return value from PyLong_AsVoidPtr. Also move an older ctypes NEWS item in the correct category.
* Backport r59999: fix MSDN link. (#1854)Georg Brandl2008-01-161-1/+1
|
* Fix 1698398: Zipfile.printdir() crashed because the format string expected ↵Raymond Hettinger2008-01-142-2/+5
| | | | a tuple object of length six instead of a time.struct_time object.
* Added NEWS entry, plus:Thomas Heller2008-01-113-0/+13
| | | | | | | | | | | | | | Merged revisions 59925 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes ........ r59925 | thomas.heller | 2008-01-11 20:34:06 +0100 (Fr, 11 Jan 2008) | 5 lines Raise an error instead of crashing with a segfault when a NULL function pointer is called. Will backport to release25-maint. ........