Terry Jan Reedy
986f53181a
Merge with 3.4
2015-09-24 17:32:38 -04:00
Terry Jan Reedy
974a271105
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:32:01 -04:00
Terry Jan Reedy
5901b00124
Merge with 3.4
2015-09-24 03:09:56 -04:00
Terry Jan Reedy
0053c47785
Issue 21995: Explain some differences between IDLE and console Python.
2015-09-24 03:09:43 -04:00
Terry Jan Reedy
0389fccbd0
Merge with 3.4
2015-09-23 20:00:55 -04:00
Terry Jan Reedy
6e10ec5367
Issue 25224: Augment Idle doc feature list and no-subprocess section
...
to finish making current README.txt obsolete.
2015-09-23 20:00:33 -04:00
Terry Jan Reedy
30d0433451
Merge with 3.4
2015-09-23 03:52:36 -04:00
Terry Jan Reedy
968e285a8c
Issue #25219 : Update doc for Idle command line options.
...
Some were missing and notes were not correct.
2015-09-23 03:52:23 -04:00
Terry Jan Reedy
e8509556c3
Merge with 3.4
2015-09-23 03:45:33 -04:00
Terry Jan Reedy
6f5cdfefa1
Idlelib.help: add 'b' prefix needed for bytes + bytes.
2015-09-23 03:45:13 -04:00
Terry Jan Reedy
1ccf44c476
Merge with 3.4
2015-09-22 22:59:53 -04:00
Terry Jan Reedy
a0ae789fd4
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:40 -04:00
Martin Panter
982a08f8bb
Issue #25047 : Merge Element Tree encoding from 3.4 into 3.5
2015-09-23 01:43:08 +00:00
Martin Panter
89f76d3f91
Issue #25047 : Respect case writing XML encoding declarations
...
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
2015-09-23 01:14:35 +00:00
Terry Jan Reedy
452498a128
Merge with 3.4
2015-09-22 21:13:39 -04:00
Terry Jan Reedy
f94471c140
whitespace
2015-09-22 21:13:28 -04:00
Terry Jan Reedy
5e6201e8a9
Merge with 3.4
2015-09-22 21:10:49 -04:00
Terry Jan Reedy
3c7eccd0a6
Issue #24570 : Right-click for context menus now work on Mac Aqual also.
...
Patch by Mark Roseman.
2015-09-22 21:10:27 -04:00
Steve Dower
5b1640cd2b
Merge from 3.4
2015-09-22 17:35:42 -07:00
Steve Dower
8f278f1662
Handle calls to win32_ver from non-Windows platform
2015-09-22 17:35:24 -07:00
Steve Dower
64a3387d69
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:29:51 -07:00
Steve Dower
b9f4feab1b
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:23:39 -07:00
Berker Peksag
9b93c6b5df
Issue #25137 : Add a note to whatsnew/3.5.rst for nested functools.partial calls
...
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
2015-09-22 13:08:16 +03:00
Terry Jan Reedy
5e202086a5
Merge with 3.4
2015-09-21 22:42:43 -04:00
Terry Jan Reedy
364d6e107d
whitespace
2015-09-21 22:42:32 -04:00
Terry Jan Reedy
5e999fc00a
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:38:47 -04:00
Terry Jan Reedy
cba1a1a000
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:42 -04:00
Terry Jan Reedy
e90bb44347
Marge 3.4
2015-09-21 19:33:14 -04:00
Terry Jan Reedy
d9763c2ce4
Issue #24861 : add Idle news item and correct previous errors.
2015-09-21 19:28:22 -04:00
Victor Stinner
e355604447
Merge 3.4 (Issue #23630 , fix test_asyncio)
2015-09-21 22:29:30 +02:00
Victor Stinner
582b17c2c5
Issue #23630 : Fix test_asyncio on Windows
...
The proactor event loop requires also to mock loop._stop_serving.
2015-09-21 22:28:44 +02:00
Victor Stinner
e63f1a65ed
Merge 3.4 (test_asyncio)
2015-09-21 22:20:36 +02:00
Victor Stinner
72e1eae7bb
Issue #25114 : Fix test_asyncio
...
ssl.SSLContext() does not always disable compression. Fix unit test.
2015-09-21 22:20:19 +02:00
Victor Stinner
7b58a2bb1d
Merge 3.4 (asyncio)
2015-09-21 18:41:05 +02:00
Victor Stinner
5e4a7d8dc7
Issue #23630 , asyncio: host parameter of loop.create_server() can now be a
...
sequence of strings. Patch written by Yann Sionneau.
2015-09-21 18:33:43 +02:00
Victor Stinner
d1fcca8ada
Merge 3.4 (asyncio)
2015-09-21 18:08:06 +02:00
Victor Stinner
f7dc7fb74d
Issue #25114 , asyncio: add ssl_object extra info to SSL transports
...
This info is required on Python 3.5 and newer to get specific information on
the SSL object, like getting the binary peer certificate (instead of getting
it as text).
2015-09-21 18:06:17 +02:00
Victor Stinner
6dae395ed5
Issue #25122 : test_eintr: the FreeBSD fix will be released in FreeBSD 10.3
2015-09-21 14:05:02 +02:00
Victor Stinner
900db26d34
Merge 3.4 (test_socket, issue #25138 )
2015-09-21 09:04:17 +02:00
Victor Stinner
808d6416e3
Issue #25138 : test_socket.test_idna() uses support.transient_internet() instead
...
of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
2015-09-21 09:04:01 +02:00
Terry Jan Reedy
a4950d875a
Merge with 3.4
2015-09-21 01:44:20 -04:00
Terry Jan Reedy
c3f7731f3c
Issue #24861 : Add docstring to idlelib.__init__ with 'private' warning.
2015-09-21 01:44:06 -04:00
Terry Jan Reedy
c8f4bbbc09
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:10:21 -04:00
Terry Jan Reedy
09fbb200aa
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:59 -04:00
Terry Jan Reedy
192c103b5e
Merge with 3.4
2015-09-20 23:05:41 -04:00
Terry Jan Reedy
96f802a999
Issue #16893 : finish deprecation.
2015-09-20 23:05:25 -04:00
Terry Jan Reedy
4fb0cf7b87
Merge with 3.4
2015-09-20 22:55:51 -04:00
Terry Jan Reedy
b50c6377a6
Issue #25199 : Idle: add synchronization comments for future maintainers.
2015-09-20 22:55:39 -04:00
Terry Jan Reedy
1de516e1df
Merge with 3.4
2015-09-20 20:03:22 -04:00
Terry Jan Reedy
963a38bc44
Issue #16893 : whitespace in idle.html.
2015-09-20 20:03:01 -04:00
Terry Jan Reedy
47f9741e5c
Merge with 3.4
2015-09-20 19:57:37 -04:00
Terry Jan Reedy
5d46ab1274
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:57:13 -04:00
Terry Jan Reedy
86eb7300af
Merge with 3.4
2015-09-20 02:34:20 -04:00
Terry Jan Reedy
c37c49fd56
Issue #24199 : Add stacklevel to deprecation warning call.
2015-09-20 02:34:03 -04:00
Serhiy Storchaka
f2d7ea1af1
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:59:48 +03:00
Serhiy Storchaka
d86a6ef41c
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:55:20 +03:00
Victor Stinner
4b363e2701
Merge 3.4 (test_email)
2015-09-18 16:32:51 +02:00
Victor Stinner
53936474aa
Issue #24836 : Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
...
Leopard because this OS uses out of date (pre 2011k) timezone files.
2015-09-18 16:32:23 +02:00
Victor Stinner
84ff4abd79
Merge 3.4 (datetime rounding)
2015-09-18 14:50:18 +02:00
Victor Stinner
511491ade0
Issue #23517 : Fix rounding in fromtimestamp() and utcfromtimestamp() methods
...
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:
(datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)
It also the rounding mode used by round(float) for example.
Add more unit tests on the rounding mode in test_datetime.
2015-09-18 14:42:05 +02:00
Victor Stinner
ec26f83f2e
Issue #25155 : Fix _PyTime_Divide() rounding
...
_PyTime_Divide() rounding was wrong: copy code from Python default which has
now much better unit tests.
2015-09-18 14:21:14 +02:00
Victor Stinner
4b352171d2
Issue #25122 : sync test_eintr with Python 3.6
...
* test_eintr: support verbose mode, don't redirect eintr_tester output into
a pipe
* eintr_tester: replace os.fork() with subprocess to have a cleaner child
process (ex: don't inherit setitimer())
* eintr_tester: kill the process if the unit test fails
* test_open/test_os_open(): write support.PIPE_MAX_SIZE bytes instead of
support.PIPE_MAX_SIZE*3 bytes
2015-09-18 11:29:16 +02:00
Serhiy Storchaka
e3bcbd2bba
Issue #25108 : Backported tests for traceback functions print_stack(),
...
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:07:18 +03:00
Serhiy Storchaka
e953ba794c
Issue #25108 : Omitted internal frames in traceback functions print_stack(),
...
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:04:47 +03:00
Victor Stinner
d3ffd32767
Issue #25118 : Fix a regression of Python 3.5.0 in os.waitpid() on Windows.
...
Add an unit test on os.waitpid()
2015-09-15 10:11:03 +02:00
Victor Stinner
d64cfc215c
Merge 3.4 (test_gdb)
2015-09-15 00:23:08 +02:00
Victor Stinner
a578eb34ba
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:22:55 +02:00
Larry Hastings
9c51f89cd6
Merge release engineering work from Python 3.5.0.
2015-09-13 15:43:21 +01:00
Benjamin Peterson
f07422c025
merge 3.4
2015-09-12 17:21:16 -07:00
Benjamin Peterson
4019852bfc
fix name of argument in docstring and the docs ( closes #25076 )
...
Patch by TAKASE Arihiro.
2015-09-12 17:20:47 -07:00
Kristján Valur Jónsson
d7f65e5763
Issue #25021 : Merge 3.4 to 3.5
2015-09-12 16:34:33 +00:00
Larry Hastings
fcdd34d263
Regenerate pydoc topics, fix minor non-RST formatting in Misc/NEWS.
2015-09-12 17:24:02 +01:00
Kristján Valur Jónsson
95c3e6cb22
Issue #25021 : Merge from 3.3 to 3.4
2015-09-12 15:30:23 +00:00
Kristján Valur Jónsson
102764a1f6
Issue #25021 : Correctly make sure that product.__setstate__ does not access
...
invalid memory.
2015-09-12 15:20:54 +00:00
Serhiy Storchaka
153627c111
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:20 +03:00
Serhiy Storchaka
0424eaf753
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:45:25 +03:00
Martin Panter
9ab96946ee
Issue #16473 : Merge codecs doc and test from 3.4 into 3.5
2015-09-12 01:22:17 +00:00
Martin Panter
06171bd52a
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
Berker Peksag
29bf4d403d
Issue #24857 : Comparing call_args to a long sequence now correctly returns a
...
boolean result instead of raising an exception.
Patch by A Kaptur.
2015-09-09 23:39:45 +03:00
Berker Peksag
3fc536f1c9
Issue #24857 : Comparing call_args to a long sequence now correctly returns a
...
boolean result instead of raising an exception.
Patch by A Kaptur.
2015-09-09 23:35:25 +03:00
Larry Hastings
52e40cd9ec
Whitespace fixes to make the commit hook on hg.python.org happy.
2015-09-09 06:54:57 -07:00
Larry Hastings
ded28e3863
Merge Python 3.5.0rc4 back to hg.python.org.
2015-09-09 06:52:38 -07:00
Larry Hastings
a1419d197c
Merged in stevedower/cpython350 (pull request #23 )
...
Moves distutils test import within skippable class.
2015-09-08 23:45:23 -07:00
Steve Dower
bf74f37e70
Moves distutils test import within skippable class.
2015-09-08 23:42:51 -07:00
Martin Panter
6088b7bd49
Merge 3.4 into 3.5
2015-09-09 06:27:43 +00:00
Terry Jan Reedy
52ee2471b3
Merge with 3.4
2015-09-09 02:10:35 -04:00
Terry Jan Reedy
78d915aa3e
Issue 24199: Deprecate idlelib.idlever with a warning on import.
2015-09-09 02:10:17 -04:00
Larry Hastings
c31b6d191f
Merge 3.5.0rc3 revisions back into current 3.5.0 head.
2015-09-08 22:45:37 -07:00
Martin Panter
9499413508
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
...
Needs to be tested on a BSD.
2015-09-09 05:29:24 +00:00
Steve Dower
fcbe1df4af
Issue #25027 : Reverts partial-static build options and adds vcruntime140.dll to Windows installation.
2015-09-08 21:39:01 -07:00
Martin Panter
0ff89099c7
Issue #23738 : Merge 3.4 into 3.5
2015-09-09 01:56:53 +00:00
Martin Panter
bf19d16950
Issue #23738 : Document and test actual keyword parameter names
...
Also fix signature because os.utime(..., ns=None) is not allowed.
2015-09-09 01:01:13 +00:00
Serhiy Storchaka
050a143a3f
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 10:00:22 +03:00
Serhiy Storchaka
5558d4f2f8
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
Raymond Hettinger
3ada93fc86
merge
2015-09-08 00:36:56 -04:00
Raymond Hettinger
8ba03cf33f
Fix whitespace in comment.
2015-09-08 00:36:29 -04:00
Serhiy Storchaka
d941d7a586
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:51:00 +03:00
Serhiy Storchaka
2504cecebd
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:23 +03:00
Serhiy Storchaka
6c8b66cd26
Raise more correct exception on overflow in setting buffer_size attribute of
...
expat parser.
2015-09-07 22:54:08 +03:00
Serhiy Storchaka
de5f9f4f70
Raise more correct exception on overflow in setting buffer_size attribute of
...
expat parser.
2015-09-07 22:51:56 +03:00