Georg Brandl
21d900f1d6
Bug #1603321 : make pstats.Stats accept Unicode file paths.
2006-11-26 19:27:47 +00:00
Martin v. Löwis
4d542ec13c
Disable _XOPEN_SOURCE on NetBSD 1.x.
...
Will backport to 2.5
2006-11-25 15:39:19 +00:00
Thomas Heller
25d208bd46
Fix bug #1598620 : A ctypes structure cannot contain itself.
2006-11-24 18:45:39 +00:00
Raymond Hettinger
a3c77677ca
... and the number of the counting shall be three.
2006-11-23 21:35:19 +00:00
Raymond Hettinger
a912c6c891
Fix and/add typo
2006-11-23 21:06:03 +00:00
Michael W. Hudson
f390442130
a test for an error condition not covered by existing tests
...
(noticed this when writing the equivalent code for pypy)
2006-11-23 13:54:04 +00:00
Georg Brandl
3f969022c6
Bug #1601630 : little improvement to getopt docs
2006-11-23 09:55:07 +00:00
Walter Dörwald
39b8b6afb5
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
...
SF bug #1601501 .
2006-11-23 05:03:56 +00:00
Martin v. Löwis
4ebbefe677
Patch #1362975 : Rework CodeContext indentation algorithm to
...
avoid hard-coding pixel widths. Also make the text's scrollbar
a child of the text frame, not the top widget.
2006-11-22 08:50:02 +00:00
Martin v. Löwis
2607e6c021
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
...
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
2006-11-21 18:20:25 +00:00
Neal Norwitz
7ac039653e
Fix SF #1599879 , socket.gethostname should ref getfqdn directly.
2006-11-21 06:23:44 +00:00
Neal Norwitz
10cdb7492e
Oops, convert tabs to spaces
2006-11-21 05:51:51 +00:00
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