]>
granicus.if.org Git - python/log
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:20 +0000 (01:44 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:06 +0000 (01:44 -0400)]
Issue #24861: Add docstring to idlelib.__init__ with 'private' warning.
Terry Jan Reedy [Mon, 21 Sep 2015 05:10:21 +0000 (01:10 -0400)]
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.
Terry Jan Reedy [Mon, 21 Sep 2015 05:07:59 +0000 (01:07 -0400)]
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.
Berker Peksag [Mon, 21 Sep 2015 03:51:45 +0000 (06:51 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Berker Peksag [Mon, 21 Sep 2015 03:50:55 +0000 (06:50 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Terry Jan Reedy [Mon, 21 Sep 2015 03:23:44 +0000 (23:23 -0400)]
Add NEWS items for Idle.
Terry Jan Reedy [Mon, 21 Sep 2015 03:21:22 +0000 (23:21 -0400)]
Add NEWS items for Idle.
Berker Peksag [Mon, 21 Sep 2015 03:13:14 +0000 (06:13 +0300)]
Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
Berker Peksag [Mon, 21 Sep 2015 03:12:50 +0000 (06:12 +0300)]
Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:41 +0000 (23:05 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:25 +0000 (23:05 -0400)]
Issue #16893: finish deprecation.
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:51 +0000 (22:55 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:39 +0000 (22:55 -0400)]
Issue #25199: Idle: add synchronization comments for future maintainers.
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:22 +0000 (20:03 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:01 +0000 (20:03 -0400)]
Issue #16893: whitespace in idle.html.
Terry Jan Reedy [Sun, 20 Sep 2015 23:57:37 +0000 (19:57 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 20 Sep 2015 23:57:13 +0000 (19:57 -0400)]
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.
Benjamin Peterson [Sun, 20 Sep 2015 18:18:51 +0000 (23:18 +0500)]
merge 3.4 (#25145)
Benjamin Peterson [Sun, 20 Sep 2015 18:17:41 +0000 (23:17 +0500)]
remove reference to PyGoogle (#25145)
Patch by Bar Harel.
Benjamin Peterson [Sun, 20 Sep 2015 18:16:45 +0000 (23:16 +0500)]
use a more modern UA (#25145)
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:20 +0000 (02:34 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:03 +0000 (02:34 -0400)]
Issue #24199: Add stacklevel to deprecation warning call.
Martin Panter [Sun, 20 Sep 2015 01:07:41 +0000 (01:07 +0000)]
Issue #25176: Merge cgi.parse_qsl link from 3.4 into 3.5
Martin Panter [Sun, 20 Sep 2015 00:28:50 +0000 (00:28 +0000)]
Issue #25176: Correct link for cgi.parse_qsl; patch from Ville Skyttä
Victor Stinner [Sat, 19 Sep 2015 11:39:03 +0000 (13:39 +0200)]
Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" to
avoid undefined behaviour when LONG_MAX type is smaller than 60 bits.
This change should fix a warning with the ICC compiler.
Serhiy Storchaka [Sat, 19 Sep 2015 07:59:48 +0000 (10:59 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Serhiy Storchaka [Sat, 19 Sep 2015 07:55:20 +0000 (10:55 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Brett Cannon [Fri, 18 Sep 2015 22:21:02 +0000 (15:21 -0700)]
Make it clearer that the constants in the selectors docs are module-level
Brett Cannon [Fri, 18 Sep 2015 22:13:44 +0000 (15:13 -0700)]
Issue #24915: Add Clang support to PGO builds and use the test suite
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
Victor Stinner [Fri, 18 Sep 2015 14:32:51 +0000 (16:32 +0200)]
Merge 3.4 (test_email)
Victor Stinner [Fri, 18 Sep 2015 14:32:23 +0000 (16:32 +0200)]
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.
Victor Stinner [Fri, 18 Sep 2015 13:06:34 +0000 (15:06 +0200)]
Issue #25150: Hide the private _Py_atomic_xxx symbols from the public
Python.h header to fix a compilation error with OpenMP. PyThreadState_GET()
becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies.
It is important that the _PyThreadState_Current variable is always accessed
with the same implementation of pyatomic.h. Use the PyThreadState_Get()
function so extension modules will all reuse the same implementation.
Victor Stinner [Fri, 18 Sep 2015 12:50:18 +0000 (14:50 +0200)]
Merge 3.4 (datetime rounding)
Victor Stinner [Fri, 18 Sep 2015 12:42:05 +0000 (14:42 +0200)]
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.
Victor Stinner [Fri, 18 Sep 2015 12:21:14 +0000 (14:21 +0200)]
Issue #25155: Fix _PyTime_Divide() rounding
_PyTime_Divide() rounding was wrong: copy code from Python default which has
now much better unit tests.
Victor Stinner [Fri, 18 Sep 2015 11:59:09 +0000 (13:59 +0200)]
Issue #25155: document the bugfix in Misc/NEWS
Oops, I forgot to document my change.
Victor Stinner [Fri, 18 Sep 2015 11:44:11 +0000 (13:44 +0200)]
odictobject.c: fix compiler warning
PyObject_Length() returns a P_ssize_t, not an int. Use a Py_ssize_t to avoid
overflow.
Victor Stinner [Fri, 18 Sep 2015 11:36:17 +0000 (13:36 +0200)]
Issue #25155: Add _PyTime_AsTimevalTime_t() function
On Windows, the tv_sec field of the timeval structure has the type C long,
whereas it has the type C time_t on all other platforms. A C long has a size of
32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not
enough to store an Epoch timestamp after the year 2038.
Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now():
convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t.
It allows to support dates after the year 2038 on Windows.
Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of
seconds when rounding the number of microseconds.
Victor Stinner [Fri, 18 Sep 2015 09:29:16 +0000 (11:29 +0200)]
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
Victor Stinner [Fri, 18 Sep 2015 07:11:57 +0000 (09:11 +0200)]
Issue #25160: Fix import_init() comments and messages
import_init() imports the "_imp" module, not the "imp" module.
Serhiy Storchaka [Fri, 18 Sep 2015 07:09:06 +0000 (10:09 +0300)]
Null merge
Serhiy Storchaka [Fri, 18 Sep 2015 07:07:18 +0000 (10:07 +0300)]
Issue #25108: Backported tests for traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
Serhiy Storchaka [Fri, 18 Sep 2015 07:04:47 +0000 (10:04 +0300)]
Issue #25108: Omitted internal frames in traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
Ethan Furman [Fri, 18 Sep 2015 05:21:36 +0000 (22:21 -0700)]
Issue24756: clarify usage of run_docstring_examples()
Ethan Furman [Fri, 18 Sep 2015 05:20:41 +0000 (22:20 -0700)]
Issue24756: clarify usage of run_docstring_examples()
Yury Selivanov [Wed, 16 Sep 2015 16:18:29 +0000 (12:18 -0400)]
whatsnew/3.5: Reword bytes*.hex message
Victor Stinner [Tue, 15 Sep 2015 20:41:52 +0000 (22:41 +0200)]
Issue #25134: Update asyncio doc for SSL on Windows
ProactorEventLoop now supports SSL.
Berker Peksag [Tue, 15 Sep 2015 17:06:28 +0000 (20:06 +0300)]
whatsnew/3.5: Add missing word "class"
Berker Peksag [Tue, 15 Sep 2015 16:59:26 +0000 (19:59 +0300)]
Issue #25127: Fix typo in concurrent.futures.rst
Reported by Jakub Wilk.
Berker Peksag [Tue, 15 Sep 2015 16:59:03 +0000 (19:59 +0300)]
Issue #25127: Fix typo in concurrent.futures.rst
Reported by Jakub Wilk.
Berker Peksag [Tue, 15 Sep 2015 16:43:04 +0000 (19:43 +0300)]
Issue #25105: Update susp-ignored.csv to avoid false positives
Victor Stinner [Tue, 15 Sep 2015 08:11:03 +0000 (10:11 +0200)]
Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows.
Add an unit test on os.waitpid()
Victor Stinner [Mon, 14 Sep 2015 22:23:08 +0000 (00:23 +0200)]
Merge 3.4 (test_gdb)
Victor Stinner [Mon, 14 Sep 2015 22:22:55 +0000 (00:22 +0200)]
test_gdb: fix regex to parse the GDB version
Fix the regex to support the version 7.10: minor version with two digits
Steve Dower [Sun, 13 Sep 2015 21:39:26 +0000 (14:39 -0700)]
Closes #25078: Document InstallAllUsers installer parameter default 0
Serhiy Storchaka [Sun, 13 Sep 2015 18:09:17 +0000 (21:09 +0300)]
Fixed a typo in the -b option.
Serhiy Storchaka [Sun, 13 Sep 2015 18:06:06 +0000 (21:06 +0300)]
Use :menuselection: in whatsnew/3.4.
Serhiy Storchaka [Sun, 13 Sep 2015 18:05:37 +0000 (21:05 +0300)]
Use :menuselection: in whatsnew/3.4.
Yury Selivanov [Sun, 13 Sep 2015 15:52:07 +0000 (11:52 -0400)]
whatsnew/3.5: Fix typo
Yury Selivanov [Sun, 13 Sep 2015 15:40:00 +0000 (11:40 -0400)]
whatsnew/3.5: One more edit
Yury Selivanov [Sun, 13 Sep 2015 15:21:25 +0000 (11:21 -0400)]
whatsnew/3.5: Edits
Patch by me and Elvis Pranskevichus
Larry Hastings [Sun, 13 Sep 2015 14:43:21 +0000 (15:43 +0100)]
Merge release engineering work from Python 3.5.0.
Larry Hastings [Sun, 13 Sep 2015 14:36:07 +0000 (15:36 +0100)]
Post-release updates for Python 3.5.0.
Yury Selivanov [Sun, 13 Sep 2015 12:30:58 +0000 (08:30 -0400)]
whatsnew/3.5: Fix typo (issue #25082)
Yury Selivanov [Sun, 13 Sep 2015 12:29:19 +0000 (08:29 -0400)]
whatsnew/3.5: Reorder stuff (issue #25082).
Serhiy Storchaka [Sun, 13 Sep 2015 09:07:54 +0000 (12:07 +0300)]
whatsnew/3.5: Fix formatting. More minor edits.
Yury Selivanov [Sun, 13 Sep 2015 05:57:57 +0000 (01:57 -0400)]
whatsnew/3.5: Delete prerelease warning note.
(we'll make a couple more commits tomorrow before release)
Yury Selivanov [Sun, 13 Sep 2015 05:40:36 +0000 (01:40 -0400)]
whatsnew/3.5: Fix formatting
Yury Selivanov [Sun, 13 Sep 2015 05:39:05 +0000 (01:39 -0400)]
whatsnew/3.5: Tweak asyncio module section
Yury Selivanov [Sun, 13 Sep 2015 05:10:19 +0000 (01:10 -0400)]
whatsnew/3.5: More examples
Yury Selivanov [Sun, 13 Sep 2015 04:29:02 +0000 (00:29 -0400)]
whatsnew/3.5: Cover asyncio changes relative to 3.4.0
Yury Selivanov [Sun, 13 Sep 2015 03:46:39 +0000 (23:46 -0400)]
whatsnew/3.5: Add some examples
Patch by Elvis Pranskevichus
Benjamin Peterson [Sun, 13 Sep 2015 00:21:16 +0000 (17:21 -0700)]
merge 3.4
Benjamin Peterson [Sun, 13 Sep 2015 00:20:47 +0000 (17:20 -0700)]
fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
Yury Selivanov [Sat, 12 Sep 2015 21:53:33 +0000 (17:53 -0400)]
whatsnew/3.5: Update editor's email addresses
Yury Selivanov [Sat, 12 Sep 2015 21:50:58 +0000 (17:50 -0400)]
whatsnew/3.5 More edits
Patch by Elvis Praskevichus. (+ issue #25070)
Yury Selivanov [Sat, 12 Sep 2015 19:52:04 +0000 (15:52 -0400)]
whatsnew/3.5: Edits
Patch by Elvis Pranskevichus
Larry Hastings [Sat, 12 Sep 2015 16:36:53 +0000 (17:36 +0100)]
Added tag v3.5.0 for changeset
374f501f4567
Larry Hastings [Sat, 12 Sep 2015 16:36:44 +0000 (17:36 +0100)]
Final touch-ups for the What's New In Python 3.5 document.
Kristján Valur Jónsson [Sat, 12 Sep 2015 16:34:33 +0000 (16:34 +0000)]
Issue #25021: Merge 3.4 to 3.5
Larry Hastings [Sat, 12 Sep 2015 16:28:39 +0000 (17:28 +0100)]
Version bump for Python 3.5.0 final.
Larry Hastings [Sat, 12 Sep 2015 16:24:02 +0000 (17:24 +0100)]
Regenerate pydoc topics, fix minor non-RST formatting in Misc/NEWS.
Larry Hastings [Sat, 12 Sep 2015 16:12:36 +0000 (17:12 +0100)]
Backported the What's New In 3.5 from 3.5.1 to 3.5.0 (final!).
Kristján Valur Jónsson [Sat, 12 Sep 2015 15:30:23 +0000 (15:30 +0000)]
Issue #25021: Merge from 3.3 to 3.4
Kristján Valur Jónsson [Sat, 12 Sep 2015 15:20:54 +0000 (15:20 +0000)]
Issue #25021: Correctly make sure that product.__setstate__ does not access
invalid memory.
Serhiy Storchaka [Sat, 12 Sep 2015 14:46:20 +0000 (17:46 +0300)]
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Serhiy Storchaka [Sat, 12 Sep 2015 14:45:25 +0000 (17:45 +0300)]
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Martin Panter [Sat, 12 Sep 2015 01:22:17 +0000 (01:22 +0000)]
Issue #16473: Merge codecs doc and test from 3.4 into 3.5
Martin Panter [Sat, 12 Sep 2015 00:34:28 +0000 (00:34 +0000)]
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.
Martin Panter [Fri, 11 Sep 2015 23:44:18 +0000 (23:44 +0000)]
socket.sendfile() is a method not a module
Martin Panter [Fri, 11 Sep 2015 23:43:42 +0000 (23:43 +0000)]
Dummy merge 3.4 into 3.5; socket.sendfile() exists in 3.5
Martin Panter [Fri, 11 Sep 2015 23:39:34 +0000 (23:39 +0000)]
Issue #25063: socket.sendfile() does not exist in 3.4
Remove notice that was backported in revision
50527a1b769c .
Martin Panter [Fri, 11 Sep 2015 23:19:10 +0000 (23:19 +0000)]
Issue #25043: Merge Bluetooth doc from 3.4 into 3.5
Martin Panter [Fri, 11 Sep 2015 23:14:57 +0000 (23:14 +0000)]
Issue #25043: Document BDADDR_ and HCI_ Bluetooth socket constants
Patch from Tim Tisdall.
Steve Dower [Fri, 11 Sep 2015 18:29:07 +0000 (11:29 -0700)]
Adds 3.5.0 header to Misc/NEWS
Steve Dower [Fri, 11 Sep 2015 18:27:45 +0000 (11:27 -0700)]
Merge from 3.5.0
Steve Dower [Fri, 11 Sep 2015 17:56:59 +0000 (10:56 -0700)]
Issue #25071: Windows installer should not require TargetDir parameter when installing quietly
Serhiy Storchaka [Fri, 11 Sep 2015 17:55:28 +0000 (20:55 +0300)]
whatsnew/3.5: Added missed author names.
Zachary Ware [Fri, 11 Sep 2015 15:52:36 +0000 (10:52 -0500)]
Merge with 3.4