summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1362975: Rework CodeContext indentation algorithm toMartin v. Löwis2006-11-222-18/+61
| | | | | avoid hard-coding pixel widths. Also make the text's scrollbar a child of the text frame, not the top widget.
* Oops, convert tabs to spacesNeal Norwitz2006-11-211-2/+2
|
* Bug #1599782: Fix segfault on bsddb.db.DB().type().Neal Norwitz2006-11-211-0/+4
| | | | | | | | | The problem is that _DB_get_type() can't be called without the GIL because it calls a bunch of PyErr_* APIs when an error occurs. There were no other cases in this file that it was called without the GIL. Removing the BEGIN/END THREAD around _DB_get_type() made everything work. Will backport.
* Jython compatibility fix: if uu.decode() opened its output file, be sure toAndrew M. Kuchling2006-11-201-0/+4
| | | | close it.
* Patch #1070046: Marshal new-style objects like InstanceTypeMartin v. Löwis2006-11-192-3/+22
| | | | in xmlrpclib.
* Add a test case of data w/ bytes > 127Andrew M. Kuchling2006-11-191-0/+3
|
* Make cStringIO.truncate raise IOError for negativeMartin v. Löwis2006-11-191-0/+1
| | | | | arguments (even for -1). Fixes the last bit of #1359365.
* Patch [ 1586791 ] better error msgs for some TypeErrorsGeorg Brandl2006-11-191-2/+2
|
* Expand checking in test_shaAndrew M. Kuchling2006-11-181-1/+15
|
* Patch #1472877: Fix Tix subwidget name resolution.Martin v. Löwis2006-11-181-1/+4
| | | | Will backport to 2.5.
* Patch #1594554: Always close a tkSimpleDialog on ok(), evenMartin v. Löwis2006-11-181-3/+4
| | | | | if an exception occurs. Will backport to 2.5.
* Patch #1538878: Don't make tkSimpleDialog dialogs transient ifMartin v. Löwis2006-11-181-1/+6
| | | | | | the parent window is withdrawn. This mirrors what dialog.tcl does. Will backport to 2.5.
* Remove file-locking in MH.pack() method.Andrew M. Kuchling2006-11-172-21/+22
| | | | | | | | | | | | | | | | | | This change looks massive but it's mostly a re-indenting after removing some try...finally blocks. Also adds a test case that does a pack() while the mailbox is locked; this test would have turned up bugs in the original code on some platforms. In both nmh and GNU Mailutils' implementation of MH-format mailboxes, no locking is done of individual message files when renaming them. The original mailbox.py code did do locking, which meant that message files had to be opened. This code was buggy on certain platforms (found through reading the code); there were code paths that closed the file object and then called _unlock_file() on it. Will backport to 25-maint once I see how the buildbots react to this patch.
* Bug #1588217: don't parse "= " as a soft line break in binascii'sGeorg Brandl2006-11-161-1/+1
| | | | | a2b_qp() function, instead leave it in the string as quopri.decode() does.
* Bug #1597824: return the registered function from atexit.register()Georg Brandl2006-11-161-0/+3
| | | | to facilitate usage as a decorator.
* Patch #1360200: Use unmangled_version RPM spec field to deal withMartin v. Löwis2006-11-121-3/+4
| | | | | file name mangling. Will backport to 2.5.
* Patch #1359217: Ignore 2xx response before 150 response.Martin v. Löwis2006-11-121-0/+11
| | | | Will backport to 2.5.
* Patch #1355023: support whence argument for GzipFile.seek.Martin v. Löwis2006-11-122-1/+17
|
* Patch #1065257: Support passing open files as body inMartin v. Löwis2006-11-122-3/+36
| | | | HTTPConnection.request().
* Fix SF#1566719: not creating site-packages (or other target directory) whenPhillip J. Eby2006-11-101-0/+3
| | | | | installing .egg-info for a project that contains no modules or packages, while using --root (as in bdist_rpm).
* [Patch #1514543] mailbox (Maildir): avoid losing messages on name clashAndrew M. Kuchling2006-11-091-5/+22
| | | | | | | | | | | Two changes: Where possible, use link()/remove() to move files into a directory; this makes it easier to avoid overwriting an existing file. Use _create_carefully() to create files in tmp/, which uses O_EXCL. Backport candidate.
* [Patch #1514544 by David Watson] use fsync() to ensure data is really on diskAndrew M. Kuchling2006-11-091-7/+23
|
* [Bug #1569790] mailbox.Maildir.get_folder() loses factory informationAndrew M. Kuchling2006-11-092-5/+31
| | | | | | | Both the Maildir and MH classes had this bug; the patch fixes both classes and adds a test. Will backport to 25-maint.
* Patch #1592250: Add elidge argument to Tkinter.Text.search.Martin v. Löwis2006-11-091-1/+2
|
* Patch #838546: Make terminal become controlling in pty.fork().Martin v. Löwis2006-11-091-0/+4
| | | | Will backport to 2.5.
* Patch #1351744: Add askyesnocancel helper for tkMessageBox.Martin v. Löwis2006-11-081-0/+10
|
* Correctly forward exception in instance_contains().Martin v. Löwis2006-11-081-0/+8
| | | | | Fixes #1591996. Patch contributed by Neal Norwitz. Will backport.
* Bug #1588287: fix invalid assertion for `1,2` in debug builds.Neal Norwitz2006-11-041-0/+2
| | | | Will backport
* - Patch #1060577: Extract list of RPM files from spec file inMartin v. Löwis2006-11-041-25/+35
| | | | | bdist_rpm Will backport to 2.5.
* Whitespace normalization.Tim Peters2006-11-0312-21/+21
|
* Change to improve speed of _fixupChildrenVinay Sajip2006-10-311-2/+5
|
* I'm assuming this is correct, it fixes the tests so they pass againNeal Norwitz2006-10-291-0/+1
|
* Add tests for incremental codecs with an errorsWalter Dörwald2006-10-291-0/+24
| | | | argument.
* Add tests for basic argument errors.Walter Dörwald2006-10-291-0/+27
|
* Move the check for openpty to the beginning.Georg Brandl2006-10-291-5/+5
|
* Remove leftover test output file.Georg Brandl2006-10-291-29/+0
|
* Convert test_openpty to unittest.Georg Brandl2006-10-292-16/+18
|
* Convert test_MimeWriter to unittest.Georg Brandl2006-10-292-174/+185
|
* Completely convert test_httplib to unittest.Georg Brandl2006-10-292-103/+63
|
* Convert test_cgi to unittest.Georg Brandl2006-10-292-167/+135
|
* Convert test_cookie to unittest.Georg Brandl2006-10-292-73/+73
|
* Convert test_types to unittest.Georg Brandl2006-10-292-298/+270
|
* Convert test_nis to unittest.Georg Brandl2006-10-292-37/+37
|
* Convert test_poll to unittest.Georg Brandl2006-10-292-195/+140
|
* Convert test_mmap to unittest.Georg Brandl2006-10-292-276/+156
|
* Bug #1576657: when setting a KeyError for a tuple key, make sure thatGeorg Brandl2006-10-291-0/+10
| | | | the tuple isn't used as the "exception arguments tuple".
* Bug #1586773: extend hashlib docstring.Georg Brandl2006-10-291-1/+30
|
* Bug #1586613: fix zlib and bz2 codecs' incremental en/decoders.Georg Brandl2006-10-293-8/+53
|
* Fix the new EncodedFile test to work with big endian platforms.Georg Brandl2006-10-291-2/+2
|
* Test assert if __debug__ is true.Georg Brandl2006-10-291-4/+3
|