Thomas Heller
864cc6703a
Fix issue5504: ctypes does now work with systems where mmap can't be
...
PROT_WRITE and PROT_EXEC.
2010-08-08 17:58:53 +00:00
Senthil Kumaran
c41e1fad49
Add a news entry for Issue8280.
2010-08-08 11:50:22 +00:00
Raymond Hettinger
d331ce9e66
Issue #9507 : Named tuple repr will now automatically display the right
...
name in a tuple subclass.
2010-08-08 01:13:42 +00:00
Mark Dickinson
af43e9a288
Issue #8433 : Fix test_curses failure for platforms with recent versions of ncurses.
2010-08-07 12:33:36 +00:00
R. David Murray
d0511b0efb
Add xml subpackages, since they are likely to have different maintainers.
...
And if not they can be merged back together when that becomes apparent.
2010-08-06 21:18:49 +00:00
Brian Curtin
ef9efbd69c
Fix #9324 : Add parameter validation to signal.signal on Windows in order
...
to prevent crashes.
2010-08-06 19:27:32 +00:00
Mark Dickinson
e6fc7401a9
In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].
2010-08-06 18:55:26 +00:00
Mark Dickinson
4f3086f264
Misc/NEWS entry for r83751.
2010-08-06 09:38:58 +00:00
Brian Curtin
f045d775fd
Issue #9524 : Document that two CTRL* signals are meant for use only
...
with os.kill.
2010-08-05 18:56:00 +00:00
Gerhard Häring
1c5471f319
Issue #6683 : For SMTP logins we now try all authentication methods advertised
...
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.
2010-08-05 14:08:44 +00:00
Mark Dickinson
388122d43b
Issue #9337 : Make float.__str__ identical to float.__repr__.
...
(And similarly for complex numbers.)
2010-08-04 20:56:28 +00:00
Martin v. Löwis
b6c5074920
Add Terry Reedy.
2010-08-04 19:08:20 +00:00
Antoine Pitrou
560f7647ce
Issue #8814 : function annotations (the `__annotations__` attribute)
...
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
2010-08-04 18:28:02 +00:00
Antoine Pitrou
482e66a58a
Issue #9496 : Provide a test suite for the rlcompleter module. Patch by
...
Michele Orrù.
2010-08-04 15:43:16 +00:00
Antoine Pitrou
e99f507c98
I'm interested in threading issues as well
2010-08-04 13:24:41 +00:00
Giampaolo Rodolà
f96482e91a
as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file
2010-08-04 10:36:18 +00:00
Antoine Pitrou
226e945fe5
Something fun to maintain
2010-08-04 10:26:30 +00:00
Giampaolo Rodolà
b939235c6a
fix issue #6822 : ftplib's storline method doesn't work with text files
2010-08-04 10:12:00 +00:00
Giampaolo Rodolà
b5c23761d3
issue #8687 : provides a test suite for sched.py module
2010-08-04 09:28:05 +00:00
Giampaolo Rodolà
934abddaec
fix issue #2944 : asyncore doesn't handle connection refused correctly (patch by Alexander Shigin). Merged from 2.7 branch.
2010-08-04 09:02:27 +00:00
Richard Jones
dd24cf692c
note smtpd module changes in NEWS
2010-08-04 01:19:22 +00:00
R. David Murray
c4e69cc1d8
#3196 : if needed pad a short base64 encoded word before trying to decode.
...
The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.
Patch by Jason Williams.
2010-08-03 22:14:10 +00:00
Mark Dickinson
df7f2fd350
Misc/NEWS entry for r83677.
2010-08-03 18:44:16 +00:00
R. David Murray
88c49fe320
#9444 : use first of prefix_chars for help opt instead of raising error
...
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character. This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.
Fix by Theodore Turocy, unit tests by Catherine Devlin.
2010-08-03 17:56:09 +00:00
Antoine Pitrou
f767f08e29
Issue #8867 : Fix `Tools/scripts/serve.py` to work with files containing
...
non-ASCII content.
2010-08-03 17:09:36 +00:00
Mark Dickinson
6b54e1f782
Issue #8065 : Fix another memory leak in readline module, from failure to free
...
the result of a call to history_get_history_state.
2010-08-03 16:49:49 +00:00
Mark Dickinson
29b238e0dc
Issue #9450 : Fix memory leaks in readline.remove/replace_history_entry.
2010-08-03 16:08:16 +00:00
Georg Brandl
2d3c4e79a1
#7372 : fix regression in pstats: a previous fix to handle cProfile data in add_callers broke handling of profile data.
2010-08-02 17:24:49 +00:00
Georg Brandl
8e43fbfffa
#9428 : fix running scripts from profile/cProfile with their own name and the right namespace. Same fix as for trace.py in #1690103 .
2010-08-02 12:20:23 +00:00
Georg Brandl
b1a97afadb
#9209 and #7781 : fix two crashes in pstats interactive browser.
2010-08-02 12:06:18 +00:00
R. David Murray
a2fa2e5e54
Fix ACKS alphabetization.
2010-08-01 23:43:28 +00:00
Georg Brandl
5f90d79473
Fix style of referring to issues.
2010-08-01 22:31:05 +00:00
Raymond Hettinger
5be21b7a5a
Update OrderedDict implementation to match that in Py2.7.
2010-08-01 22:10:57 +00:00
Antoine Pitrou
7ffa196dce
Issue #8397 : Raise an error when attempting to mix iteration and regular
...
reads on a BZ2File object, rather than returning incorrect results.
2010-08-01 20:08:46 +00:00
Georg Brandl
f5b204a3f0
#5776 : fix mistakes in python specfile. (Nobody probably uses it anyway.)
2010-08-01 18:38:26 +00:00
Antoine Pitrou
c881f1592f
Issue #9448 : Fix a leak of OS resources (mutexes or semaphores) when
...
re-initializing a buffered IO object by calling its `__init__` method.
2010-08-01 16:53:42 +00:00
Georg Brandl
e6c5950af0
#5551 : symbolic links never can be mount points. Fixes the fix for #1713 .
2010-08-01 15:30:56 +00:00
Brian Curtin
ea47eaa395
Fix #8105 . Add validation to mmap.mmap so invalid file descriptors
...
don't cause a crash on Windows.
2010-08-01 15:26:26 +00:00
Georg Brandl
0bccc185b4
#8046 : add context manager protocol support to mmap objects. Also add closed property.
2010-08-01 14:50:00 +00:00
Mark Dickinson
5b65df7ce2
Issue #9416 : Fix some issues with complex formatting where the
...
output with no type specifier failed to match the str output:
- format(complex(-0.0, 2.0), '-') omitted the real part from the output,
- format(complex(0.0, 2.0), '-') included a sign and parentheses.
2010-08-01 10:41:49 +00:00
Georg Brandl
b16e38b825
#8826 : the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
2010-08-01 09:06:34 +00:00
Georg Brandl
8f9f466505
#1690103 : fix initial namespace for code run with trace.main().
2010-08-01 08:35:29 +00:00
Georg Brandl
920bc0fd86
Add another news entry.
2010-08-01 08:10:08 +00:00
Georg Brandl
f325e03f48
#8230 : make Lib/test/sortperf.py run on Python 3.
2010-08-01 08:07:49 +00:00
R. David Murray
7905d61b2c
#8620 : Cmd no longer truncates last character if stdin ends without newline
...
Cmd used to blindly chop off the last character of every input line. If
the input reached EOF and there was no final new line, it would truncate
the last character of the last command. This fix instead strips trailing
\r\n from the input lines. While this is a small behavior change, it
should not break any working code, since feeding a '\r\n' terminated
file to Cmd would previously leave the \r's on the lines, resulting
in failed command execution.
I wrote the unit test in preparation for a PyOhio TeachMe session
run by Catherine Devlin, and we can thank Catherine and the PyOhio
session attendees for the fix. I've added Catherine to the Acks file
for organizing and leading the TeachMe session, out of which we will
hopefully get some new contributors.
2010-08-01 03:31:09 +00:00
Georg Brandl
05245f7487
#5146 : handle UID THREAD command correctly.
2010-07-31 22:32:52 +00:00
Georg Brandl
87a1564f24
#5147 : revert accidental indentation of header constant for MozillaCookieJar.
2010-07-31 22:11:11 +00:00
Georg Brandl
78aa396415
#8198 : the Helper class should not save the stdin and stdout objects
...
at import time, rather by default use the current streams like the
other APIs that output help.
2010-07-31 21:51:48 +00:00
Georg Brandl
bb1901529d
Fix "Berkeley" name.
2010-07-31 21:41:42 +00:00
Georg Brandl
cfb68218b7
#7909 : the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them. See http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx for details.
2010-07-31 21:40:15 +00:00