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
Serhiy Storchaka
9186a6ac10
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
2015-10-24 17:39:36 +03:00
Gregory P. Smith
64707923be
Issue21709: Call os.path.normcase when setting _srcfile for compatibility
...
with what findCaller() does when running on non-POSIX platforms.
(alternatively: the normcase calls in both places could be eliminated, but that
touches more code and that refactoring hasn't even been done in 3 yet...)
2015-10-22 13:12:20 -07:00
Gregory P. Smith
7427a79e12
Issue #21709 : Fix the logging module to not depend upon __file__ being set
...
properly to get the filename of its caller from the stack. This allows it
to work if run in a frozen or embedded environment where the module's
.__file__ attribute does not match its code object's .co_filename.
This same much simpler always correct approach has already been deployed and
used widely in Python 3.4 per the issue referenced above.
2015-10-22 13:09:50 -07:00
Terry Jan Reedy
1256b3c677
Issue #24782 : Limit width of canvas and hence IDLE settings dialog.
2015-10-22 03:27:27 -04:00
Terry Jan Reedy
9188516e28
Issue #24782 : Don't try to run now-removed extension dialog test.
2015-10-20 02:15:23 -04:00
Brett Cannon
eb2cb97374
Issue #25188 : Clean up code to pass the --pgo flag to subprocesses
...
when running the test suite.
Patch by Arfrever Frehtes Taifersar Arahesis.
2015-10-16 12:30:20 -07:00
Terry Jan Reedy
4922ac1b80
Issue #24782 : whitespace
2015-10-13 22:08:45 -04:00
Terry Jan Reedy
1c49ec0df0
Issue #24782 : Finish converting the Configure Extension dialog into a new
...
tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
2015-10-13 22:03:44 -04:00
Terry Jan Reedy
c0a053e4d5
Issue #22726 : Re-activate config dialog help button with some content about
...
the other buttons and the new IDLE Dark theme.
2015-10-11 22:07:25 -04:00
Benjamin Peterson
5f32b236f1
use the with statement for locking the internal condition ( closes #25362 )
...
Patch by Nir Soffer.
2015-10-10 19:34:46 -07:00
Serhiy Storchaka
462502b084
Issue #24848 : Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character
...
was locale depending.
2015-10-10 09:33:11 +03:00
Benjamin Peterson
cf0d512fb4
merge heads
2015-10-06 19:37:15 -07:00
Benjamin Peterson
77d12ecaad
prevent unacceptable bases from becoming bases through multiple inheritance ( #24806 )
2015-10-06 19:36:54 -07:00
Serhiy Storchaka
0a8845e64f
Issue #25317 : Converted doctests in test_tokenize to unittests.
2015-10-06 18:13:38 +03:00
Benjamin Peterson
51cd53e152
reinitialize an Event's Condition with a regular lock ( closes #25319 )
2015-10-05 21:56:22 -07:00
Serhiy Storchaka
0451fb942e
Make error report in test_codecs more informative.
2015-10-04 13:52:40 +03:00
Terry Jan Reedy
1b6333a05c
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:14:45 -04:00
Terry Jan Reedy
9f37eae9cc
Issue #24820 : Add 'IDLE Dark' text color theme, warning, and solution.
2015-10-04 00:30:59 -04:00
Martin Panter
74c76c8f06
Issue #24657 : Prevent CGIRequestHandler from collapsing the URL query
...
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter
cff22eb2bf
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
...
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Terry Jan Reedy
195fc2f2aa
Issue #25224 : README.txt is now an idlelib index for IDLE developers and
...
curious users. The previous user content is now in the IDLE doc and is
redundant. IDLE now means 'Integrated Development and Learning Environment'.
2015-10-02 23:22:54 -04:00
Terry Jan Reedy
c30475e755
Issue #24820 : Users can now set breakpoint colors in Settings ->
...
Custom Highlighting. Original patch by Mark Roseman.
2015-10-02 22:12:09 -04:00
Brett Cannon
65918e01be
Fix indentation
2015-10-02 16:22:32 -07:00
Brett Cannon
9537478463
Issue #25188 : Add -P/--pgo to test.regrtest for PGO building.
...
Initial patch by Alecsandru Patrascu of Intel.
2015-10-02 16:21:34 -07:00
Serhiy Storchaka
f6eced52cc
Removed the "b" string prefix to make test_xpickle compatible with Python 2.5.
2015-10-02 20:23:46 +03:00
Serhiy Storchaka
e12f632186
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:14:53 +03:00
Serhiy Storchaka
f522bbc9c2
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self keyword argument.
2015-09-29 23:51:27 +03:00
Serhiy Storchaka
cab4566c5a
Issue #22609 : Constructor and the update method of collections.UserDict now
...
accept the self keyword argument.
2015-09-29 23:33:03 +03:00
Serhiy Storchaka
22afc506fb
Backported additional unpickling tests from 3.x.
2015-09-29 15:51:40 +03:00
Serhiy Storchaka
4d2cf5587c
Moved unpickling tests with prepickled data to separate class.
2015-09-29 15:36:28 +03:00
Terry Jan Reedy
958a9c7520
Issue #24028 : Add subsection about Idle calltips.
2015-09-29 01:55:50 -04:00
Terry Jan Reedy
da10017de3
Add recent IDLE NEWS items. Move Build sectios down.
2015-09-28 23:38:46 -04:00
Berker Peksag
b7c3515308
Issue #25249 : Remove unneeded mkstemp helper in test_subprocess
...
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().
Patch by Nir Soffer.
2015-09-28 15:37:57 +03:00
Terry Jan Reedy
a6673806f9
Issue #24972 : New option is only valid in tk 8.5+.
2015-09-28 04:52:44 -04:00
Terry Jan Reedy
62520b2c63
Issue #24972 : Inactive selection background now matches active selection
...
background, as selected by user, on all systems. This also fixes a problem
with found items not highlighted on Windows. Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-27 22:46:12 -04:00
Terry Jan Reedy
4cdb054ba3
Issue #25198 : When using the Idle dov TOC menu, put the section title at the
...
top of the window, unless it is too near the bottom to do do.
2015-09-27 04:40:02 -04:00
Terry Jan Reedy
0c58d31ba1
Issue #24570 : Idle: make calltip and completion boxes appear on Macs
...
affected by a tk regression. Initial patch by Mark Roseman.
2015-09-26 20:03:51 -04:00
Terry Jan Reedy
83cce4988c
Issue #24988 : Idle ScrolledList context menus (used in debugger)
...
now work on Mac Aqua. Patch by Mark Roseman.
2015-09-26 18:50:20 -04:00
Terry Jan Reedy
8bfacc7985
Issue #25173 : Replace 'master' with 'parent' in tkinter.messagebox calls.
...
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
2015-09-25 22:22:48 -04:00
Terry Jan Reedy
647412fb89
Issue #25198 : Idle doc viewer now uses user width and height setting.
...
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.
2015-09-25 00:49:02 -04:00
Terry Jan Reedy
bdf1d0d066
Issue #25225 : add revised .html.
2015-09-24 23:18:52 -04:00
Terry Jan Reedy
49095e2380
Issue #25198 : In Idle doc viewer, fix indent of fixed-pitch <pre> text
...
by adding a new tag. Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.
2015-09-24 17:31:54 -04:00
Terry Jan Reedy
7cca4e5ba2
Issue 21995: Explain some differences between IDLE and console Python.
2015-09-24 03:09:38 -04:00
Terry Jan Reedy
cf5bf82e59
Issue #22820 : Explain need for *print* when running file from Idle editor.
2015-09-24 01:39:25 -04:00
Martin Panter
2bc50d78e3
Issue #25211 : Fix error message code in test_long; patch from s-wakaba
2015-09-24 00:19:42 +00:00
Terry Jan Reedy
328e1ecbce
Issue 25224: Augment Idle doc feature list and no-subprocess section
...
to finish making current README.txt obsolete.
2015-09-23 20:02:25 -04:00
Terry Jan Reedy
c7025c6265
Issue #25219 : Update doc for Idle command line options.
...
Some were missing and notes were not correct.
2015-09-23 03:52:18 -04:00
Terry Jan Reedy
fea7fc1ab5
Issue #16893 : Move idlelib.EditorWindow.HelpDialog deprecation warning
...
so it is not triggered on import. The problem is creation of a now-unused
instance "helpDialog = HelpDialog()", left for back compatibility.
So instead trigger the warning when that instance or another is used.
2015-09-22 22:59:35 -04:00
Terry Jan Reedy
b60d103de7
whitespace
2015-09-22 21:13:09 -04:00
Terry Jan Reedy
ca33d56f00
Issue #24570 : Right-click for context menus now work on Mac Aqual also.
...
Patch by Mark Roseman.
2015-09-22 21:10:22 -04:00
Steve Dower
e20c2a6af4
Handle calls to win32_ver from non-Windows platform
2015-09-22 17:35:24 -07:00
Steve Dower
044cde52f8
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:25:30 -07:00
Terry Jan Reedy
1234fd912d
whitespace
2015-09-21 22:42:17 -04:00
Terry Jan Reedy
13b21f8889
Issue #16893 : Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
...
Change destination to help.html. Adjust NEWS entries.
2015-09-21 22:36:36 -04:00
Terry Jan Reedy
4dd7887710
Issue #24861 : add Idle news items and correct previous errors.
2015-09-21 19:28:18 -04:00
Terry Jan Reedy
79157aea06
Issue #24861 : Add docstring to idlelib.__init__ with 'private' warning.
2015-09-21 01:44:00 -04:00
Terry Jan Reedy
1d2ce974a6
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
...
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
2015-09-21 01:07:54 -04:00
Terry Jan Reedy
8b7122cdbb
Issue #16893 : finish deprecation.
2015-09-20 23:05:21 -04:00
Terry Jan Reedy
36443f1950
Issue #25199 : Idle: add synchronization comments for future maintainers.
2015-09-20 22:55:17 -04:00
Terry Jan Reedy
37ad79615f
Issue #16893 : whitespace in help.py.
2015-09-20 20:05:51 -04:00
Terry Jan Reedy
72895c1444
Issue #16893 : whitespace in idle.html.
2015-09-20 20:02:23 -04:00
Terry Jan Reedy
a2f257b583
Issue #16893 : include new files
2015-09-20 19:56:54 -04:00
Terry Jan Reedy
70e763c0d8
Issue #16893 : Replace help.txt with idle.html for Idle doc display.
...
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
2015-09-20 19:55:44 -04:00
Terry Jan Reedy
edc041d826
Issue #24199 : Add stacklevel to deprecation warning call.
2015-09-20 02:33:57 -04:00
Serhiy Storchaka
63550ee1a2
Issue #25108 : Fixed test_traceback in the case when this test is run twice.
...
In this case __file__ is the name of precompiled file (*.py[co]).
2015-09-20 08:38:40 +03:00
Serhiy Storchaka
90f5f5151c
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:55:20 +03:00
Serhiy Storchaka
62f0ffa861
Issue #25108 : Backported tests for traceback functions print_stack(),
...
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:09:29 +03:00
Victor Stinner
df11d7c2b4
test_gdb: fix regex to parse the GDB version
...
Fix the regex to support the version 7.10: minor version with two digits
2015-09-15 00:19:47 +02:00
Benjamin Peterson
061653091e
fix name of argument in docstring and the docs ( closes #25076 )
...
Patch by TAKASE Arihiro.
2015-09-12 17:20:47 -07:00
Serhiy Storchaka
9b2e37f688
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:47:12 +03:00
Martin Panter
b2528c92f1
Issue #16473 : Fix byte transform codec documentation; test quotetabs=True
...
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
2015-09-12 00:34:28 +00:00
Martin Panter
90bc71f5b1
Remove and enable misplaced codecs tests ported from Python 3
...
Most of these tests are about blacklisted non-text codecs, which are not
relevant in Python 2. The only one remaining is TransformCodecTest.test_uu_
invalid().
2015-09-12 02:20:06 +00:00
Serhiy Storchaka
f29ab72162
Don't encode unicode dirname in test_support.temp_cwd() if unicode file names
...
are supported by the filesystem. On Windows the encoding can convert some
characters to '?' that is not legal in file name.
2015-09-09 12:18:36 +03:00
Terry Jan Reedy
e1d38b08b0
Issue 24199: Deprecate idlelib.idlever with a warning on import.
2015-09-09 02:10:10 -04:00
Serhiy Storchaka
672237e887
Fixed tests for shutil.make_archive() with relative base_name in the case when
...
the path of the directory for temporary files contains symlinks.
2015-09-08 09:59:02 +03:00
Serhiy Storchaka
fe45f65187
Issue #24982 : shutil.make_archive() with the "zip" format now adds entries
...
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
2015-09-08 05:47:01 +03:00
Serhiy Storchaka
f3bdc1082f
Backported new tests for attribute setting of expat parser.
2015-09-07 22:42:12 +03:00
Serhiy Storchaka
ad7b0cda8a
Issue #25018 : Fixed testing shutil.make_archive() with relative base_name on
...
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
2015-09-07 19:58:23 +03:00
Serhiy Storchaka
0ecf462b8e
Explicitly test archive name in shutil.make_archive() tests to expose failure
...
details in issue25018.
2015-09-07 13:55:25 +03:00
Terry Jan Reedy
baf9ef960c
Issue #24889 : When starting Idle, force focus onto Idle window if not already
...
there (as when opening Idle from interactive Python on Windows).
2015-09-07 01:58:05 -04:00
Martin Panter
b75a0e9f32
Issue #17849 : Raise sensible exception for invalid HTTP tunnel response
...
Initial patch from Cory Benfield.
2015-09-07 01:18:47 +00:00
Serhiy Storchaka
04861dc82f
Fix, refactor and extend tests for shutil.make_archive().
2015-09-06 18:31:23 +03:00
Serhiy Storchaka
7c7b4b5d86
Backport support.change_cwd() and use it in tests.
2015-09-06 14:16:18 +03:00
Terry Jan Reedy
23ae488f23
Issue #16180 : Exit pdb if file has syntax error, instead of trapping user
...
in an infinite loop. Patch by Xavier de Gaye.
2015-09-05 19:13:17 -04:00
Terry Jan Reedy
99c1a6d5f1
Issue #24745 : Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
2015-09-04 04:37:02 -04:00
Senthil Kumaran
c97e18ec64
merge heads.
2015-09-03 02:50:51 -07:00
Senthil Kumaran
f30e078752
Remove unused imports in test_wsgiref.py
2015-09-03 02:39:57 -07:00
Victor Stinner
ccd62705b1
Issue #23375 : Fix test_py3kwarn for modules implemented in C
...
Don't check if importing a module emits a DeprecationWarning if the module is
implemented in C and the module is already loaded.
2015-09-03 10:46:17 +02:00
Victor Stinner
cc1db4bf85
python-gdb.py: enhance py-bt command
...
* Add py-bt-full command
* py-bt now gives an output similar to a regular Python traceback
* py-bt indicates:
- if the garbage collector is running
- if the thread is waiting for the GIL
- detect PyCFunction_Call to get the name of the builtin function
2015-09-03 10:17:28 +02:00
Victor Stinner
3c5ce404a0
test_gdb: enhance regex used to parse the GDB version
2015-09-03 09:51:59 +02:00
Terry Jan Reedy
b50d3b2cd3
Issue #21192 : Change 'RUN' back to 'RESTART' when running editor file.
2015-09-02 22:07:31 -04:00
Terry Jan Reedy
34eab0785b
Issue #24790 : correct typo noticed by Eric Smith
2015-08-27 13:01:45 -04:00
Terry Jan Reedy
0c416e0e2e
Issue #24790 : Restore unused function.
2015-08-26 23:37:09 -04:00
Terry Jan Reedy
936a6f15c6
Issue #24782 : In Idle extension config dialog, replace tabs with sorted list.
...
Patch by Mark Roseman.
2015-08-26 23:13:16 -04:00
Donald Stufft
9de9b782ca
Update pip to 7.1.2 and setuptools to 18.2
2015-08-24 16:17:13 -04:00
Terry Jan Reedy
864e1a6415
Issue #24790 : Remove extraneous code (which also create 2 & 3 conflicts).
2015-08-18 13:26:45 -04:00
Terry Jan Reedy
ea4287651c
Entries for idlelib/NEWS.txt
2015-08-16 23:22:32 -04:00
Terry Jan Reedy
87da49888e
Issue #24833 : Add attribute reference needed for 3.x, but optional for 2.7,
...
to keep synchronized.
2015-08-14 16:59:36 -04:00
Zachary Ware
ce698f3aa2
Issue #24751 : Fix running regrtest with '-w' flag in case of test failures.
...
Also fixes reporting of tests that change environment when there are no test
failures.
2015-08-08 22:01:20 -05:00
Steve Dower
1485054a23
Issue #24634 : Importing uuid should not try to load libc on Windows
2015-07-14 13:25:03 -07:00
Steve Dower
77518434d0
Issue #4214 : Remove ineffectual /pdb:none option from msvc9compiler.py
2015-08-07 19:47:36 -07:00
Zachary Ware
a4777f1bef
Issue #24751 : When running regrtest with '-w', don't fail if re-run succeeds.
2015-08-04 21:53:21 -05:00
Terry Jan Reedy
1d8b7be333
Issue #24759 : Revert 8203fc75b3d2.
2015-08-03 18:34:07 -04:00
Serhiy Storchaka
ea4d2875ac
Issue #20557 : Use specific asserts in io tests.
2015-08-02 15:19:04 +03:00
Terry Jan Reedy
1235214945
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
...
editor font. This should not affect current customized font selections.
Patch by Mark Roseman.
2015-08-01 18:57:27 -04:00
Terry Jan Reedy
8755d78e4f
Issue #21192 : Idle Editor. When a file is run, put its name in the restart bar.
...
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:31 -04:00
Terry Jan Reedy
a872fec1ec
Issue 24759: Gracefull exit Idle if ttk import fails.
2015-07-30 21:16:09 -04:00
Terry Jan Reedy
fa002d4cdd
Issue #13884 : Idle: Remove tearoff lines from menus. Patch by Roger Serwy.
2015-07-30 16:44:09 -04:00
Berker Peksag
ffc7e8eebe
Issue #12160 : Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
...
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().
Patch by Nick Weinhold.
2015-07-30 23:27:13 +03:00
Guido van Rossum
3d731c5994
Issue #15138 : Speed up base64.urlsafe_b64* considerably (2.7 backport).
2015-07-30 16:50:25 +02:00
Victor Stinner
e97944a27e
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:37:17 +02:00
Robert Collins
2f2c829688
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:48:42 +12:00
Robert Collins
581234ee0d
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:40:15 +12:00
Serhiy Storchaka
cf74c1996e
Issue #24613 : Calling array.fromstring() with self is no longer allowed
...
to prevent the use-after-free error. Patch by John Leitch.
2015-07-26 08:49:37 +03:00
Benjamin Peterson
455a2a30a3
proper overflow checks for mymemreplace ( closes #24708 )
2015-07-24 23:25:35 -07:00
Serhiy Storchaka
3b77d01dbc
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:02:53 +03:00
Robert Collins
04fac8abf1
Issue #13938 : 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
2015-07-23 06:19:18 +12:00
Terry Jan Reedy
4b2f5d9de5
Issue #20792 : Expand idle_test.test_pathbowser. Tweak file.
...
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:55 -04:00
Terry Jan Reedy
58785d5450
Issue #24671 : Finish print conversion, idlelib GrepDialog and WidgetRedirector.
2015-07-19 18:32:06 -04:00
Zachary Ware
4734372aa0
Close #24508 : Backport the 3.5 MSBuild project files.
...
The old project files move to PC/VS9.0 and remain supported.
VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Zachary Ware
79d0e724e3
Backport b80d141a044e
2015-07-13 14:27:29 -05:00
Serhiy Storchaka
a1b1e5f7b8
Added regression test for issue24581.
2015-07-08 22:58:55 +03:00
Lars Gustäbel
518602ab11
Issue #24259 : tarfile now raises a ReadError if an archive is truncated inside a data segment.
2015-07-06 09:23:04 +02:00
Ned Deily
6c5824aaa5
Issue #24540 : fix typo in json.dumps docstring
2015-07-05 11:43:59 -07:00
Ned Deily
b2f949aafb
Issue #24330 : Update IDLE doc and help to note "Configure IDLE" difference
...
on OS X. Original patch by André Freitas.
2015-07-04 15:04:42 -07:00
Lars Gustäbel
d048003d90
Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:37:08 +02:00
Donald Stufft
97cceac3bd
Update setuptools to 18.0.1 and pip to 7.1.0
2015-07-01 11:29:34 -04:00
Serhiy Storchaka
ab766350b6
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:13:54 +03:00
Jason R. Coombs
eabfe8cc0e
Issue #20387 : Backport fix from Python 3.4
2015-06-28 13:05:19 -04:00
Jason R. Coombs
33b24f5c09
Issue #20387 : Backport test from Python 3.4
2015-06-28 13:03:26 -04:00
Serhiy Storchaka
84af51d1b3
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module. Fixed SystemError when the state is not a
tuple. Fixed possible memory leak.
2015-06-28 17:51:40 +03:00
Serhiy Storchaka
d1d4d8ab99
Issue #24336 : Backported test for contextmanager. Patch by Martin Panter.
2015-06-28 17:11:51 +03:00
Benjamin Peterson
1c72acf24c
ensure internal buffer is large enough for string after flushing ( closes #24481 )
2015-06-27 14:52:41 -05:00
Ned Deily
3e5e74ad4c
Issue #24497 : update link in test_decimal comments
2015-06-24 13:36:53 -07:00
Antoine Pitrou
0d2fac1fba
Issue #24489 : ensure a previously set C errno doesn't disturb cmath.polar().
2015-06-23 14:31:11 +02:00
Ned Deily
9487043453
Issue #24408 : Prevent test_font failures with non-ascii font names.
2015-06-21 13:57:30 -07:00
Serhiy Storchaka
18d69e0edc
Issue #24408 : Fixed test for tkinter.Font on OS X.
...
Based on patch by Martin Panter.
2015-06-21 14:41:36 +03:00
Serhiy Storchaka
66f8d75ba8
Issue #24408 : Added more tkinter.Font tests.
2015-06-09 07:21:31 +03:00
Serhiy Storchaka
637c8e88ab
Issue #24299 : Fixed test__locale on Solaris.
2015-06-08 18:48:33 +03:00
Donald Stufft
e629fef213
Upgrade pip to 7.0.3 and setuptools to 17.0
2015-06-02 11:38:01 -04:00
Donald Stufft
69c0d26159
Issue #24267 - Ensure that pip version check is disabled on uninstall
2015-06-02 10:54:37 -04:00
Serhiy Storchaka
c7797dc748
Issue #19543 : Emit deprecation warning for known non-text encodings.
...
Backported issues #19619 : encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.
Backported issues #20404 : io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
2015-05-31 20:21:00 +03:00
Serhiy Storchaka
cfb7028df4
Fixed test_audioop for issue #24326 .
...
24-bit samples are not supported in 2.7.
2015-05-31 12:05:40 +03:00
Serhiy Storchaka
dc967c137c
Fixed the array module in unicode disabled build (regression of issue20014).
2015-05-31 11:56:48 +03:00
Serhiy Storchaka
062bed289b
Issue #24264 : Fixed buffer overflow in the imageop module.
2015-05-31 09:05:10 +03:00
Serhiy Storchaka
d6bfa94493
Issue #21853 : Fixed the inspect module in unicode disabled build.
2015-05-31 08:01:00 +03:00
Serhiy Storchaka
59ea508bb8
Issue #5633 : Fixed timeit when the statement is a string and the setup is not.
2015-05-30 19:37:19 +03:00
Serhiy Storchaka
1e95340bc3
Issue #24326 : Fixed audioop.ratecv() with non-default weightB argument.
...
Original patch by David Moore.
2015-05-30 00:53:26 +03:00
Serhiy Storchaka
9d1de8a2a9
Issue #22095 : Fixed HTTPConnection.set_tunnel with default port. The port
...
value in the host header was set to "None". Patch by Demian Brecht.
2015-05-28 22:37:13 +03:00
Raymond Hettinger
1a7c3571c7
Issue #24286 : Register dict views with the MappingView ABCs.
2015-05-26 01:35:54 -07:00
Benjamin Peterson
fdd70ae453
keep distutils version in sync with python version automatically
2015-05-25 21:24:00 -05:00
Terry Jan Reedy
3dc4082cbe
Update idlelib/NEWS.txt.
2015-05-23 17:23:23 -04:00
Benjamin Peterson
5bd3be83fa
merge 2.7.10 release branch
2015-05-23 11:03:20 -05:00
Benjamin Peterson
5a29c5cc45
python 2.7.10 final
2015-05-23 11:02:14 -05:00
Benjamin Peterson
fa3d5b5b95
merge 2.7.10 release branch
2015-05-23 10:47:39 -05:00
Benjamin Peterson
ec7abfb58f
allow square brackets in cookie values ( #22931 )
2015-05-23 10:46:25 -05:00
Donald Stufft
bd2f9c2194
Upgrade pip to 7.0.1
2015-05-22 20:28:52 -04:00
Benjamin Peterson
b1f3797450
merge 2.7.10 release branch
2015-05-22 17:55:22 -05:00
Benjamin Peterson
a71a4f4ed3
make idlever.py self-updating ( closes #24199 )
2015-05-22 17:53:06 -05:00
Serhiy Storchaka
80cb186b49
Issue #24257 : Fixed segmentation fault in sqlite3.Row constructor with faked
...
cursor type.
2015-05-22 11:00:40 +03:00
Donald Stufft
d9ac81765e
Upgrade pip to 7.0 and setuptools to 16.0
2015-05-22 00:43:31 -04:00
Serhiy Storchaka
3220849524
Issue #24134 : Use assertRaises() in context manager form in test_slice to
...
avoid passing the test accidently because slice.__hash__ is None.
2015-05-20 18:37:37 +03:00
Serhiy Storchaka
bc5046634a
Issue #24245 : Eliminated senseless expect clauses that have no any effect in
...
IDLE. Patch by Martin Panter.
2015-05-20 16:14:54 +03:00
Serhiy Storchaka
9eb0c0e73e
Issue #22107 : tempfile.gettempdir() and tempfile.mkdtemp() now try again
...
when a directory with the chosen name already exists on Windows as well as
on Unix. tempfile.mkstemp() now fails early if parent directory is not
valid (not exists or is a file) on Windows.
2015-05-20 00:10:56 +03:00
Serhiy Storchaka
49f2ccf83d
Issue #6598 : Increased time precision and random number range in
...
email.utils.make_msgid() to strengthen the uniqueness of the message ID.
2015-05-19 10:09:27 +03:00
Terry Jan Reedy
23120090f5
Issue #24222 : Fix regression introduced with idlelib/PyShell.py future print
...
import. Idle -c "code", -r file.py again compile with print statement.
2015-05-18 15:37:37 -04:00
Serhiy Storchaka
14e10a19f7
Issue #24102 : Fixed exception type checking in standard error handlers.
2015-05-18 16:08:38 +03:00
Raymond Hettinger
51dbc9a4ad
Issue #23757 : Only call the concrete list API for exact lists.
2015-05-17 14:37:39 -07:00
Serhiy Storchaka
4b2c468e74
Issue #15809 : IDLE shell now uses locale encoding instead of Latin1 for
...
decoding unicode literals.
2015-05-17 13:53:54 +03:00
Terry Jan Reedy
c8059e48f2
Issue #24199 : Stop using idelver in aboutdialog.
2015-05-16 19:28:27 -04:00
Serhiy Storchaka
d6c1c1e3e2
Added tests for more builtin types.
2015-05-16 21:34:56 +03:00
Terry Jan Reedy
848543763f
Issue #23964 : Update idlelib/idle_test/README.txt. first patch by Al Sweigart.
2015-05-16 14:23:33 -04:00
Serhiy Storchaka
80573bb902
Issue #15267 : HTTPConnection.request() now is compatibile with old-style
...
classes (such as TemporaryFile). Original patch by Atsuo Ishimoto.
2015-05-16 18:58:41 +03:00
Serhiy Storchaka
b70091a8d5
Issue #20014 : array.array() now accepts unicode typecodes. Based on patch by
...
Vajrasky Kok.
2015-05-16 17:11:41 +03:00
Serhiy Storchaka
f40fcb33d2
Issue #23637 : Showing a warning no longer fails with UnicodeErrror.
...
Formatting unicode warning in the file with the path containing non-ascii
characters no longer fails with UnicodeErrror.
2015-05-16 16:42:18 +03:00
Serhiy Storchaka
049060c249
Reverted issue #24134 changes.
2015-05-16 16:21:10 +03:00
Terry Jan Reedy
d39d962cbd
Issue #23184 : idle tests, remove unused names and imports.
2015-05-15 23:55:15 -04:00
Terry Jan Reedy
2848925ed2
Issue #23184 : idlelib, remove more unused names and imports.
2015-05-15 23:03:11 -04:00
Terry Jan Reedy
91226cf7ba
idlelib: remove unused names and imports (forgot one).
2015-05-14 18:11:50 -04:00
Terry Jan Reedy
d8dc7496c5
idlelib: remove unused names and imports (one is a duplicate import).
2015-05-14 18:10:30 -04:00
Berker Peksag
73e4f5f6bb
Issue #22064 : Improve the misleading message from 2to3 when skipping optional fixers.
...
Patch by Vinod Kurup.
2015-05-13 13:42:26 +03:00
Benjamin Peterson
a40ea98fc1
bump version to 2.7.10rc1
2015-05-10 13:14:16 -04:00
Benjamin Peterson
91fd159935
update pydoc-topics
2015-05-10 13:13:10 -04:00
Benjamin Peterson
72c0141f03
ensure .keywords is always a dict
2015-05-09 00:23:41 -04:00
Donald Stufft
1c5af3de6d
Upgrade setuptools to 15.2
2015-05-08 21:28:57 -04:00
Serhiy Storchaka
2e2dcf6eac
Fixed English in error message.
2015-05-06 19:21:00 +03:00
Serhiy Storchaka
7f71e04cb5
Issue #24134 : assertRaises() and assertRaisesRegexp() checks are not longer
...
successful if the callable is None.
Added tests for assertRaises().
2015-05-06 19:10:40 +03:00
Serhiy Storchaka
3234abb9a0
Issue #24125 : Saved error's line and column numbers when an error is occured
...
during closing expatreader. Fixed a regression introduced in issue #23865 .
2015-05-06 09:35:52 +03:00
Serhiy Storchaka
89c3b8e480
Issue #23713 : Fixed fragility of test_imap_unordered_handle_iterable_exception.
...
Patch by Davin Potts.
2015-04-23 11:35:43 +03:00
Serhiy Storchaka
dacd7d0cd6
Use more precise Tcl version checks in tests.
2015-04-23 10:57:15 +03:00
Serhiy Storchaka
6294d9f5f0
Issue #16840 : Skip bignum tests on minor releases where they are not supported.
2015-04-22 10:51:49 +03:00
Serhiy Storchaka
dcb12f46d1
Fixed full Tcl version parsing in tests for pre-final versions.
2015-04-22 08:35:53 +03:00
Serhiy Storchaka
a8e65755c4
Issue #23008 : Fixed resolving attributes with boolean value is False in pydoc.
2015-04-21 21:09:23 +03:00
Serhiy Storchaka
bd617adf6b
Issue #23728 : Added a test for binascii.crc_hqx().
2015-04-20 09:32:29 +03:00
Serhiy Storchaka
9aa16d93c9
Issue #23842 : os.major(), os.minor() and os.makedev() now support ints again.
2015-04-20 09:21:23 +03:00
Serhiy Storchaka
abb7e65042
Backported tests from issue #20175 .
2015-04-16 11:56:35 +03:00
Berker Peksag
1bc53c6e0b
Issue #23811 : Add missing newline to the PyCompileError error message.
...
Patch by Alex Shkop.
2015-04-14 19:03:06 +03:00
Andrew Kuchling
270b0586b0
#17898 : reset k and v so that the loop doesn't use an old value
2015-04-14 10:03:35 -04:00
Andrew Kuchling
2ca7bb0ba2
#23883 : add names missing from __all__ (l*gettext, bind_textdomain_codeset)
2015-04-13 09:58:36 -04:00
Benjamin Peterson
b0368491e4
remove useless word ( closes #23929 )
2015-04-13 20:24:10 -04:00