Serhiy Storchaka
0abbe8c090
Issue #20138 : The wsgiref.application_uri() and wsgiref.request_uri()
...
functions now conform to PEP 3333 when handle non-ASCII URLs.
2014-01-12 12:08:11 +02:00
Senthil Kumaran
b4cbb92fbe
Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an
...
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.
2014-01-11 22:20:16 -08:00
Serhiy Storchaka
2f26c224d7
tkinter.Text.debug() now always returns 0/1.
...
Fixed a regression inroduced in issue #6157 .
2014-01-11 13:13:46 +02:00
Serhiy Storchaka
e0837a03ee
Try to fix some ttk tests. Error messages were changed in 8.6b3.
2014-01-11 00:10:04 +02:00
Serhiy Storchaka
cce440fab8
Issue #19804 : The test_find_mac test in test_uuid is now skipped if the
...
ifconfig executable is not available.
2014-01-10 15:06:59 +02:00
Serhiy Storchaka
4847e4e1f4
Issue #19886 : Use better estimated memory requirements for bigmem tests.
...
Incorrect requirements can cause memory swapping.
2014-01-10 13:37:54 +02:00
Serhiy Storchaka
f451112413
Issue #13107 : argparse and optparse no longer raises an exception when output
...
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
2014-01-09 23:14:27 +02:00
Antoine Pitrou
32c4915b23
Try to fix test_ssl failures on some buildbots
2014-01-09 21:28:48 +01:00
Antoine Pitrou
cd3d7cabef
Issue #20207 : Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
2014-01-09 20:02:20 +01:00
Serhiy Storchaka
1064a13bb0
Do not reset the line number because we already set file position to correct
...
value.
(fixes error in patch for issue #18960 )
2014-01-09 20:12:49 +02:00
Benjamin Peterson
50b82c765f
clear zip stat cache after each ref leak run
2014-01-09 11:10:30 -06:00
Serhiy Storchaka
768c16ce02
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:36:09 +02:00
Serhiy Storchaka
5ce3f10aee
Issue #20078 : Reading malformed zipfiles no longer hangs with 100% CPU
...
consumption.
2014-01-09 14:50:20 +02:00
Victor Stinner
cd5ca6a564
Issue #20113 : Fix test_posix on OpenIndiana
2014-01-08 16:01:31 +01:00
Victor Stinner
57ddf78b6b
Issue #20113 : os.readv() and os.writev() now raise an OSError exception on
...
error instead of returning -1.
2014-01-08 15:21:28 +01:00
Gregory P. Smith
2bcbc14117
Fixes Issue #19081 : When a zipimport .zip file in sys.path being imported from
...
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).
2014-01-07 18:30:07 -08:00
Serhiy Storchaka
a21acb5d95
Issue #20072 : Fixed multiple errors in tkinter with wantobjects is False.
...
* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.
2014-01-07 19:27:42 +02:00
Benjamin Peterson
3e6ab1715d
avoid parameter name clash ( closes #20108 )
2014-01-02 12:24:08 -06:00
Zachary Ware
487aedb77c
Issue #20101 : Allow test_monotonic to pass on Windows machines on which
...
time.get_clock_info('monotonic').resolution == 0.015600099999999999
This is just a workaround pending a real resolution to #20101 .
2014-01-02 09:41:10 -06:00
Victor Stinner
6a31b0fa19
Issue #18829 : Add tests for the csv module for invalid characters (delimiter,
...
escapechar, quotechar)
2014-01-02 12:53:13 +01:00
Antoine Pitrou
3f48ac98c0
Issue #20055 : Fix test_shutil under Windows with symlink privileges held.
...
Patch by Vajrasky Kok.
2014-01-01 02:50:45 +01:00
Senthil Kumaran
b6fac245b5
Backporing the fix from Issue #12692
2013-12-28 17:36:18 -08:00
Antoine Pitrou
3e86ba4e32
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:26:33 +01:00
R David Murray
ecff5e51a5
#18116 : backport fix to 3.3 since real-world failure mode demonstrated.
...
In issue 20074 it was pointed out that getpass would fail with a traceback if
stdin was, for example /dev/null, which is a non-unlikely scenario.
Also backported the tests from issue 17484 as modified by issue 18116.
(What I really did was copy getpass.py and test_getpass.py from their
state on tip as of 17bd04fbf3d3).
2013-12-27 11:24:32 -05:00
Serhiy Storchaka
5eb01530b2
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:20:59 +02:00
Serhiy Storchaka
d97c01ff28
Issue #20067 : Tkinter variables now work when wantobjects is false.
2013-12-26 20:06:05 +02:00
Zachary Ware
e80e806b3a
Issue #19938 : Re-enabled test_bug_1333982 in test_dis, which had been
...
disabled since 3.0 due to the changes in listcomp handling.
2013-12-26 09:53:49 -06:00
Serhiy Storchaka
a1de906330
test_debug in test_tkinter/test_text no longer fails when wantobjects is false.
2013-12-25 17:35:24 +02:00
Serhiy Storchaka
cc4290bf91
Issue #19320 : test_tcl no longer fails when wantobjects is false.
2013-12-25 17:29:01 +02:00
Serhiy Storchaka
848972cac1
Issue #19020 : Tkinter now uses splitlist() instead of split() in configure
...
methods.
2013-12-25 16:35:38 +02:00
Serhiy Storchaka
0fd557647d
Issue #20058 : sys.stdin.readline() in IDLE now always returns only one line.
2013-12-25 14:24:35 +02:00
Benjamin Peterson
eaedaeccf2
update Barry's email ( #19563 )
2013-12-22 19:45:38 -06:00
Antoine Pitrou
e62a40401d
Fix bootstrap issue by importing the cgi module lazily
2013-12-22 19:37:17 +01:00
Antoine Pitrou
335a5128e5
Fix TypeError on "setup.py upload --show-response".
2013-12-22 18:13:51 +01:00
Antoine Pitrou
e8d07a9885
Issue #12226 : HTTPS is now used by default when connecting to PyPI.
2013-12-22 01:45:42 +01:00
Antoine Pitrou
f60b7df9f8
Issue #12226 : HTTPS is now used by default when connecting to PyPI.
2013-12-22 01:35:53 +01:00
Antoine Pitrou
6783487757
Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures)
2013-12-22 00:44:01 +01:00
Antoine Pitrou
716b7222e9
Issue #20045 : Fix "setup.py register --list-classifiers".
2013-12-21 22:57:56 +01:00
Antoine Pitrou
492b9893e1
Fix DeprecationWarnings in test suite
2013-12-21 22:19:46 +01:00
Antoine Pitrou
17c93260a6
Issue #18879 : When a method is looked up on a temporary file, avoid closing the file before the method is possibly called.
2013-12-21 22:14:56 +01:00
Zachary Ware
bdce938af2
Update test.outstanding_bugs.py
2013-12-20 13:25:07 -06:00
Serhiy Storchaka
715233c3cd
Issue #20034 : Updated alias mapping to most recent locale.alias file
...
from X.org distribution using makelocalealias.py.
2013-12-20 18:23:26 +02:00
Serhiy Storchaka
bea3534efe
Don't use sebTest() in tests for issue #5815 .
2013-12-19 22:31:46 +02:00
Zachary Ware
e36e8be2ee
Issue #19683 : Removed empty tests from test_minidom. Patch by Ajitesh Gupta.
2013-12-19 13:44:56 -06:00
Serhiy Storchaka
c8cc42edf4
Issue #5815 : Fixed support for locales with modifiers. Fixed support for
...
locale encodings with hyphens.
2013-12-19 21:21:25 +02:00
Victor Stinner
1e81a399a2
Issue #20025 : ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a
...
ValueError if num is negative (instead of raising a SystemError).
2013-12-19 16:47:04 +01:00
Victor Stinner
cb1f74ec40
Issue #20026 : Fix the sqlite module to handle correctly invalid isolation level
...
(wrong type).
2013-12-19 16:38:03 +01:00
Serhiy Storchaka
cac23a50ee
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:27:18 +02:00
Benjamin Peterson
ccedc22769
update url to spec ( closes #20018 )
2013-12-18 15:35:18 -06:00
Serhiy Storchaka
3c02ecefba
Issue #19492 : Silently skipped distutils tests now reported as skipped.
2013-12-18 16:41:01 +02:00
R David Murray
4be1e24933
#19855 : uuid.get_node now looks on the PATH for executables on unix.
...
Patch by Serhiy Storchaka.
2013-12-17 21:13:16 -05:00
Antoine Pitrou
320b39158e
Issue #20006 : Fix sporadic failures in test_weakset.
2013-12-18 00:28:36 +01:00
Antoine Pitrou
0c73fc04e6
Revert misled test change in f189da5bda26.
2013-12-18 00:29:30 +01:00
Serhiy Storchaka
1c84ac1f55
Issue #20007 : HTTPResponse.read(0) no more prematurely closes connection.
...
Original patch by Simon Sapin.
2013-12-17 21:50:02 +02:00
Victor Stinner
170078804c
Close #19999 : tolerate coarse time when testing time.monotonic() on very
...
busy/slow buildbot
2013-12-16 22:36:50 +01:00
Christian Heimes
de57074874
Issue #19919 : Fix flacky SSL test. connect_ex() sometimes returns
...
EWOULDBLOCK on Windows or VMs hosted on Windows.
2013-12-16 21:15:44 +01:00
Zachary Ware
1007432c95
Issue #19987 : Re-write test_alias_fallback in test_winsound to have two
...
acceptable outcomes: success or RuntimeError. Without being able to
actually hear whether a sound was played, either one could be right, but
any other error would be a failure.
2013-12-16 09:02:41 -06:00
Serhiy Storchaka
928b9e272d
Merge heads
2013-12-16 15:16:35 +02:00
Serhiy Storchaka
593568bf47
Issue #19912 : Fixed numerous bugs in ntpath.splitunc().
...
* splitunc() no more return illegal result for paths with redundant slashes.
* splitunc() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
* Deprecation warnings now emitted for every use of splitunc().
* Added tests for splitunc().
2013-12-16 15:13:28 +02:00
Serhiy Storchaka
3d7e11520e
Issue #19911 : ntpath.splitdrive() now correctly processes the 'İ' character
...
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
2013-12-16 14:34:55 +02:00
Christian Heimes
e9b034b72d
Issue #17919 : add missing import of USHRT_MAX
2013-12-16 13:27:16 +01:00
R David Murray
8a1d1e647e
#19532 : make compileall with no file/dir args respect -f and -q.
...
Patch by Vajrasky Kok.
2013-12-15 20:49:38 -05:00
Serhiy Storchaka
c836a28cc1
Issue #17576 : Removed deprecation warnings added in changeset 618cca51a27e.
2013-12-14 21:07:09 +02:00
Serhiy Storchaka
84d28b4ee5
Issue #19623 : Fixed writing to unseekable files in the aifc module.
2013-12-14 20:35:04 +02:00
Serhiy Storchaka
5da107ac72
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:12:02 +02:00
R David Murray
fc06999e0b
#19970 : Fix some comment typos.
...
Report and patch by Vajrasky Kok.
2013-12-13 20:52:19 -05:00
Victor Stinner
c9362cf86a
Issue #19969 : PyBytes_FromFormatV() now raises an OverflowError if "%c"
...
argument is not in range [0; 255].
2013-12-13 12:14:44 +01:00
Serhiy Storchaka
3ad2d70947
Issue #17919 : select.poll.poll() again works with poll.POLLNVAL on AIX.
2013-12-13 12:08:01 +02:00
Victor Stinner
1310510793
Issue #14432 : Generator now clears the borrowed reference to the thread state
...
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
2013-12-13 02:17:29 +01:00
Zachary Ware
0f533acf88
Avoid UnicodeEncodeError by only printing ASCII.
...
This fixes running test_decimal in verbose mode on Windows,
which I broke in issue #19572 .
2013-12-12 10:32:16 -06:00
Zachary Ware
36193e73b8
Issue #19828 : Fixed test_site when the whole suite is run with -S.
...
Also, cleaned up an unused import.
2013-12-11 16:59:44 -06:00
R David Murray
d5c4c7411a
#19063 : partially fix set_payload handling of non-ASCII string input.
...
This is a backward compatible partial fix, the complete fix requires raising
an error instead of accepting the invalid input, so the real fix is only
suitable for 3.4.
2013-12-11 16:34:34 -05:00
Serhiy Storchaka
31a655411a
Issue #17576 : Deprecation warning emitted now when __int__() or __index__()
...
return not int instance. Introduced _PyLong_FromNbInt() and refactored
PyLong_As*() functions.
2013-12-11 21:07:54 +02:00
Gregory P. Smith
acd17304d2
Fixes Issue #17200 : telnetlib's read_until and expect timeout was broken by the
...
fix to Issue #14635 in Python 3.3.0 to be interpreted as milliseconds instead
of seconds when the platform supports select.poll (ie: everywhere). It is now
treated as seconds once again.
2013-12-10 18:25:21 -08:00
Ned Deily
f3c6589ea3
Issue #18270 : Prevent possible IDLE AttributeError on OS X when no initial
...
shell window is present. (Original patch by Terry Reedy)
2013-12-10 16:24:01 -08:00
Zachary Ware
ea6854a9ef
Issue #19928 : Fix test on Windows
2013-12-10 14:17:22 -06:00
Ezio Melotti
d082b68786
#19943 : fix typo noticed by Jakub Wilk.
2013-12-10 14:05:46 +02:00
Serhiy Storchaka
1f79cdfbfa
Issue #19928 : Implemented a test for repr() of cell objects.
2013-12-10 10:20:31 +02:00
Serhiy Storchaka
9df8a1c112
Issue #19481 : print() of string subclass instance in IDLE no more hangs.
2013-12-10 10:05:19 +02:00
Victor Stinner
271493b68c
Issue #17429 : Oops, remove unused import
2013-12-09 00:25:57 +01:00
Victor Stinner
620c48b7ea
Issue #17429 : platform.linux_distribution() now decodes files from the UTF-8
...
encoding with the surrogateescape error handler, instead of decoding from the
locale encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.
2013-12-09 00:01:27 +01:00
Gregory P. Smith
589ecda56e
Fixes issue #19929 : Call os.read with 32768 within subprocess.Popen
...
communicate rather than 4096 for efficiency. A microbenchmark shows
Linux and OS X both using ~50% less cpu time this way.
2013-12-08 10:56:07 -08:00
Serhiy Storchaka
3e60a9d602
Issue #19535 : Fixed test_docxmlrpc when python is run with -OO.
2013-12-08 18:14:49 +02:00
Gregory P. Smith
a82f74dee3
Remove mentions of Python 2.x and being externally maintained from
...
the bundled json module. Replace that with a mention of it being
a version of the externally maintained simplejson module.
2013-12-08 00:39:07 -08:00
Zachary Ware
4adb37c40f
Issue #19926 : Removed unneeded test_main from test_abstract_numbers.
...
Patch by Vajrasky Kok.
2013-12-08 01:00:14 -06:00
Zachary Ware
7ef00ff91a
Normalize whitespace
2013-12-08 00:38:54 -06:00
Zachary Ware
9fe6d86709
Issue 19572: More silently skipped tests explicitly skipped.
2013-12-08 00:20:35 -06:00
Gregory P. Smith
774f909489
Fixes issue #19506 : Use a memoryview to avoid a data copy when piping data
...
to stdin within subprocess.Popen.communicate. 5-10% less cpu usage.
2013-12-07 19:12:46 -08:00
Charles-François Natali
6c527cf37f
Issue #19857 : Make sure that test_imaplib reaps server threads even in face of
...
error upon client disconnection.
2013-12-07 20:30:17 +01:00
Nadeem Vawda
9c72ebc96b
#19839 : Fix lzma module's handling of non-lzma data at EOF.
2013-12-04 23:03:49 +01:00
Nadeem Vawda
1de19ac7da
#19839 : Fix regression in bz2 module's handling of non-bzip2 data at EOF.
2013-12-04 23:01:15 +01:00
Tim Peters
13e6d23bb1
Issue #19138 : doctest's IGNORE_EXCEPTION_DETAIL now allows no detail at all.
...
(grafted from c80083ad142db2939507800c755082293a87f2de)
2013-12-03 21:02:05 -06:00
Vinay Sajip
827f5d35e5
Issue #19665 : Increased timeout for SMTPHandler test.
2013-12-03 11:28:55 +00:00
Walter Doerwald
9d1dbca5e2
Fix issue #19834 : Support unpickling of exceptions pickled by Python 2.
2013-12-02 11:41:01 +01:00
Gregory P. Smith
708a3182c9
Fixes issue #15798 : subprocess.Popen() no longer fails if file
...
descriptor 0, 1 or 2 is closed.
The errpipe_write fd will always be >= 3.
2013-12-01 17:27:40 -08:00
Alexandre Vassalotti
5c1c3b4f19
Issue #11480 : Fixed copy.copy to work with classes with custom metaclasses.
...
Patch by Daniel Urban.
2013-12-01 13:25:26 -08:00
Gregory P. Smith
361e30c17a
Undo supposed fix for Issue #15798 until I understand why this is
...
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
2013-12-01 00:12:24 -08:00
Gregory P. Smith
1eda9e7c30
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
...
descriptor 0, 1 or 2 is closed.
2013-11-30 19:02:57 -08:00
Alexandre Vassalotti
19b6fa6ebb
Issue #6477 : Added support for pickling the types of built-in singletons.
2013-11-30 16:06:39 -08:00
Alexandre Vassalotti
896414fedf
Fixed _pickle.Unpickler to handle empty persistent IDs correctly.
2013-11-30 13:52:35 -08:00
Zachary Ware
04a684b2f2
Issue #19595 : Re-enable a long-disabled test in test_winsound
2013-11-27 23:56:04 -06:00
Eli Bendersky
5dd40e555b
Issue #19815 : Fix segfault when parsing empty namespace declaration.
...
Based on patches by Christian Heimes and Vajrasky Kok
2013-11-28 06:31:58 -08:00
Serhiy Storchaka
c303cfdb8a
Skip test_find_mac on Windows (issue #19804 ).
...
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
2013-11-27 08:57:51 +02:00
Benjamin Peterson
0ee22bf774
fix format spec recursive expansion ( closes #19729 )
2013-11-26 19:22:36 -06:00
Zachary Ware
99fb0513dd
Merge heads
2013-11-26 14:57:10 -06:00
Zachary Ware
a6edea530b
Issue #19588 : Fixed tests in test_random that were silently skipped most
...
of the time. Patch by Julian Gindi.
2013-11-26 14:50:10 -06:00
Serhiy Storchaka
56507c7862
Issue #11508 : Fixed uuid.getnode() and uuid.uuid1() on environment with
...
virtual interface. Original patch by Kent Frazier.
2013-11-26 22:47:16 +02:00
Mark Dickinson
a04f4e0374
Use @bigmemtest more accurately.
2013-11-26 20:28:29 +00:00
Serhiy Storchaka
c93329b3dd
Issue #11489 : JSON decoder now accepts lone surrogates.
2013-11-26 21:25:28 +02:00
Mark Dickinson
f45bbb6211
Issue #19638 : Raise ValueError instead of crashing when converting billion character strings to float.
2013-11-26 16:19:13 +00:00
Ezio Melotti
4bcc796acc
#19620 : Fix typo in docstring (noticed by Christopher Welborn).
2013-11-25 05:14:51 +02:00
Stefan Krah
45059eb1d0
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
...
_decimal:
o Make all "mpd_t to C integer" conversion functions available in both the
64-bit and the 32-bit versions.
o Make all mixed mpd_t/C integer arithmetic functions available in the
32-bit version.
o Better handling of __STDC_LIMIT_MACROS for C++ users.
o Add struct tags (at the request of C++ users).
2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
2013-11-24 19:44:57 +01:00
Serhiy Storchaka
cdac302af3
Issue #19545 : Avoid chained exceptions while passing stray % to
...
time.strptime(). Initial patch by Claudiu Popa.
2013-11-24 18:15:37 +02:00
Antoine Pitrou
a8892a1aa5
Issue #19743 : fix test_gdb on some optimized Python builds
2013-11-24 14:58:17 +01:00
Antoine Pitrou
b17d2aa552
Issue #19308 : fix the gdb plugin on gdbs linked with Python 3
2013-11-23 17:40:36 +01:00
Serhiy Storchaka
c17565e4a9
Issue #19733 : Temporary disable test_image on MacOSX.
2013-11-23 15:21:33 +02:00
Serhiy Storchaka
0b1386d922
Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654).
2013-11-21 19:23:19 +02:00
Serhiy Storchaka
d9a018222f
Issue #19633 : Fixed writing not compressed 16- and 32-bit wave files on
...
big-endian platforms.
Temporary forbidden test_unseekable_incompleted_write fornot compressed 16-
and 32-bit wave file on big-endian platforms.
2013-11-21 11:02:30 +02:00
Serhiy Storchaka
8db1823cf7
Print Tk patchlevel in test_tcl in verbose mode (issue19654).
2013-11-20 17:43:49 +02:00
R David Murray
fb099c9ef1
#19449 : Handle non-string keys when generating 'fieldnames' error.
...
csv was handling non-string keys fine except for the error message
generated when a non-string key was not in 'fieldnames'.
Fix by Tomas Grahn, full patch-with-test by Vajrasky Kok (tweaked slightly).
2013-11-19 13:16:20 -05:00
doko@ubuntu.com
7ad11bf815
- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py
2013-11-19 09:12:28 +01:00
Zachary Ware
4accf45f0e
Issue #19596 : Set untestable tests in test_importlib to None
...
to avoid reporting success on empty tests.
2013-11-18 21:44:38 -06:00
Gregory P. Smith
30d8e167ff
Cleanup this test's modification of os.environ in teardown (this already
...
exists in 3.4 but apparently wasn't done for 3.3).
2013-11-18 21:10:04 +00:00
Gregory P. Smith
162307fa35
Fix test.support.bind_port() to not cause an error when Python was compiled
...
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
2013-11-17 22:19:32 +00:00
Serhiy Storchaka
76edd2110d
Issue #19603 : Use specific asserts in test_decr.
2013-11-17 23:38:50 +02:00
Richard Oudkerk
46b4a5e51e
Issue #19599 : Increase sleep period.
2013-11-17 17:45:16 +00:00
Richard Oudkerk
8731d7b3c6
Fix handling of SystemExit and exit code. Patch by Brodie Rao.
2013-11-17 17:24:11 +00:00
Serhiy Storchaka
9d282f6b9f
Issue #19606 : Use specific asserts in http.cookiejar tests.
2013-11-17 13:45:02 +02:00
Serhiy Storchaka
2e29c9e1c2
Issue #19607 : Use specific asserts in weakref tests.
2013-11-17 13:20:09 +02:00
Serhiy Storchaka
3df4dcceb9
Issue #19605 : Use specific asserts in datetime tests
2013-11-17 12:52:33 +02:00
Serhiy Storchaka
3afec4e0b9
Merge heads
2013-11-17 12:30:29 +02:00
Georg Brandl
497b3943a3
merge with 3.3.3 release clone
2013-11-17 09:17:18 +01:00
Georg Brandl
9e2043a561
Bump to 3.3.3 final.
2013-11-17 07:58:22 +01:00
Serhiy Storchaka
91b3e77a6a
Issue #19604 : Use specific asserts in array tests.
2013-11-17 00:45:17 +02:00
Serhiy Storchaka
e3b5a76540
Issue #19602 : Use specific asserts in tkinter tests.
2013-11-17 00:42:25 +02:00
Serhiy Storchaka
78ee078405
Issue #19601 : Use specific asserts in sqlite3 tests.
2013-11-17 00:39:12 +02:00
Serhiy Storchaka
39989157ad
Issue #19600 : Use specific asserts in distutils tests.
2013-11-17 00:17:46 +02:00
Serhiy Storchaka
5665bc5980
Issue #19594 : Use specific asserts in unittest tests.
2013-11-17 00:12:21 +02:00
Serhiy Storchaka
7c5e24f948
Issue #19591 : Use specific asserts in ctype tests.
2013-11-16 23:51:26 +02:00
Serhiy Storchaka
328cf3cbdf
Issue #19590 : Use specific asserts in email tests.
2013-11-16 12:56:23 +02:00
Vinay Sajip
9c10d6b800
Issue #19504 : Used American spelling for 'customize'.
2013-11-15 20:58:13 +00:00
Vinay Sajip
a76157dca6
Issue #19523 : Closed FileHandler leak which occurred when delay was set.
2013-11-15 20:40:27 +00:00
Serhiy Storchaka
8bdc130121
Issue #19592 : Use specific asserts in lib2to3 tests.
2013-11-14 23:49:58 +02:00
Andrew Kuchling
98a0d063a1
Closes #12828 : add docstring text noting this is an internal-only module
2013-11-12 10:25:15 -05:00
Tim Golden
6e51b8ff0f
Issue13674 Correct crash with strftime %y format under Windows
2013-11-12 12:36:54 +00:00
Zachary Ware
c12f09ed24
Issue #19440 : Clean up test_capi
2013-11-11 22:47:04 -06:00
Tim Golden
acea823fd8
Remove outdated comment
2013-11-11 15:08:04 +00:00
Georg Brandl
4cf9b2047d
Bump to 3.3.3rc2.
2013-11-11 06:13:54 +01:00
Jason R. Coombs
a2ebfd0256
Issue #19544 and Issue #6286 : Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2.
2013-11-10 18:50:10 -05:00
Jason R. Coombs
3492e39b44
Issue 19544 and Issue #7457 : Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2.
2013-11-10 18:15:03 -05:00
Serhiy Storchaka
a44372fd0b
Issue #1575020 : Fixed support of 24-bit wave files on big-endian platforms.
2013-11-09 23:12:06 +02:00
Serhiy Storchaka
affb9b255b
Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.11 (issue #19085 ).
2013-11-09 21:16:19 +02:00
Georg Brandl
7b5d6adb28
Backout 265d369ad3b9.
2013-11-04 07:43:41 +01:00
Georg Brandl
7ec3e56bb8
Backout d80207d15294.
2013-11-04 07:43:32 +01:00
Jason R. Coombs
bd26d86d74
Issue #19286 : [distutils] Only match files in build_py.find_data_files.
2013-11-02 11:07:35 -04:00
Jason R. Coombs
93912b9e54
Issue #19286 : Adding test demonstrating the failure when a directory is found in the package_data globs.
2013-11-02 11:29:33 -04:00
Benjamin Peterson
35aca89617
merge 3.1 ( #19435 )
2013-10-30 12:48:59 -04:00
Benjamin Peterson
04e9de40f3
use the collapsed path in the run_cgi method ( closes #19435 )
2013-10-30 12:43:09 -04:00
Georg Brandl
b3acaccf27
Transplant of rev 544b654d000c: directory traversal attack in CGIHttpRequestHandler.
2013-11-11 06:10:23 +01:00
Ezio Melotti
7165d8b9ba
#19480 : HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.
2013-11-07 18:33:24 +02:00
Serhiy Storchaka
7c934da0ff
Revert wrong change in previous commit (issue #19085 ).
2013-11-05 22:01:46 +02:00
Serhiy Storchaka
8f9f5870d3
Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel >= 8.5.12 (issue #19085 ).
2013-11-05 21:05:10 +02:00
Serhiy Storchaka
98555f3ac7
Fix typo in tkinter tests (issue #19085 ).
2013-11-05 20:17:50 +02:00
Terry Jan Reedy
5c81164077
Issue #19397 : test_pydoc now works with -S (help not added to builtins).
...
Patch by Serhiy Storchaka and Vajrasky Kok.
2013-11-04 21:43:26 -05:00
Serhiy Storchaka
2028e01313
Issue #19085 : Fix running test_ttk_textonly on displayless host.
2013-11-04 23:05:37 +02:00
Serhiy Storchaka
8d8599ce0c
Issue #19085 : Fix Tkinter tests on Tk 8.5 with patchlevel < 8.5.12.
2013-11-04 22:11:12 +02:00
Serhiy Storchaka
7908068627
Issue #18702 : All skipped tests now reported as skipped.
2013-11-03 21:31:18 +02:00
R David Murray
0de4d3e3eb
#19485 : clarify get_param example.
...
Patch by Vajrasky Kok.
2013-11-03 12:23:23 -05:00
Serhiy Storchaka
b2817327b9
Issue #19085 : Fixed pixels rounding for last Tk patchlevels.
2013-11-03 18:24:31 +02:00
Tim Golden
49667f09a7
Issue #10197 : merge heads
2013-11-03 14:20:23 +00:00
Tim Golden
e004175c56
Issue #10197 Rework subprocess.get[status]output to use subprocess functionality and thus to work on Windows. Patch by Nick Coghlan.
2013-11-03 12:53:17 +00:00
Serhiy Storchaka
0b9e815d8d
Issue #6157 : Fixed tkinter.Text.debug(). Original patch by Guilherme Polo.
2013-11-03 14:29:35 +02:00
Serhiy Storchaka
2849e0dfb7
Issue #6160 : The bbox() method of tkinter.Spinbox now returns a tuple of
...
integers instead of a string. Based on patch by Guilherme Polo.
2013-11-03 14:13:34 +02:00
Jason R. Coombs
ca9242f4f9
Merge with 3.2 for Issue #19286 .
2013-11-02 13:01:46 -04:00
Serhiy Storchaka
0aade6258c
Merge heads
2013-11-02 18:53:06 +02:00
Serhiy Storchaka
9788497e4b
Issue #19085 : Fixed some Tkinter tests on Windows.
2013-11-02 18:50:42 +02:00
Richard Oudkerk
b8ec1e35a9
Relax timeout test.
2013-11-02 16:46:32 +00:00
Ezio Melotti
5028f4d461
Use unittest.main() in test_htmlparser.
2013-11-02 17:49:08 +02:00
Serhiy Storchaka
007c0477f5
Issue #10734 : Fix and re-enable test_ttk test_heading_callback.
2013-11-02 10:54:31 +02:00
Serhiy Storchaka
758c521ea8
Issue #19085 : Added basic tests for all tkinter widget options.
2013-11-02 10:41:48 +02:00
Vinay Sajip
0e6c66d48a
Issue #19349 : Corrected error message.
2013-10-31 18:44:04 +00:00
Benjamin Peterson
a50f89954d
merge 3.2 ( #19435 )
2013-10-30 12:50:18 -04:00
Richard Oudkerk
e90cedb711
Issue #19425 -- a pickling error should not cause pool to hang.
2013-10-28 23:11:58 +00:00
Nadeem Vawda
3797065ac5
#19395 : Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
...
The underlying C libraries provide no mechanism for serializing compressor and
decompressor objects, so actually pickling these classes is impractical.
Previously, these objects would be pickled without error, but attempting to use
a deserialized instance would segfault the interpreter.
2013-10-28 21:35:23 +01:00
Serhiy Storchaka
8797dcd9d5
Fixed merge test for Tcl/Tk <8.5 (issue #18964 ).
2013-10-27 12:38:01 +02:00
Georg Brandl
78abc9dcc2
Skip overzealous test for existence of the online license.html for pre-release versions.
2013-10-27 09:41:57 +01:00
Georg Brandl
2d34f41bee
Bump to 3.3.3rc1.
2013-10-27 09:22:59 +01:00
Georg Brandl
c9d597a46d
Update pydoc topics.
2013-10-27 09:08:16 +01:00
Georg Brandl
045ee06ae9
merge
2013-10-27 07:39:36 +01:00
Georg Brandl
bf3f8eb960
Issue #16037 : HTTPMessage.readheaders() raises an HTTPException when more than
...
100 headers are read. Adapted from patch by Jyrki Pulliainen.
2013-10-27 07:34:48 +01:00
Georg Brandl
28e78414f9
Issue #16040 : CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-10-27 07:29:47 +01:00
Georg Brandl
7e27abbb39
Issue #16041 : CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
...
prevent readline() calls from consuming too much memory. Patch by Jyrki
Pulliainen.
2013-10-27 07:23:53 +01:00
Georg Brandl
72c98d3a76
Issue #17997 : Change behavior of ``ssl.match_hostname()`` to follow RFC 6125,
...
for security reasons. It now doesn't match multiple wildcards nor wildcards
inside IDN fragments.
2013-10-27 07:16:53 +01:00
Serhiy Storchaka
efa5a39fa5
Issue #19405 : Fixed outdated comments in the _sre module.
2013-10-27 08:04:58 +02:00
Georg Brandl
ca580f4ec1
Issue #16039 : CVE-2013-1752: Change use of readline in imaplib module to limit
...
line length. Patch by Emil Lind.
2013-10-27 06:52:14 +01:00
Benjamin Peterson
89d8cd943b
just return toplevel symbol table rather than all blocks ( closes #19393 )
2013-10-26 13:13:51 -04:00
Victor Stinner
2ff68dd526
Close #19339 : telnetlib module is now using time.monotonic() when available to
...
compute timeout.
2013-10-26 09:16:29 +02:00
Ned Deily
3d2f68d242
Issue #19400 : Prevent extension module build failures with Xcode 5 on OS X
...
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
2013-10-25 16:03:35 -07:00
Serhiy Storchaka
7d6392c517
Issue #19288 : Fixed the "in" operator of dbm.gnu databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:06:52 +03:00
Serhiy Storchaka
9da33ab193
Issue #19287 : Fixed the "in" operator of dbm.ndbm databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-24 23:59:28 +03:00