Neal Norwitz
4fe442383d
Bug #1599782 : Fix segfault on bsddb.db.DB().type().
...
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.
2006-11-21 05:26:22 +00:00
Andrew M. Kuchling
5dba6f74c6
Jython compatibility fix: if uu.decode() opened its output file, be sure to
...
close it.
2006-11-20 13:39:37 +00:00
Georg Brandl
1e753863b3
Further markup fix.
2006-11-20 07:12:58 +00:00
George Yoshida
942f5e7864
markup fix
2006-11-20 02:24:48 +00:00
Neal Norwitz
45e230a8e1
Speed up function calls into the math module by using METH_O.
...
There should be no functional changes. However, the error msgs are
slightly different. Also verified that the module dict is not NULL on init.
2006-11-19 21:26:53 +00:00
Martin v. Löwis
07529354db
Patch #1070046 : Marshal new-style objects like InstanceType
...
in xmlrpclib.
2006-11-19 18:51:54 +00:00
Andrew M. Kuchling
9eec51c04f
Add a test case of data w/ bytes > 127
2006-11-19 18:40:01 +00:00
Martin v. Löwis
cffcc8b195
Make cStringIO.truncate raise IOError for negative
...
arguments (even for -1). Fixes the last bit of
#1359365 .
2006-11-19 10:41:41 +00:00
Georg Brandl
283a1353a0
Patch [ 1586791 ] better error msgs for some TypeErrors
2006-11-19 08:48:30 +00:00
Andrew M. Kuchling
db4f255c61
Expand checking in test_sha
2006-11-18 22:17:33 +00:00
Martin v. Löwis
bba003ef24
Patch #1472877 : Fix Tix subwidget name resolution.
...
Will backport to 2.5.
2006-11-18 18:42:11 +00:00
Martin v. Löwis
ef5fd3e7c9
Patch #1594554 : Always close a tkSimpleDialog on ok(), even
...
if an exception occurs.
Will backport to 2.5.
2006-11-18 18:05:35 +00:00
Martin v. Löwis
c73a4a4f51
Patch #1538878 : Don't make tkSimpleDialog dialogs transient if
...
the parent window is withdrawn. This mirrors what dialog.tcl
does.
Will backport to 2.5.
2006-11-18 18:00:23 +00:00
Andrew M. Kuchling
8c456f3b57
Remove file-locking in MH.pack() method.
...
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.
2006-11-17 13:30:25 +00:00
Georg Brandl
25aabf4cbb
Bug #1588217 : don't parse "= " as a soft line break in binascii's
...
a2b_qp() function, instead leave it in the string as quopri.decode()
does.
2006-11-16 17:08:45 +00:00
Georg Brandl
540821183b
Bug #1597824 : return the registered function from atexit.register()
...
to facilitate usage as a decorator.
2006-11-16 16:50:59 +00:00
Georg Brandl
adff8eb8d6
Bug #1597576 : mention that the new base64 api has been introduced in py2.4.
2006-11-16 15:05:14 +00:00
Georg Brandl
250755b20c
Bug #1594809 : add a note to README regarding PYTHONPATH and make install.
2006-11-15 17:42:03 +00:00
Walter Dörwald
2e4fd3765f
Fix typo.
2006-11-15 16:23:46 +00:00
Martin v. Löwis
45cd4ff95d
Patch #1360200 : Use unmangled_version RPM spec field to deal with
...
file name mangling.
Will backport to 2.5.
2006-11-12 18:56:03 +00:00
Martin v. Löwis
36cbc08f3f
Patch #1359217 : Ignore 2xx response before 150 response.
...
Will backport to 2.5.
2006-11-12 18:48:13 +00:00
Martin v. Löwis
056dac1bcf
Bug #1067760 : Deprecate passing floats to file.seek.
2006-11-12 18:24:26 +00:00
Martin v. Löwis
065f0c8a06
Patch #1355023 : support whence argument for GzipFile.seek.
2006-11-12 10:41:39 +00:00
Martin v. Löwis
040a927cd1
Patch #1065257 : Support passing open files as body in
...
HTTPConnection.request().
2006-11-12 10:32:47 +00:00
Georg Brandl
1ee79f16e8
Bug #1594758 : wording improvement for dict.update() docs.
2006-11-11 18:32:47 +00:00
Georg Brandl
361bc21c51
Bug #1594742 : wrong word in stringobject doc.
2006-11-11 18:29:11 +00:00
Andrew M. Kuchling
48b1007542
[Feature request #1542920 ] Link to wsgi.org
2006-11-10 14:39:01 +00:00
Andrew M. Kuchling
77c7ac26b7
Reword entry
2006-11-10 13:14:01 +00:00
Phillip J. Eby
305e778a82
Fix SF#1566719: not creating site-packages (or other target directory) when
...
installing .egg-info for a project that contains no modules or packages,
while using --root (as in bdist_rpm).
2006-11-10 00:33:36 +00:00
Andrew M. Kuchling
978d8286ae
[Patch #1514543 ] mailbox (Maildir): avoid losing messages on name clash
...
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.
2006-11-09 21:16:46 +00:00
Walter Dörwald
6fc2382883
Replace C++ comment with C comment (fixes SF bug #1593525 ).
2006-11-09 16:23:26 +00:00
Andrew M. Kuchling
b5686da24f
[Patch #1514544 by David Watson] use fsync() to ensure data is really on disk
2006-11-09 13:51:14 +00:00
Andrew M. Kuchling
a3e5d3757c
[Bug #1569790 ] mailbox.Maildir.get_folder() loses factory information
...
Both the Maildir and MH classes had this bug; the patch fixes both classes
and adds a test.
Will backport to 25-maint.
2006-11-09 13:27:07 +00:00
Martin v. Löwis
038cad7ee4
Patch #1592250 : Add elidge argument to Tkinter.Text.search.
2006-11-09 11:27:32 +00:00
Martin v. Löwis
b2bba739c5
Patch #838546 : Make terminal become controlling in pty.fork().
...
Will backport to 2.5.
2006-11-09 11:06:03 +00:00
Andrew M. Kuchling
394ae90db3
More edits
2006-11-08 14:30:14 +00:00
Andrew M. Kuchling
0acdb930e4
Add table of contents; this required fixing a few headings. Some more smalle edits.
2006-11-08 14:24:03 +00:00
Andrew M. Kuchling
9efdd7880d
Add section on operator module; make a few edits
2006-11-08 14:14:30 +00:00
Andrew M. Kuchling
f4dcd1dc30
Add section on the functional module
2006-11-08 13:35:34 +00:00
Georg Brandl
fafdc3b97b
Bug #1592533 : rename variable in heapq doc example, to avoid shadowing
...
"sorted".
2006-11-08 10:04:29 +00:00
Georg Brandl
393ac22b73
Patch #1592072 : fix docs for return value of PyErr_CheckSignals.
2006-11-08 07:45:59 +00:00
Martin v. Löwis
5361e9a54e
Patch #1351744 : Add askyesnocancel helper for tkMessageBox.
2006-11-08 07:35:55 +00:00
Martin v. Löwis
a346c09291
News entry for 52662.
2006-11-08 06:48:36 +00:00
Martin v. Löwis
3a62404264
Correctly forward exception in instance_contains().
...
Fixes #1591996 . Patch contributed by Neal Norwitz.
Will backport.
2006-11-08 06:46:37 +00:00
Andrew M. Kuchling
e452f51bc4
Add missing word
2006-11-07 20:39:16 +00:00
Thomas Heller
9bfc24481f
Fix grammatical error as well.
...
Will backport to release25-maint.
2006-11-07 18:20:47 +00:00
Thomas Heller
a2dd0f3a17
Fix markup.
...
Will backport to release25-maint.
2006-11-07 18:01:18 +00:00
Ronald Oussoren
158ad59937
Whitespace changes to make the source more compliant with PEP8 (SF#1589070)
2006-11-07 16:00:34 +00:00
Ronald Oussoren
aa56096aa0
Fix a number of typos in strings and comments (sf#1589070)
2006-11-07 15:53:38 +00:00
Skip Montanaro
3230599329
note that user can control directory location even if default dir is used
2006-11-06 14:34:52 +00:00