Florent Xicluna
5f3fef37f6
test_ftplib: silence a BytesWarning when checking TypeError
2013-07-06 15:08:21 +02:00
Ronald Oussoren
fd1c69e2a4
Issue #12990 : The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
2013-07-06 13:20:57 +02:00
Florent Xicluna
d9e7c86d7e
Issue #18375 : Assume --randomize when --randseed is used for running the testsuite.
2013-07-06 12:25:52 +02:00
Ronald Oussoren
a68650553d
Issue #17860 : explicitly mention that std* streams are opened in binary mode by default.
...
The documentation does mention that the streams are opened in text mode
when univeral_newlines is true, but not that that they are opened in
binary mode when that argument is false and that seems to confuse at
least some users.
2013-07-06 10:23:59 +02:00
Christian Heimes
54ad7e39df
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:39:49 +02:00
Antoine Pitrou
be9c841494
Issue #11185 : Fix test_wait4 under AIX. Patch by Sébastien Sablé.
2013-07-04 21:03:10 +02:00
Victor Stinner
a9c99a6119
test_time.test_monotonic(): use a longer sleep to try to make the test more reliable
2013-07-03 23:07:37 +02:00
Victor Stinner
330426cfe2
test_faulthandler: skip test_read_null() on AIX
...
AIX maps the first page of memory at address zero as valid, read-only. Reading
NULL is not a fault on AIX. This is utilized by IBM compiler optimizations.
One speculatively can indirect through a pointer which may be null without
first testing if null and defer the test before using the value.
2013-07-03 22:29:42 +02:00
Eric V. Smith
f4c47b5a35
Closes #18312 : 'make distclean' no longer deletes files in dot-directories.
2013-07-02 09:06:54 -04:00
Richard Oudkerk
e3e8bcf3e7
Issue #17261 : Ensure multiprocessing's proxies use proper address.
2013-07-02 13:37:43 +01:00
Richard Oudkerk
d7d3f376dd
Issue #14206 : Clarify docs for Queue.join_cancel_thread().
2013-07-02 12:59:55 +01:00
Richard Oudkerk
b3c4b98c23
Issue #17273 : Clarify that pool methods can only be used by parent process.
2013-07-02 12:32:00 +01:00
Victor Stinner
8d3795474e
Issue #18343 : faulthandler.register() now keeps the previous signal handler
...
when the function is called twice, so faulthandler.unregister() restores
correctly the original signal handler.
2013-07-02 00:14:56 +02:00
Christian Heimes
b9dbc7d6e1
Issue #18328 : Reorder ops in PyThreadState_Delete*() functions. Now the
...
tstate is first removed from TLS and then deallocated.
CID 1019639 (#1 of 1): Use after free (USE_AFTER_FREE)
use_after_free: Using freed pointer tstate.
2013-07-01 23:42:28 +02:00
Christian Heimes
2178248858
Issue #18339 : use with self.assertRaises() to make test case more readable
2013-07-01 23:00:13 +02:00
Richard Oudkerk
cca8c53d6a
Issue #17097 : Make multiprocessing ignore EINTR.
2013-07-01 18:59:26 +01:00
Christian Heimes
8087879349
Singular form just like the other error message.
2013-07-01 15:23:39 +02:00
Christian Heimes
a24b4d260b
Issue #18339 : Negative ints keys in unpickler.memo dict no longer cause a
...
segfault inside the _pickle C extension.
2013-07-01 15:17:45 +02:00
Terry Jan Reedy
8a0b7756e2
Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:52 -04:00
Terry Jan Reedy
acd5f81149
Issue #18189 : add test_delegator for Idle Delegator class.
...
Also change private dict used as a set to a set.
2013-06-30 18:37:05 -04:00
Vinay Sajip
ef1f777e0a
Issue #18224 : Updated test.
2013-06-30 22:11:10 +01:00
Vinay Sajip
61d003a8f1
Issue #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:06:52 +01:00
Terry Jan Reedy
56fe854a77
Issue 18189: remove unused methods in idlelib.Delegator.Delegator.
...
Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
2013-06-30 16:52:19 -04:00
R David Murray
c170f37d38
#18038 : Use non-deprecated assert names in tests.
2013-06-30 11:46:32 -04:00
R David Murray
925a322570
#18155 : Regex-escape delimiter, in case it is a regex special char.
...
Patch by Vajrasky Kok, with slight modification to the tests by me.
2013-06-29 18:40:53 -04:00
Terry Jan Reedy
e4e530e7e8
Issue #18103 : Update README.txt and test_idle to describe and run gui tests.
2013-06-29 18:22:02 -04:00
Terry Jan Reedy
c4565a9524
Issue #18237 : Fix assertRaisesRegexp error caought by Jeff Tratner.
2013-06-29 13:15:43 -04:00
Terry Jan Reedy
95a3f11f95
Issue *18081, #18242 : Change Idle warnings capture in PyShell and run to stop
...
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
2013-06-28 23:50:12 -04:00
Terry Jan Reedy
70d2c711f1
Issue #18315 : Improve fileinput docs by adding 'bufsize' where missing and
...
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
2013-06-28 18:59:28 -04:00
R David Murray
02e4a7b4a3
#14360 : Add news item.
2013-06-28 15:08:03 -04:00
R David Murray
f6069f9f22
#14360 : make encoders.encode_quopri work.
...
There were no tests for the encoders module. encode_base64 worked
because it is the default and so got tested implicitly elsewhere, and
we use encode_7or8bit internally, so that worked, too. I previously
fixed encode_noop, so this fix means that everythign in the encoders
module now works, hopefully correctly. Also added an explicit test
for encode_base64.
2013-06-27 18:37:00 -04:00
R David Murray
c7f7579855
#18311 : fix typo.
2013-06-26 15:11:12 -04:00
Victor Stinner
36b82d85a3
Fix time.strftime("%Y") on AIX: raise a ValueError for year > 9999
...
time.strtime("%Y") returned "2345" when formatting year 12345.
2013-06-25 02:33:53 +02:00
Victor Stinner
6efa965a27
Issue #18135 : ssl.SSLSocket.write() now raises an OverflowError if the input
...
string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises
a ValueError if the password is longer than 2 gigabytes. The ssl module does
not support partial write.
2013-06-25 00:42:31 +02:00
Ned Deily
51cee7d24a
Issue #18164 : Clarify the embedding docs regarding link options.
2013-06-24 14:22:09 -07:00
Richard Oudkerk
2b310dd8b9
Fix typo.
2013-06-24 20:38:46 +01:00
Richard Oudkerk
7b69da72b8
Clarify note and fix typo.
2013-06-24 18:12:57 +01:00
Richard Oudkerk
64c25b4282
Issue #15818 : Typo in docs.
2013-06-24 15:42:00 +01:00
Richard Oudkerk
95fe1a793f
Issue #18277 : Document quirks of multiprocessing queue.
2013-06-24 14:48:07 +01:00
Christian Heimes
e0a2d12ee5
Fix test for GCC 3.1+ but not strict ANSI C
2013-06-24 15:39:41 +02:00
Christian Heimes
91e8b8180d
Check for correct macro, code uses S_ISDIR().
2013-06-23 23:51:44 +02:00
R David Murray
021362dbd4
#18179 : reflow paragraphs.
2013-06-23 16:05:44 -04:00
R David Murray
36beb66be9
#18179 : document the local_hostname parameter.
...
Original patch by Berker Peksag.
2013-06-23 15:47:50 -04:00
Serhiy Storchaka
e19ee8595d
Merge heads
2013-06-23 20:25:40 +03:00
Serhiy Storchaka
8eeae2126c
Issue #18184 : PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
...
OverflowError when an argument of %c format is out of range.
2013-06-23 20:12:14 +03:00
Łukasz Langa
f9b4eb4d04
Fixed issue #18260 : configparser TypeError on source name specified as bytes
2013-06-23 19:10:25 +02:00
Christian Heimes
36a7e4f74a
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
...
for symlinks.
2013-06-23 16:10:29 +02:00
Victor Stinner
9ee0203057
Issue #18135 : Fix a possible integer overflow in ssl.SSLSocket.write()
...
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.
2013-06-23 15:08:23 +02:00
Victor Stinner
4569cd5eab
_ssl.c: strip trailing spaces
2013-06-23 14:58:43 +02:00
Victor Stinner
2f084ecfe7
Issue #18137 : Detect integer overflow on precision in float.__format__() and
...
complex.__format__().
2013-06-23 14:54:30 +02:00