Georg Brandl
ee50e3c734
#1940 : make it possible to use curses.filter() before curses.initscr()
...
as the documentation says.
(backport from rev. 60322)
2008-01-26 14:03:51 +00:00
Thomas Wouters
6bf585e753
Fix typo in constant name.
2008-01-25 21:08:41 +00:00
Thomas Wouters
d92272e4a9
Use the right (portable) definition of the max of a Py_ssize_t.
2008-01-25 19:51:24 +00:00
Guido van Rossum
ee6bab06d3
Rewrite the list_inline_repeat overflow check slightly differently.
2008-01-25 19:42:36 +00:00
Guido van Rossum
1c4282b41b
Silence a compiler warning.
2008-01-25 06:11:53 +00:00
Amaury Forgeot d'Arc
f1a7178cd5
#1920 : when considering a block starting by "while 0", the compiler 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.
2008-01-24 23:42:08 +00:00
Guido van Rossum
d933e0a7d3
News for some crashers I fixed recently.
...
Also removed three non-ASCII chars at start of file.
2008-01-24 18:28:37 +00:00
Guido van Rossum
1859f5b4d2
Backport r60246.
...
Fix issue #1303614 , test67.py.
2008-01-24 17:59:56 +00:00
Andrew M. Kuchling
61c2c9536f
Fix failing test_mailbox on Cygwin
2008-01-24 14:08:00 +00:00
Thomas Heller
fe528ebf68
Invert the checks in get_[u]long and get_[u]longlong. The intent was
...
to not accept float types; the result was that integer-like objects
were not accepted.
2008-01-24 13:08:54 +00:00
Guido van Rossum
e105f98046
Fix two crashers (borrowed_ref_[34].py from the trunk).
2008-01-23 20:09:39 +00:00
Martin v. Löwis
2529aa9840
Fix product code handling for Win64.
2008-01-23 17:54:14 +00:00
Christian Heimes
d2f4cb8cca
Fixed bug #1915 : Python compiles with --enable-unicode=no again. However several extension methods and modules do not work without unicode support.
2008-01-23 14:20:41 +00:00
Guido van Rossum
2c63442586
Backport r60208, skip some tests for huge passwd/group files.
2008-01-23 01:20:26 +00:00
Georg Brandl
7bf216b034
Backport: #1889 - fixup \xhh specs.
2008-01-22 07:54:07 +00:00
Gregory P. Smith
8f034d9af2
Backport of r60190:
...
- 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.
2008-01-22 01:29:11 +00:00
Mark Dickinson
9f26fcce04
Remove extra test that was accidentally backported from the trunk
2008-01-21 23:35:11 +00:00
Mark Dickinson
2bebadfe51
Issue 1678380: fix a bug identifying -0.0 and 0.0
2008-01-21 21:54:47 +00:00
Georg Brandl
78d50ccdf9
Add NEWS entry for #1882 .
...
(backport from rev. 60170)
2008-01-21 18:36:54 +00:00
Georg Brandl
7bdff2c8e5
Issue #1882 : when compiling code from a string, encoding cookies in the
...
second line of code were not always recognized correctly.
(backport from rev. 60168)
2008-01-21 18:35:52 +00:00
Vinay Sajip
8123ef2ec0
Fix : #1836 : Off-by-one bug in TimedRotatingFileHandler rollover calculation. Patch thanks to Kathryn M. Kowalski.
2008-01-21 17:03:46 +00:00
Andrew M. Kuchling
0e65fe4b90
Fix off-by-one error that resulted in missed characters
2008-01-19 23:44:39 +00:00
Gregory P. Smith
1cc98af8a1
backport r60116 - fix zipfile to work with archives having file
...
headers beyond the signed 2**31 byte boundary.
2008-01-19 23:16:01 +00:00
Gregory P. Smith
c223c6cb41
backport r60104 + r60111 from trunk.
...
- 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.
2008-01-19 22:29:41 +00:00
Andrew M. Kuchling
af81c576ea
Bug 1296: restore text describing OptionGroup
2008-01-19 21:01:39 +00:00
Georg Brandl
7829d603a8
Backport r59688.
2008-01-19 20:34:19 +00:00
Andrew M. Kuchling
ea72dcb05c
Bug 1277: make Maildir use the user-provided factory instead of hard-wiring MaildirMessage.
2008-01-19 20:14:40 +00:00
Guido van Rossum
5f4fc831ad
This got fixed in r60056.
2008-01-18 23:06:49 +00:00
Guido van Rossum
03706d2db0
Backport r55080:
...
Fix for #1303614 and #1174712 :
- __dict__ descriptor abuse for subclasses of built-in types
- subclassing from both ModuleType and another built-in types
2008-01-18 21:31:32 +00:00
Guido van Rossum
d187381b81
Fix an edge case whereby the __del__() method of a classic class could
...
create a new weakref to the object.
2008-01-18 20:53:37 +00:00
Gregory P. Smith
0f99b71bd0
** backport r60015 from trunk.
...
- 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.
2008-01-17 07:54:47 +00:00
Thomas Heller
f43a86b9d7
Backport from trunk:
...
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.
2008-01-16 19:24:20 +00:00
Georg Brandl
2e7fde7069
Backport r59999: fix MSDN link. ( #1854 )
2008-01-16 16:57:19 +00:00
Raymond Hettinger
665ddc9bb3
Fix 1698398: Zipfile.printdir() crashed because the format string expected a tuple object of length six instead of a time.struct_time object.
2008-01-14 23:02:51 +00:00
Thomas Heller
b9c741c43c
Added NEWS entry, plus:
...
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.
........
2008-01-11 19:48:46 +00:00
Facundo Batista
c5bb868414
Link to external documentation about new style classes was
...
wrong. Fix issue 1774.
2008-01-09 16:37:02 +00:00
Andrew M. Kuchling
5e2760cc9f
Update reference to bug tracker
2008-01-09 12:43:55 +00:00
Mark Dickinson
4a3c7c78fb
Add Decimal backport to Misc/NEWS
2008-01-09 01:02:07 +00:00
Mark Dickinson
d77fedc745
Fix Decimal hash in Python 2.5 maintenance branch so that hash(x) == hash(int(x))
...
for any integral Decimal instance x.
2008-01-08 21:42:03 +00:00
Facundo Batista
5dfc48060b
Decimal module and test cases were updated to their state of
...
the art. It now complies latest specification and tests.
The only difference of this version with the one in the trunk
is that a small subset that hash tests were removed, because
they rely on modifications to core hash() function (see
issue 1182 for further details).
2008-01-08 16:20:31 +00:00
Andrew M. Kuchling
7a062c6dca
Patch 1114: fix compilation of curses module on 64-bit AIX, and any other LP64 platforms where attr_t isn't a C long
2008-01-08 14:58:52 +00:00
Martin v. Löwis
85cbabfde9
Fix bug tracker link.
2008-01-07 22:46:22 +00:00
Facundo Batista
d0dcbc4ba2
Backport of issue 1755179 fix.
2008-01-07 16:49:02 +00:00
Guido van Rossum
6e3e6e0d77
Forgot to backport the rest of #1637 .
2008-01-06 02:40:07 +00:00
Guido van Rossum
81728cf4c9
Backport r59758.
...
Patch #1637 : fix urlparse for URLs like 'http://x.com?arg=/foo '.
Fix by John Nagle.
2008-01-05 23:34:38 +00:00
Guido van Rossum
62bceeccdd
Backport r57216 (see issue #1731 ).
...
Add a hack (originally devised in a slightly different form by Thomas Wouters)
to prevent spurious tracebacks when a daemon thread's cleanup happens to wake
up when the world around it has already been destroyed.
This also backports other small changes to this file, essentially making
it identical to the trunk version.
2008-01-04 19:06:02 +00:00
Andrew M. Kuchling
b234ceb1ac
Update links to bug/patch tracker
2008-01-04 14:47:42 +00:00
Lars Gustäbel
e5f9e588c6
Issue #1735 : TarFile.extractall() now correctly sets directory
...
permissions and times.
(backport from r59712)
2008-01-04 14:44:23 +00:00
Christian Heimes
12f03ccece
Bug #1713 : posixpath.ismount() claims symlink to a mountpoint is a mountpoint.
2008-01-04 13:22:36 +00:00
Guido van Rossum
3b4a5bd9da
Fix bug #1301 -- a bad assert in _tkinter.
2008-01-03 23:52:04 +00:00