Ezio Melotti
d2b4926fa7
Fix a few typos. Patch by Eitan Adler.
2013-01-27 06:20:14 +02:00
Martin Panter
200a615774
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Terry Jan Reedy
f50417b72f
Add items to MISC/NEWS and idlelib/NEWS.txt.
2016-05-30 01:02:28 -04:00
Martin Panter
b44c4520d9
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 08:13:58 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
253c0bff9a
issue26083: Avoid duplicate error message string from a subprocess exec failure.Avoid a duplicate error message string from a subprocess exec failure.
...
:P
2016-05-28 19:24:14 +00:00
Martin Panter
6ecfab85d9
Issue #5784 : Cannot test wbits=0 unless we know we have zlib v1.2.3.5
2016-05-27 11:20:21 +00:00
Martin Panter
9c946bbf20
Issue #5784 : Expand documentation and tests for zlib wbits parameter
...
Based on documentation by AM Kuchling.
2016-05-27 07:32:11 +00:00
Steve Dower
90c9b40c71
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:17:21 -07:00
Martin Panter
b1d867f149
Issue #27076 : Doc, comment and test function name spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Terry Jan Reedy
2aaad462ca
Issue #26673 : Protect IDLE from Linux fonts with reported default size 0.
...
Such fonts on Linux prevented the configuration dialog from opening.
2016-05-22 14:35:13 -04:00
Serhiy Storchaka
a8a259eedb
Backported curses tests.
2016-05-22 18:24:48 +03:00
Serhiy Storchaka
12cf60c7fa
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:24 +03:00
Serhiy Storchaka
6546d7cac4
Fixed test_sizeof for deque.
2016-05-18 13:00:48 +03:00
Terry Jan Reedy
0825e633cd
Backports: #25747 : remove bad test. #27044 : stop test_idle from leaking.
2016-05-16 22:27:22 -04:00
Serhiy Storchaka
c742dff16a
Issue #27039 : Fixed bytearray.remove() for values greater than 127.
...
Patch by Joe Jevnik.
2016-05-16 22:15:57 +03:00
Martin Panter
3079bbebac
Issue #14132 : Fix redirect handling when target is just a query string
2016-05-16 01:07:13 +00:00
Serhiy Storchaka
a898abde9e
Issue #19524 : Port fakehttp() from Py3 c1fb19907cc4 for use in test_urllib2
2014-09-06 21:41:39 +03:00
Serhiy Storchaka
d0dc72b497
Issue #26995 : Added tests for "f", "d", "D", "S", "Y", and "U" format codes
...
in PyArg_ParseTuple().
2016-05-16 10:12:02 +03:00
Serhiy Storchaka
c6a7c96a8f
Backported tests for issue #18531 .
2016-05-16 09:55:32 +03:00
Terry Jan Reedy
6904ca3a5a
Issue 18910: Edit idle_test/README.txt to add 'requires' warning.
2016-05-15 23:52:50 -04:00
Martin Panter
f45c1755c3
Remove PEP 291 compatibility requirements for ctypes and modulefinder
...
https://mail.python.org/pipermail/python-dev/2016-May/144502.html
2016-05-14 07:25:37 +00:00
Serhiy Storchaka
0e1c5f7dae
Restored test_interleaved. After issue #8886 it was a duplicate of
...
test_different_file.
2016-05-13 21:19:44 +03:00
Martin Panter
1edccfa60a
Issue #22274 : Redirect stderr=STDOUT when stdout not redirected, by Akira Li
2016-05-13 01:54:44 +00:00
Antoine Pitrou
ec62130655
Issue #12045 : Avoid duplicate execution of command in ctypes.util._get_soname().
...
Patch by Sijin Joseph.
2011-05-25 18:17:25 +02:00
Senthil Kumaran
b5a67dec98
Closes issue26960.
...
Backport issue16270: Fix for urllib hanging with ftp urls.
2016-05-10 01:12:55 -07:00
Serhiy Storchaka
3111c94b16
Issue #26881 : modulefinder now works with bytecode with extended args.
2016-05-09 00:02:06 +03:00
Martin Panter
4f23cabc16
Corrections for a/an in code comments and documentation
2016-05-08 13:45:55 +00:00
Martin Panter
f2f1c57b7e
Fix typos in comments, documentation and test method names
2016-05-08 13:18:25 +00:00
Berker Peksag
cacbc17d67
Replace example.com with pythontest.net in test_getcode of test_urllibnet
2016-05-07 16:41:39 +03:00
Serhiy Storchaka
816a5ff3b2
Issue #17765 : weakref.ref() no longer silently ignores keyword arguments.
...
Patch by Georg Brandl.
2016-05-07 15:41:09 +03:00
Serhiy Storchaka
073418af05
Issue #26873 : xmlrpclib now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:28:09 +03:00
Serhiy Storchaka
7dc8e1e95e
Backported test for posixpath.expanduser().
2016-05-03 22:15:29 +03:00
Terry Jan Reedy
7d03c84634
Clarify IDLE-console differences with respect to the sys module.
...
The reload(sys) effect was the crux of a Stackoverflow question.
2016-05-02 18:17:19 -04:00
Donald Stufft
84050c5434
Upgrade ensurepip bundled setuptools to 20.10.1
2016-05-02 07:02:30 -04:00
Meador Inge
ae21a8a555
Issue #24114 : Fix an uninitialized variable in `ctypes.util`.
...
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by
Kees Bos.
2016-04-30 21:56:59 -05:00
Martin Panter
064ee4d28c
Issue #26864 : Fix case insensitivity and suffix comparison with no_proxy
...
Patch by Xiang Zhang.
2016-04-30 01:03:40 +00:00
Senthil Kumaran
b31c87bfcf
backport fix for Issue #26804 .
...
urllib.request will prefer lower_case proxy environment variables over
UPPER_CASE or Mixed_Case ones.
2016-04-25 09:17:54 -07:00
Serhiy Storchaka
d4442ae53a
Issue #26837 : assertSequenceEqual() now correctly outputs non-stringified
...
differing items. This affects assertListEqual() and assertTupleEqual().
2016-04-25 08:59:35 +03:00
Serhiy Storchaka
0207e7699b
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:53:28 +03:00
Martin Panter
5b48fa9fa4
Fix spelling (inital), grammar (may translates) in documentation, comments
2016-04-19 04:03:41 +00:00
Martin Panter
0cf2cf2b7d
Issue #26657 : Fix SimpleHTTPServer Windows directory traversal vulnerability
...
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision 6b314f5c9404.
2016-04-18 03:45:18 +00:00
Serhiy Storchaka
9a118f1dc3
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 09:37:36 +03:00
Martin Panter
0bb165ecc1
Issue #4806 : Avoid masking TypeError when *-unpacking a generator
...
Based on patch by Hagen Fürstenau.
2016-01-31 06:30:56 +00:00
Benjamin Peterson
414f8b937f
add gc support to slice ( closes #26659 )
2016-04-16 14:47:12 -07:00
Berker Peksag
ccff2bbd3b
Issue #23029 : Fix catch_warnings() in test_filename_none
...
It was printed UserWarning output because catch_warnings() was missing
record=True.
2016-04-16 22:16:05 +03:00
Senthil Kumaran
aeff57d34a
Improve the coverage of urlparse module. Backport to 2.7 branch.
2016-04-16 07:15:38 -07:00
Martin Panter
bf02d18844
Fix typos in code comment and documentation
2016-04-16 09:28:57 +00:00
Martin Panter
6a8163a928
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
...
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Senthil Kumaran
f1023bad2e
[minor] - Correct the docstring of locale.str. Patch by poleto.
2016-04-12 23:13:33 -07:00
Serhiy Storchaka
997a1c88a8
Issue #26733 : Fixed formatting line numbers in test_dis.
...
Based on patch by Xiang Zhang.
2016-04-12 08:47:20 +03:00
Serhiy Storchaka
149d080871
Issue #13410 : Fixed a bug in PyUnicode_Format where it failed to properly
...
ignore errors from a __int__() method.
Patch based on the patch for issue #15516 .
2016-04-10 15:26:52 +03:00
Martin Panter
f1669a390d
Issue #26712 : Unify (r)split(), (l/r)strip() tests into string_tests
...
This eliminates a few redundant test cases.
2016-04-10 09:39:07 +00:00
Martin Panter
ec3c245c64
Issue #26609 : Fix up Python 2 port
2016-04-09 13:45:52 +00:00
Martin Panter
af58c857a8
Issue #26609 : Fix HTTP server tests to request an absolute URL path
2016-04-09 04:56:10 +00:00
Berker Peksag
7784888cce
Issue #19377 : Add .svg to mimetypes.types_map
...
This is a backport of caf89a6a17a7.
2016-04-09 08:17:53 +03:00
Berker Peksag
81f8d5771b
Issue #13952 : Add .csv to mimetypes.types_map
...
Patch by Geoff Wilson.
2016-04-09 08:06:15 +03:00
Berker Peksag
265bc81fa3
Issue #16329 : Add .webm to mimetypes.types_map
...
Patch by Giampaolo Rodola'.
2016-04-09 08:05:18 +03:00
Martin Panter
86e0d57611
Issue #26257 : Eliminate buffer_tests.py and fix ByteArrayAsStringTest
...
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.
The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. Moved some tests
into a new base class string_tests.NonStringModuleTest, and run them for
bytearray.
2016-04-06 06:37:17 +00:00
Martin Panter
3c38dccf22
Fix typos in documentation and comments
2016-04-05 06:19:42 +00:00
Martin Panter
68822a0d59
Issue #22854 : fileno() is always required in IOBase; remove test
...
Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
2016-03-31 07:21:56 +00:00
Serhiy Storchaka
0ed3891915
Issue #26492 : Added additional tests for exhausted iterators of mutable sequences.
2016-03-30 21:02:00 +03:00
Serhiy Storchaka
14a7d6389f
Issue #26494 : Fixed crash on iterating exhausting iterators.
...
Affected classes are generic sequence iterators, iterators of bytearray,
list, tuple, set, frozenset, dict, OrderedDict and corresponding views.
2016-03-30 20:43:06 +03:00
Martin Panter
d524b705af
Issue #23804 : Fix SSL recv/read(0) to not return 1024 bytes
2016-03-28 00:22:09 +00:00
Martin Panter
b8089b4dde
Issue #26644 : Raise ValueError for negative SSLSocket.recv() and read()
2016-03-27 05:35:19 +00:00
Terry Jan Reedy
9d9d99cbee
whitespace
2016-03-20 20:39:26 -04:00
Terry Jan Reedy
d0c21de54d
Document maintenance of idlelib/help.html in idlelib.
2016-03-01 01:13:07 -05:00
Terry Jan Reedy
a9c24a610b
Rebase 2.7 idlelib/idle.html on current 2.7.11 docs with tag changes.
...
These changes should not be visible to the user.
2016-03-20 20:28:23 -04:00
Serhiy Storchaka
6d297cbec4
Issue #26581 : Use the first coding cookie on a line, not the last one.
2016-03-20 23:36:29 +02:00
Serhiy Storchaka
cac1d236a2
Added new tests for detecting Python source code encoding.
2016-03-20 22:29:40 +02:00
Serhiy Storchaka
67818a1d70
Issue #18048 : Merge test_pep263.py and test_coding.py into test_source_encoding.py.
2016-03-20 21:20:07 +02:00
Serhiy Storchaka
6765015f6c
Issue #18048 : Rename test_coding.py to test_source_encoding.py.
2013-06-13 09:50:42 +03:00
Nick Coghlan
dbcd457624
Issue #23857 : Implement PEP 493
...
Adds a Python-2-only ssl module API and environment variable to
configure the default handling of SSL/TLS certificates for
HTTPS connections.
2016-03-20 22:39:15 +10:00
Steve Dower
9cb2074fe4
Issue #26313 : ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji.
2016-03-17 15:02:19 -07:00
Donald Stufft
115d858644
Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3
2016-03-17 11:05:35 -04:00
Victor Stinner
ec8d6c2d93
Skip test_site if USER_SITE cannot be created
...
Issue #17758 : Skip test_site if site.USER_SITE directory doesn't exist and
cannot be created.
2016-03-14 17:49:46 +01:00
Serhiy Storchaka
d351827b0b
Issue #20556 : Used specific assert methods in threading tests.
2016-03-14 10:28:59 +02:00
Steve Dower
deb1a90f2c
Issue #26513 : Fixes platform module detection of Windows Server
2016-03-12 08:07:04 -08:00
Serhiy Storchaka
5c2cb824f4
Issue #23718 : Fixed parsing time in week 0 before Jan 1. Original patch by
...
Tamás Bence Gedai.
2016-03-12 10:51:16 +02:00
Terry Jan Reedy
ca76100205
Issue 25959: Explain in docstring that PhotoImage.zoom arguments are
...
multipliers, not final sizes. Explain y default for .zoom and .subsample.
Initial patch by Serhiy Storchaka.
2016-03-11 15:30:27 -05:00
Serhiy Storchaka
0fd213c5d7
Issue #26177 : Fixed the keys() method for Canvas and Scrollbar widgets.
2016-03-09 10:51:41 +02:00
Serhiy Storchaka
2c311f937e
Issue #15068 : Avoid creating a reference loop in fileinput.
2016-03-08 23:34:28 +02:00
Serhiy Storchaka
69b7f812fa
Issue #15068 : Got rid of excessive buffering in the fileinput module.
...
The bufsize parameter is no longer used.
2016-03-08 18:35:45 +02:00
Serhiy Storchaka
2d80fb3905
Issue #26486 : Removed pickle test that doesn't work in 2.7 on 64-bit platform.
2016-03-08 11:04:22 +02:00
Martin Panter
20c8cd9974
Issue #26456 : Force all child threads to terminate in TestForkInThread
2016-03-08 07:07:28 +00:00
Benjamin Peterson
4ddb44a1d0
properly use PyObject_CallMethod in dictview binary operations ( closes #26478 )
2016-03-03 22:05:36 -08:00
Raymond Hettinger
2ec5fd546f
Document another recipe for itertools: all_equal(). Inspired by David Beazley.
2016-03-06 18:06:29 -08:00
Berker Peksag
87640b30ce
Issue #2202 : Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
...
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
2016-03-06 16:27:23 +02:00
Serhiy Storchaka
9e00088cc5
Issue #26167 : Backported copy tests.
2016-03-06 15:03:16 +02:00
Serhiy Storchaka
a61bfdbecd
Issue #26475 : Fixed debugging output for regular expressions with the (?x) flag.
2016-03-06 09:15:47 +02:00
Serhiy Storchaka
7c033e60df
Issue #26486 : Backported some pickle tests from 3.x.
2016-03-06 09:05:47 +02:00
Martin Panter
b6b1ab4fa8
Issue #26385 : Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhost
2016-02-29 00:31:38 +00:00
Martin Panter
ef85a1ac15
Issue #22836 : Keep exception reports sensible despite errors
2016-02-28 00:18:43 +00:00
Serhiy Storchaka
ee7fe38d40
Issue #25801 : Fixed resource warnings in test_zipfile64.
...
Patch by SilentGhost.
2016-02-25 12:55:19 +02:00
Ned Deily
83abccbbc0
Issue #25136 : Support Apple Xcode 7's new textual SDK stub libraries.
...
As of Xcode 7, SDKs for Apple platforms now include textual-format stub
libraries whose file names have a .tbd extension rather than the
standard OS X .dylib extension. The Apple compiler tool chain handles
these stub libraries transparently and the installed system shared libraries
are still .dylibs. However, the new stub libraries cause problems for
third-party programs that support building with Apple SDKs and make
build-time decisions based on the presence or paths of system-supplied
shared libraries in the SDK. In particular, building Python itself with
an SDK fails to find system-supplied libraries during setup.py's build of
standard library extension modules. The solution is to have
find_library_file() in Distutils search for .tbd files, along with
the existing types (.a, .so, and .dylib). Patch by Tim Smith.
2016-02-25 00:55:24 +11:00
Martin Panter
098f6d0caa
Issue #5824 : Fix DatagramRequestHandler tests by binding the client socket
2016-02-24 04:45:33 +00:00
Martin Panter
39267c21cc
Issue #22088 : Clarify base-64 alphabets and which characters are discarded
...
* There are only two base-64 alphabets defined by the RFCs, not three
* Due to the internal translation, plus (+) and slash (/) are never discarded
* standard_ and urlsafe_b64decode() discard characters as well
2016-02-23 22:30:50 +00:00
Martin Panter
be9ddc1d11
Issue #26261 : Clarify NamedTemporaryFile name attribute vs file.name
2016-02-22 10:10:00 +00:00
Martin Panter
59b9a16e72
Issues #22468 , #21996 , #22208 : Clarify gettarinfo() and TarInfo usage
...
* Make it more obvious gettarinfo() is based on stat(), and that non-ordinary
files may need special care
* Filename taken from fileobj.name; suggest dummy arcname as a workaround
* Indicate TarInfo may be used directly, not just via gettarinfo()
2016-02-19 23:34:56 +00:00
Martin Panter
63d1f47b49
Issue #26309 : Rewrite test in main thread and avoid race condition
2016-02-19 02:16:42 +00:00
Martin Panter
ba8474b77d
Issue #26309 : Shut down SocketServer request if verify_request() is false
...
Based on patch by Aviv Palivoda.
2016-02-18 10:43:55 +00:00
Martin Panter
53ae0ba6e3
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Martin Panter
2dafcc25a9
Issues #26310 , #26311 : Fix typos in the documentation
2016-02-10 01:17:51 +00:00
Serhiy Storchaka
78a54c0311
Issue #25983 : Added tests for multi-argument type().
2016-02-08 20:27:52 +02:00
Martin Panter
ade4097671
Issue #12923 : Reset FancyURLopener's redirect counter even on exception
...
Based on patches by Brian Brazil and Daniel Rocco.
2016-02-04 06:01:35 +00:00
Serhiy Storchaka
71b71763c5
Issue #25945 : Fixed bugs in functools.partial.
...
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
2016-02-02 18:45:59 +02:00
Martin Panter
886aba4737
Issue #26173 : Separate bad cert file tests and client rejection test
...
Test test_wrong_cert() runs a server that rejects the client's certificate,
so ECONNRESET is reasonable in addition to SSLError. On the other hand, the
other three tests don't even need to run a server because they are just
testing the parsing of invalid certificate files.
This should fix intermittent failures on Windows where ECONNRESET was not
being caught.
2016-02-01 21:58:11 +00:00
Martin Panter
fd8e8504e2
Issue #26173 : Fix test_ssl confusion with non-existing cert and wrongcert.pem
...
Testing for a non-existing certificate file is already done in test_errors().
The wrongcert.pem test was originally testing behaviour with a mismatched
certificate.
2016-01-30 02:36:00 +00:00
Martin Panter
a339e86dc0
Issue #19023 : Document ctypes array and pointer classes
...
Also add some more tests. Based on patch by Sye van der Veen.
2016-01-29 10:12:19 +00:00
Serhiy Storchaka
3ecb6ab993
Issue #26198 : Added tests for string-related format units of PyArg_Parse*()
...
functions: "s", "s*", "s#", "t#", "z", "z*", "z#", "w", "w*", "w#", "u",
"u#", "es", "et", "es#", "et#" and "c".
2016-01-28 19:56:04 +02:00
Terry Jan Reedy
a944ac3c7e
Issue #25507 : revert incorrect movement of idleConf import in a37ea1d56e98.
...
Augment htest to include all major IOBinding functions.
2016-01-27 11:51:45 -05:00
Victor Stinner
7791165fb3
code_richcompare() now uses the constants types
...
Issue #25843 : When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.
Add a new _PyCode_ConstantKey() private function.
2016-01-22 12:33:12 +01:00
Donald Stufft
9a3a8e9aa0
Upgrade pip to 8.0.2
2016-01-21 21:57:17 -05:00
Serhiy Storchaka
9b5177c41a
Issue #26147 : xmlrpclib now works with unicode not encodable with used
...
non-UTF-8 encoding.
2016-01-20 10:33:51 +02:00
Donald Stufft
ae18440262
Upgrade pip to 8.0.0 and setuptools to 19.4
2016-01-19 20:17:03 -05:00
Serhiy Storchaka
98d3c19ed0
Issue #16620 : Fixed AttributeError in msilib.Directory.glob().
2016-01-19 13:55:36 +02:00
Benjamin Peterson
dd171ead80
add space
2016-01-18 21:18:49 -08:00
Serhiy Storchaka
27d9c3d39f
Issue #9006 : Added tests for XML RPC with non-UTF-8 encoding.
2016-01-18 19:38:53 +02:00
Serhiy Storchaka
2f173fe26b
Issue #21847 : Fixed xmlrpclib and tests on Unicode-disabled builds.
2016-01-18 19:35:23 +02:00
Serhiy Storchaka
43beaebffb
Issue #6500 : Fixed infinite recursion in urllib2.Request.__getattr__().
2016-01-18 10:35:40 +02:00
Terry Jan Reedy
c5e8935d90
Issue #25905 : Specify 'ascii' encoding for README.txt and NEWS.txt.
...
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
2016-01-16 23:43:58 -05:00
Martin Panter
2179b2e159
Issue #14771 : Redirect GDB's stdin to avoid messing the terminal settings
...
Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.
2016-01-16 05:07:35 +00:00
Martin Panter
71202bb053
Issue #25940 : Use self-signed.pythontest.net in SSL tests
...
This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.
The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work.
Added the new self-signed certificate to capath with the following commands:
cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,0e4015b9.0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,ce7b8643.0}
When attempting to connect to port 444 on the new server, the resulting error
code is EHOSTUNREACH on Linux, and ETIMEDOUT on Windows.
2016-01-15 00:25:29 +00:00
Ezio Melotti
07f24c50e0
#7944 : close files explicitly in test_tarfile (backport d560eece0857).
2016-01-13 22:21:21 +02:00
Ezio Melotti
8861b291f2
Convert test_tarfile to ASCII (backport c1ed490bd266).
2016-01-13 19:36:49 +02:00
Gregory P. Smith
0d207fd8cf
Fixes issue #26083 : Workaround a subprocess bug that raised an incorrect
...
"ValueError: insecure string pickle" exception instead of the actual exception
on some platforms such as Mac OS X when an exception raised in the forked child
process prior to the exec() was large enough that it overflowed the internal
errpipe_read pipe buffer.
2016-01-11 13:56:42 -08:00
Barry Warsaw
8da4023e20
Comment out another test that won't pass after reverting the picklability
...
regression.
2016-01-11 14:49:34 -05:00
Barry Warsaw
607965eb7e
Comment out two tests that won't pass now after reverting the typeobject.c
...
change. Also, as per further discussion, we'll just remove the regressing
code in typeobject.c
2016-01-11 14:44:59 -05:00
Senthil Kumaran
788db63265
Fix issue18918 : Attach the pydoc documentation for 'FILES' topic.
...
Also rebuilt the pydoc_data with this change.
2016-01-06 03:54:18 -08:00
Berker Peksag
e01859fb65
Issue #6500 : Reverting fbea8ff8db5e since it broke tests
2016-01-06 03:08:12 +02:00
Berker Peksag
621d7fd583
Issue #6500 : Fix "maximum recursion depth exceeded" error caused by Request.__getattr__()
2016-01-06 02:04:52 +02:00
Serhiy Storchaka
ff41d456bc
Make catched exceptions more specific and correct a comment.
2015-12-30 20:59:32 +02:00
Serhiy Storchaka
b8e54dd806
Issue #22995 : Instances of extension types with a state that aren't
...
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
2015-12-30 20:43:29 +02:00
Vinay Sajip
82ea0f9517
Closes #25664 : handled logger names in Unicode.
2015-12-26 12:21:47 +00:00
Serhiy Storchaka
a3c2242461
Fixed sizeof tests for dict and type (they were passed by accident).
...
Added tests for dict views.
2015-12-20 11:40:00 +02:00
Serhiy Storchaka
0b72ae8e78
Create a file in SizeofTest only if needed.
2015-12-20 09:36:55 +02:00
Serhiy Storchaka
e789038e0d
Use correct PyGC_Head size in tests for issue #25421 .
2015-12-19 22:49:29 +02:00
Serhiy Storchaka
c06a6d0958
Issue #25421 : __sizeof__ methods of builtin types now use dynamic basic size.
...
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:07:48 +02:00
Terry Jan Reedy
6f3d5da36c
Issue #25905 : Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
2015-12-18 15:46:52 -05:00
Martin Panter
d77fe94b4e
Issue #22088 : Port base64 character ignoring doc and test from 857d9fe60169
2015-12-14 03:41:59 +00:00
Gregory P. Smith
64fa45af5a
Fixes issue #20954 : _args_from_interpreter_flags used by multiprocessing
...
and some tests no longer behaves incorrectly in the presence of the
PYTHONHASHSEED environment variable.
2015-12-13 13:57:50 -08:00
Martin Panter
7b9e7ed59f
Issue #25809 : Skip testing platform-dependent French thousands separator
2015-12-12 06:53:34 +00:00
Benjamin Peterson
3c459de2c6
remove pointless keys() call
2015-12-05 20:52:43 -08:00
Benjamin Peterson
f9d11e815a
make consulting save_modules O(1) rather than O(n)
2015-12-05 00:29:56 -08:00
Martin Panter
7e59ce8b07
Issue #14285 : Do not catch ImportError from __init__.py in runpy
...
Initialize package before calling get_loader() for __main__, so that we do
not incorrectly handle ImportError from __init__.py. When runpy is used from
the Python CLI, use an internal exception rather than ImportError, to avoid
catching an unexpected ImportError.
Also simplify message formatting: str() is redundant with %s.
Also fix test_dash_m_error_code_is_one() in test_cmd_line_script, which was
failing because the test package was not in the current directlry, rather
the desired ValueError.
2015-12-03 01:23:10 +00:00
Serhiy Storchaka
ab68fcaee3
Issue #6478 : _strptime's regexp cache now is reset after changing timezone
...
with time.tzset().
2015-12-03 22:20:45 +02:00
Serhiy Storchaka
e37003e9ae
Issue #19543 : Added Py3k warning for decoding unicode.
2015-12-03 20:47:48 +02:00
Victor Stinner
c747e5564f
Fix test_doctest in verbose mode
2015-12-02 14:39:37 +01:00
Serhiy Storchaka
2329eeda0c
Issue #25718 : Fixed copying object with state with boolean value is false.
2015-11-30 17:20:02 +02:00
Serhiy Storchaka
03f3c2fa5f
Fixed yet one syntax error in test_xpickle in Python 2.5.
2015-11-29 20:18:27 +02:00
Serhiy Storchaka
43e9007767
Fixed Py3k warnings in tests for issue #24731 .
2015-11-29 20:13:56 +02:00
Serhiy Storchaka
81772f1ee2
Trying to fix test_xpickle with python 2.4 and 2.5.
2015-11-29 19:20:11 +02:00
Victor Stinner
3c8ef8f100
Issue #25742 : Try to fix test_locale on Windows
2015-11-29 16:33:18 +01:00
Serhiy Storchaka
d26b66313e
Got rid of "with" for compatibility test_xpickle with Python 2.5.
2015-11-29 16:13:51 +02:00
Serhiy Storchaka
bf19ce27c4
Issue #25761 : Added more test cases for testing unpickling broken data.
...
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:12:40 +02:00
Victor Stinner
e08496b62d
Closes #25742 : locale.setlocale() now accepts a Unicode string for its second
...
parameter.
2015-11-27 23:54:36 +01:00
Zachary Ware
916c7c7ae1
Issue #23914 : Fix test_xpickle with python 2.4 and 2.5
...
Remove 'b' prefix from strings, remove unused import.
2015-11-27 01:21:51 -06:00
Serhiy Storchaka
9baa56883a
Issue #10131 : Fixed deep copying of minidom documents. Based on patch
...
by Marian Ganisin.
2015-11-26 23:48:30 +02:00
Martin Panter
929e363a7b
Issue #25622 : Rename to PythonValuesTestCase and enable for non-Windows
2015-11-26 02:36:26 +00:00
Serhiy Storchaka
ee1b24ccaa
Issue #24097 : Fixed crash in object.__reduce__() if slot name is freed inside
...
__getattr__. Original patch by Antoine Pitrou.
2015-11-25 18:35:33 +02:00
Serhiy Storchaka
282e831a5a
Issue #25616 : Tests for OrderedDict are extracted from test_collections
...
into separate file test_ordered_dict.
2015-11-25 17:19:27 +02:00
Serhiy Storchaka
1121b5e6a9
Issue #25703 : Skip test_43581 if one of stdout or stderr is redirected.
2015-11-25 16:20:04 +02:00
Serhiy Storchaka
8d30ad7c8a
Issue #24731 : Fixed crash on converting objects with special methods
...
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.
2015-11-25 15:55:54 +02:00
Raymond Hettinger
d2f0726f86
Fix non-ascii character
2015-11-23 21:00:45 -08:00
Raymond Hettinger
5fda2f6fb7
Add a missing docstring
2015-11-23 20:47:05 -08:00
Martin Panter
96bc1757ce
Issue #25663 : Make rlcompleter avoid duplicate global names
2015-11-23 23:50:26 +00:00
Serhiy Storchaka
b3d8b59426
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:46:36 +02:00
Serhiy Storchaka
5c137669e3
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:20:43 +02:00
Serhiy Storchaka
1456c98493
Issue #25691 : Added tests on deleting cElementTree.Element attributes.
2015-11-23 08:50:20 +02:00
Serhiy Storchaka
37c02acb6f
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:56:22 +02:00
Benjamin Peterson
241282bac6
update pydoc-topics
2015-11-21 13:35:41 -08:00
Terry Jan Reedy
e4679e40f5
Update idlelib/NEWS.txt.
2015-11-21 13:31:00 -05:00
Serhiy Storchaka
1a31cba464
Issue #25686 : test_shutil no longer uses the distutils package for running
...
external archivers.
2015-11-21 14:11:57 +02:00
Terry Jan Reedy
76ced99721
Issue 15348: Stop debugger engine (normally in user process)
...
before closing debugger window in IDLE process.
This prevents one-per-line RuntimeErrors.
2015-11-21 00:04:58 -05:00
Terry Jan Reedy
89bdf373c4
Issue #24455 : Prevent IDLE from hanging when a) closing the shell while the
...
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
2015-11-20 19:36:38 -05:00
Serhiy Storchaka
6156560e4b
Issue #25678 : Copy buffer objects to null-terminated strings.
...
Avoid buffer overreads when int(), long(), float(), and compile()
are passed buffer objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch backported from issue #24802 by Eryk Sun.
2015-11-20 21:56:21 +02:00
Terry Jan Reedy
815ab14030
Make it slightly clearer that IDLE close message is referring to user program,
...
not to IDLE itself.
2015-11-20 12:21:40 -05:00
Nick Coghlan
2a6c2c9baa
Close #10128 : don't rerun __main__.py in multiprocessing
...
- backports issue #10845 's mitigation of incompatibilities between
the multiprocessing module and directory and zipfile execution
- Multiprocessing on Windows will now automatically skip rerunning top
level __main__.py modules in spawned processes, rather than failing
with AssertionError
2015-11-19 12:59:39 +10:00
Terry Jan Reedy
f7999fc23f
Issue #24750 : whitespace
2015-11-16 07:36:12 -05:00
Terry Jan Reedy
3d0962222c
Issue #24750 : Improve appearance of IDLE editor window status bar.
...
Patch by Mark Roseman.
2015-11-16 07:32:19 -05:00
Serhiy Storchaka
5d7d26c403
Issue #25388 : Fixed tokenizer hang when processing undecodable source code
...
with a null byte.
2015-11-14 15:14:29 +02:00
Martin Panter
ef2b2f437e
Issue #25590 : Make rlcompleter only call getattr() once per attribute
...
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Terry Jan Reedy
4b4f0b997c
Indent
2015-11-12 15:24:22 -05:00
Terry Jan Reedy
55ee13da90
Whitespace
2015-11-12 15:06:02 -05:00
Terry Jan Reedy
35aa5d07a2
Issue #25313 : Change the handling of new built-in text color themes to better
...
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
2015-11-12 15:02:50 -05:00
Serhiy Storchaka
0d649406ae
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:46:23 +02:00
Serhiy Storchaka
76e6cc15b2
Issue #22995 : Backported additional tests for non-pickleable types.
2015-11-12 11:36:42 +02:00
Benjamin Peterson
10aaca9941
always set OP_NO_SSLv3 by default ( closes #25530 )
2015-11-11 22:38:41 -08:00
Serhiy Storchaka
c54b8ceb91
Issue #7759 : Fixed the mhlib module on filesystems that doesn't support
...
link counting for directories.
2015-11-11 17:33:12 +02:00
Serhiy Storchaka
9665cca16d
Issue #6598 : Avoid clock wrapping around in test_make_msgid_collisions.
...
Use time.time instead of time.clock.
2015-11-10 19:53:37 +02:00
Serhiy Storchaka
f64ccb9acf
Issue #25263 : Fixed the tkinter.test.test_tkinter.test_font.FontTest test
...
failure when the test is ran the second time.
The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:32:54 +02:00
Serhiy Storchaka
bab1f851cc
Issue #25582 : Fixed 100 MB memory leak in test_ctypes.
2015-11-09 22:31:10 +02:00
Victor Stinner
e192d0bbb9
Issue #7267 : format(int, 'c') now raises OverflowError when the argument is not
...
in range(0, 256).
2015-11-09 12:21:09 +01:00
Serhiy Storchaka
8d0a94df33
Issue #892902 : Disable newly added tests in test_xpickle.
2015-11-07 20:04:46 +02:00
Serhiy Storchaka
da87e45add
Issue #892902 : Fixed pickling recursive objects.
2015-11-07 11:15:32 +02:00
Martin Panter
43415ba571
Issue #18010 : Fix pydoc GUI search to handle package exceptions
2015-11-07 05:41:47 +00:00
Serhiy Storchaka
c72e66a048
Issue #25523 : Backported a-to-an corrections.
2015-11-02 15:06:09 +02:00
Terry Jan Reedy
faaf16b8ed
Issue #25507 : move test-specific imports to test function (idlelib.IOBinding).
2015-10-30 02:47:01 -04:00
Benjamin Peterson
09ba984364
always use os.urandom for the uuid4 algorithm ( closes #25515 )
2015-10-29 20:38:04 -07:00
Serhiy Storchaka
fbe04b68af
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Terry Jan Reedy
8048776170
Display IDLE warning as a warning rather than as an error.
...
Clarify message and expected action for beginners.
2015-10-27 03:37:55 -04:00