]> granicus.if.org Git - python/log
python
8 years agoMerge 3.6
Victor Stinner [Thu, 5 Jan 2017 21:59:11 +0000 (22:59 +0100)]
Merge 3.6

8 years agoIssue #27961: Define HAVE_LONG_LONG as 1.
Victor Stinner [Thu, 5 Jan 2017 21:58:53 +0000 (22:58 +0100)]
Issue #27961: Define HAVE_LONG_LONG as 1.

Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas
it is defined as 1 in Python 3.5.

8 years agoMerge with 3.6
Terry Jan Reedy [Thu, 5 Jan 2017 04:18:01 +0000 (23:18 -0500)]
Merge with 3.6

8 years agoIssue #29162: Don't depend on 'from tkinter import *' importing sys.
Terry Jan Reedy [Thu, 5 Jan 2017 04:17:47 +0000 (23:17 -0500)]
Issue #29162: Don't depend on 'from tkinter import *' importing sys.
Fix error in format string.

8 years agoIssue #26851: Merge 3.6.
Xavier de Gaye [Wed, 4 Jan 2017 20:53:53 +0000 (21:53 +0100)]
Issue #26851: Merge 3.6.

8 years agoIssue #26851: Set Android compilation and link flags.
Xavier de Gaye [Wed, 4 Jan 2017 20:51:16 +0000 (21:51 +0100)]
Issue #26851: Set Android compilation and link flags.

8 years agoIssue #29156: Remove superfluous pow test.
Serhiy Storchaka [Wed, 4 Jan 2017 16:53:28 +0000 (18:53 +0200)]
Issue #29156: Remove superfluous pow test.
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.

8 years agoIssue #29156: Remove superfluous pow test.
Serhiy Storchaka [Wed, 4 Jan 2017 16:53:00 +0000 (18:53 +0200)]
Issue #29156: Remove superfluous pow test.
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.

8 years agoIssue #29156: Remove superfluous pow test.
Serhiy Storchaka [Wed, 4 Jan 2017 16:52:40 +0000 (18:52 +0200)]
Issue #29156: Remove superfluous pow test.
test_powlong is the same as test_powint.
Patch by Lukas Schwaighofer.

8 years agoMerge 3.6
Victor Stinner [Wed, 4 Jan 2017 11:02:30 +0000 (12:02 +0100)]
Merge 3.6

8 years agoIssue #24773: fix datetime.time constructor docstring
Victor Stinner [Wed, 4 Jan 2017 11:01:16 +0000 (12:01 +0100)]
Issue #24773: fix datetime.time constructor docstring

The default value of fold is zero, not True. Fix the docstring of the Python
implementation.

8 years agoMerge 3.6
Victor Stinner [Tue, 3 Jan 2017 22:47:39 +0000 (23:47 +0100)]
Merge 3.6

8 years agoIssue #29140: Fix hash(datetime.time)
Victor Stinner [Tue, 3 Jan 2017 22:47:12 +0000 (23:47 +0100)]
Issue #29140: Fix hash(datetime.time)

Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros.
Before, the hash function used a wrong value for microseconds if fold is set
(equal to 1).

8 years agoFixed possible reference leaks in the _json module.
Serhiy Storchaka [Tue, 3 Jan 2017 09:20:15 +0000 (11:20 +0200)]
Fixed possible reference leaks in the _json module.

8 years agoFixed possible reference leaks in the _json module.
Serhiy Storchaka [Tue, 3 Jan 2017 09:19:48 +0000 (11:19 +0200)]
Fixed possible reference leaks in the _json module.

8 years agoFixed possible reference leaks in the _json module.
Serhiy Storchaka [Tue, 3 Jan 2017 09:17:44 +0000 (11:17 +0200)]
Fixed possible reference leaks in the _json module.

8 years agoNull-merge from 3.6. Last one--phew!
Larry Hastings [Tue, 3 Jan 2017 02:40:11 +0000 (18:40 -0800)]
Null-merge from 3.6.  Last one--phew!

8 years agoNull-merge from 3.5.
Larry Hastings [Tue, 3 Jan 2017 02:39:09 +0000 (18:39 -0800)]
Null-merge from 3.5.

8 years agoForward-merge from 3.4.
Larry Hastings [Tue, 3 Jan 2017 02:36:52 +0000 (18:36 -0800)]
Forward-merge from 3.4.

8 years agoMerge Python 3.5.3rc1 release changes back into the main branch.
Larry Hastings [Tue, 3 Jan 2017 02:32:30 +0000 (18:32 -0800)]
Merge Python 3.5.3rc1 release changes back into the main branch.

8 years agoPost-release fixups for Python 3.5.3rc1.
Larry Hastings [Tue, 3 Jan 2017 02:31:25 +0000 (18:31 -0800)]
Post-release fixups for Python 3.5.3rc1.

8 years agoMerge Python 3.4.6rc1 changes back into main branch.
Larry Hastings [Tue, 3 Jan 2017 02:30:26 +0000 (18:30 -0800)]
Merge Python 3.4.6rc1 changes back into main branch.

8 years agoPost-release fixups for Python 3.4.6rc1.
Larry Hastings [Tue, 3 Jan 2017 02:29:26 +0000 (18:29 -0800)]
Post-release fixups for Python 3.4.6rc1.

8 years agoOptimize _PyFunction_FastCallDict() when kwargs is {}
Victor Stinner [Tue, 3 Jan 2017 01:01:42 +0000 (02:01 +0100)]
Optimize _PyFunction_FastCallDict() when kwargs is {}

Issue #28839: Optimize _PyFunction_FastCallDict() when kwargs is an empty
dictionary, avoid the creation of an useless empty tuple.

8 years agoIssue #28839: Optimize function_call()
Victor Stinner [Tue, 3 Jan 2017 00:58:17 +0000 (01:58 +0100)]
Issue #28839: Optimize function_call()

function_call() now simply calls _PyFunction_FastCallDict().

_PyFunction_FastCallDict() is more efficient: it contains fast paths for the
common case (optimized code object and no keyword argument).

8 years agoIssue #15812: Merge from 3.6
Berker Peksag [Tue, 3 Jan 2017 00:48:55 +0000 (03:48 +0300)]
Issue #15812: Merge from 3.6

8 years agoIssue #15812: Merge from 3.5
Berker Peksag [Tue, 3 Jan 2017 00:48:34 +0000 (03:48 +0300)]
Issue #15812: Merge from 3.5

8 years agoIssue #15812: Delete redundant max(start, 0)
Berker Peksag [Tue, 3 Jan 2017 00:48:04 +0000 (03:48 +0300)]
Issue #15812: Delete redundant max(start, 0)

Noticed by Serhiy Storchaka.

8 years agoIssue #29035: Simplify a regex in libregrtest
Victor Stinner [Tue, 3 Jan 2017 00:38:58 +0000 (01:38 +0100)]
Issue #29035: Simplify a regex in libregrtest

regrtest: simplify the regex used to match test names for the --fromfile
command line option.

8 years agoIssue #29012: Merge from 3.6
Berker Peksag [Tue, 3 Jan 2017 00:36:15 +0000 (03:36 +0300)]
Issue #29012: Merge from 3.6

8 years agoIssue #29012: Merge from 3.5
Berker Peksag [Tue, 3 Jan 2017 00:35:49 +0000 (03:35 +0300)]
Issue #29012: Merge from 3.5

8 years agoIssue #29012: Remove another outdated information
Berker Peksag [Tue, 3 Jan 2017 00:34:15 +0000 (03:34 +0300)]
Issue #29012: Remove another outdated information

Patch by Jim Fasarakis-Hilliard.

8 years agomerge 3.6
Ned Deily [Mon, 2 Jan 2017 07:51:59 +0000 (02:51 -0500)]
merge 3.6

8 years agomerge 3.5
Ned Deily [Mon, 2 Jan 2017 07:50:33 +0000 (02:50 -0500)]
merge 3.5

8 years agomerge 3.4
Ned Deily [Mon, 2 Jan 2017 07:48:26 +0000 (02:48 -0500)]
merge 3.4

8 years agomerge 3.3
Ned Deily [Mon, 2 Jan 2017 07:47:35 +0000 (02:47 -0500)]
merge 3.3

8 years agoring IDLE.app into 2017, too
Ned Deily [Mon, 2 Jan 2017 07:46:09 +0000 (02:46 -0500)]
ring IDLE.app into 2017, too

8 years agoAdded tag v3.5.3rc1 for changeset de530d7f21c0
Larry Hastings [Mon, 2 Jan 2017 06:13:39 +0000 (22:13 -0800)]
Added tag v3.5.3rc1 for changeset de530d7f21c0

8 years agoAdded tag v3.4.6rc1 for changeset e199a272ccda
Larry Hastings [Mon, 2 Jan 2017 06:13:29 +0000 (22:13 -0800)]
Added tag v3.4.6rc1 for changeset e199a272ccda

8 years agoVersion bump for 3.5.3rc1. v3.5.3rc1
Larry Hastings [Mon, 2 Jan 2017 06:12:52 +0000 (22:12 -0800)]
Version bump for 3.5.3rc1.

8 years agoVersion bump for 3.4.6rc1. v3.4.6rc1
Larry Hastings [Mon, 2 Jan 2017 06:12:36 +0000 (22:12 -0800)]
Version bump for 3.4.6rc1.

8 years agoRegenerated pydoc topics for 3.5.3rc1.
Larry Hastings [Mon, 2 Jan 2017 06:09:56 +0000 (22:09 -0800)]
Regenerated pydoc topics for 3.5.3rc1.

8 years agoRegenerated pydoc topics for 3.4.6rc1. (Also fixed doc error, improved build.)
Larry Hastings [Mon, 2 Jan 2017 06:09:46 +0000 (22:09 -0800)]
Regenerated pydoc topics for 3.4.6rc1.  (Also fixed doc error, improved build.)

8 years agoNull merge from 3.6.
Larry Hastings [Mon, 2 Jan 2017 05:51:09 +0000 (21:51 -0800)]
Null merge from 3.6.

8 years agoNull merge from 3.5.
Larry Hastings [Mon, 2 Jan 2017 05:50:55 +0000 (21:50 -0800)]
Null merge from 3.5.

8 years agoNull merge from 3.4.
Larry Hastings [Mon, 2 Jan 2017 05:50:33 +0000 (21:50 -0800)]
Null merge from 3.4.

8 years agoFix test failure so it's no longer dependent on example.com.
Larry Hastings [Mon, 2 Jan 2017 05:49:09 +0000 (21:49 -0800)]
Fix test failure so it's no longer dependent on example.com.

8 years agomerge heads
Benjamin Peterson [Mon, 2 Jan 2017 04:30:49 +0000 (22:30 -0600)]
merge heads

8 years agomerge 3.6 (#29057)
Benjamin Peterson [Mon, 2 Jan 2017 04:30:35 +0000 (22:30 -0600)]
merge 3.6 (#29057)

8 years agomerge 3.5 (#29057)
Benjamin Peterson [Mon, 2 Jan 2017 04:30:26 +0000 (22:30 -0600)]
merge 3.5 (#29057)

8 years agoonly include sys/random.h if it seems like it might have something useful (#29057)
Benjamin Peterson [Mon, 2 Jan 2017 04:29:36 +0000 (22:29 -0600)]
only include sys/random.h if it seems like it might have something useful (#29057)

8 years agoIssue #24932: Use proper command line parsing in _testembed
Steve Dower [Mon, 2 Jan 2017 04:25:03 +0000 (20:25 -0800)]
Issue #24932: Use proper command line parsing in _testembed

8 years agomerge 3.6
Benjamin Peterson [Mon, 2 Jan 2017 04:09:34 +0000 (22:09 -0600)]
merge 3.6

8 years agomerge heads
Benjamin Peterson [Mon, 2 Jan 2017 04:09:30 +0000 (22:09 -0600)]
merge heads

8 years agomerge 3.5
Benjamin Peterson [Mon, 2 Jan 2017 04:09:23 +0000 (22:09 -0600)]
merge 3.5

8 years agomerge heads
Benjamin Peterson [Mon, 2 Jan 2017 04:09:18 +0000 (22:09 -0600)]
merge heads

8 years agomerge heads
Benjamin Peterson [Mon, 2 Jan 2017 04:09:07 +0000 (22:09 -0600)]
merge heads

8 years agomerge 3.6
Benjamin Peterson [Mon, 2 Jan 2017 04:08:51 +0000 (22:08 -0600)]
merge 3.6

8 years agomerge 3.5
Benjamin Peterson [Mon, 2 Jan 2017 04:08:44 +0000 (22:08 -0600)]
merge 3.5

8 years agomerge 3.4
Benjamin Peterson [Mon, 2 Jan 2017 04:08:33 +0000 (22:08 -0600)]
merge 3.4

8 years agomerge 3.3
Benjamin Peterson [Mon, 2 Jan 2017 04:07:37 +0000 (22:07 -0600)]
merge 3.3

8 years agoring in 2017 for Python
Benjamin Peterson [Mon, 2 Jan 2017 04:04:13 +0000 (22:04 -0600)]
ring in 2017 for Python

8 years agoIssue #15812: Merge from 3.6
Berker Peksag [Mon, 2 Jan 2017 04:00:29 +0000 (07:00 +0300)]
Issue #15812: Merge from 3.6

8 years agoIssue #15812: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 03:59:12 +0000 (06:59 +0300)]
Issue #15812: Merge from 3.5

8 years agoIssue #15812: inspect.getframeinfo() now correctly shows the first line of a context
Berker Peksag [Mon, 2 Jan 2017 03:57:43 +0000 (06:57 +0300)]
Issue #15812: inspect.getframeinfo() now correctly shows the first line of a context

Patch by Sam Breese.

8 years agoIssue #28985: Update authorizer constants in sqlite3 module
Berker Peksag [Mon, 2 Jan 2017 03:38:10 +0000 (06:38 +0300)]
Issue #28985: Update authorizer constants in sqlite3 module

Dates and version information from the changelog:

* 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE
* 2006-10-09 (3.3.8) added SQLITE_FUNCTION
* 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT
* 2014-02-03 (3.8.3) added SQLITE_RECURSIVE

Patch by Dingyuan Wang.

8 years agoIssue #29013: Merge from 3.6
Berker Peksag [Mon, 2 Jan 2017 03:14:39 +0000 (06:14 +0300)]
Issue #29013: Merge from 3.6

8 years agoIssue #29013: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 03:14:12 +0000 (06:14 +0300)]
Issue #29013: Merge from 3.5

8 years agoIssue #29013: Fix allowZip64 documentation
Berker Peksag [Mon, 2 Jan 2017 03:13:42 +0000 (06:13 +0300)]
Issue #29013: Fix allowZip64 documentation

Zip files can be larger than 4 GiB if allowZip64
is true (default since Python 3.4)

8 years agoIssue #29012: Merge from 3.6
Berker Peksag [Mon, 2 Jan 2017 03:01:27 +0000 (06:01 +0300)]
Issue #29012: Merge from 3.6

8 years agoIssue #29012: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 03:01:07 +0000 (06:01 +0300)]
Issue #29012: Merge from 3.5

8 years agoIssue #29012: Remove outdated information about __bases__
Berker Peksag [Mon, 2 Jan 2017 03:00:35 +0000 (06:00 +0300)]
Issue #29012: Remove outdated information about __bases__

Patch by Jim Fasarakis-Hilliard.

8 years agoIssue #29129: Merge from 3.6
Berker Peksag [Mon, 2 Jan 2017 02:51:31 +0000 (05:51 +0300)]
Issue #29129: Merge from 3.6

8 years agoIssue #29129: Fix typo in "Using auto" section
Berker Peksag [Mon, 2 Jan 2017 02:51:04 +0000 (05:51 +0300)]
Issue #29129: Fix typo in "Using auto" section

8 years agoIssue #29024: Merge from 3.6
Berker Peksag [Mon, 2 Jan 2017 02:45:37 +0000 (05:45 +0300)]
Issue #29024: Merge from 3.6

8 years agoIssue #29024: Merge from 3.5
Berker Peksag [Mon, 2 Jan 2017 02:45:16 +0000 (05:45 +0300)]
Issue #29024: Merge from 3.5

8 years agoIssue #29024: Add Kivy entry to GUI FAQ
Berker Peksag [Mon, 2 Jan 2017 02:44:49 +0000 (05:44 +0300)]
Issue #29024: Add Kivy entry to GUI FAQ

Patch by inclement.

8 years agoMerge with 3.6
Terry Jan Reedy [Mon, 2 Jan 2017 02:21:54 +0000 (21:21 -0500)]
Merge with 3.6

8 years agoIssue #29071: Use local flags for IDLE colorizer string prefix matcher.
Terry Jan Reedy [Mon, 2 Jan 2017 02:21:39 +0000 (21:21 -0500)]
Issue #29071: Use local flags for IDLE colorizer string prefix matcher.
Revised re by Serhiy Storchaka.

8 years agoIssue #29094: Offsets in a ZIP file created with extern file object and modes
Serhiy Storchaka [Sun, 1 Jan 2017 23:43:02 +0000 (01:43 +0200)]
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.

8 years agoIssue #29094: Offsets in a ZIP file created with extern file object and modes
Serhiy Storchaka [Sun, 1 Jan 2017 17:05:29 +0000 (19:05 +0200)]
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.

8 years agoIssue #29094: Offsets in a ZIP file created with extern file object and modes
Serhiy Storchaka [Sun, 1 Jan 2017 17:00:30 +0000 (19:00 +0200)]
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" and "x" now are relative to the start of the file.

8 years agoIssue #29123: Merge from 3.6
Berker Peksag [Sat, 31 Dec 2016 19:49:56 +0000 (22:49 +0300)]
Issue #29123: Merge from 3.6

8 years agoIssue #29123: Merge from 3.5
Berker Peksag [Sat, 31 Dec 2016 19:49:31 +0000 (22:49 +0300)]
Issue #29123: Merge from 3.5

8 years agoIssue #29123: Make CheckSqlTimestamp more robust
Berker Peksag [Sat, 31 Dec 2016 19:48:55 +0000 (22:48 +0300)]
Issue #29123: Make CheckSqlTimestamp more robust

8 years agomerge
Raymond Hettinger [Sat, 31 Dec 2016 19:08:19 +0000 (12:08 -0700)]
merge

8 years agoIssue #29119: Merge in ACK from 3.5 branch
Raymond Hettinger [Sat, 31 Dec 2016 19:08:00 +0000 (12:08 -0700)]
Issue #29119:  Merge in ACK from 3.5 branch

8 years agomerge
Raymond Hettinger [Sat, 31 Dec 2016 19:03:16 +0000 (12:03 -0700)]
merge

8 years agomerge
Raymond Hettinger [Sat, 31 Dec 2016 19:02:42 +0000 (12:02 -0700)]
merge

8 years agoIssue #29119: Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea.
Raymond Hettinger [Sat, 31 Dec 2016 19:01:59 +0000 (12:01 -0700)]
Issue #29119: Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea.

8 years agoIssue #26267: Merge from 3.6
Berker Peksag [Sat, 31 Dec 2016 17:09:14 +0000 (20:09 +0300)]
Issue #26267: Merge from 3.6

8 years agoIssue #26267: Merge from 3.5
Berker Peksag [Sat, 31 Dec 2016 17:08:53 +0000 (20:08 +0300)]
Issue #26267: Merge from 3.5

8 years agoIssue #26267: Improve uuid.UUID documentation
Berker Peksag [Sat, 31 Dec 2016 17:08:16 +0000 (20:08 +0300)]
Issue #26267: Improve uuid.UUID documentation

* Document how comparison of UUID objects work
* Document str(uuid) returns the braceless standard form
* Add a test for comparison of a UUID object with a non-UUID object

Patch by Ammar Askar.

8 years agoCloses #28524: added default level for logging.disable().
Vinay Sajip [Sat, 31 Dec 2016 11:40:11 +0000 (11:40 +0000)]
Closes #28524: added default level for logging.disable().

8 years agoMerged documentation update from 3.6.
Vinay Sajip [Sat, 31 Dec 2016 11:07:35 +0000 (11:07 +0000)]
Merged documentation update from 3.6.

8 years agoCloses #29105: Updated RotatingFileHandler documentation.
Vinay Sajip [Sat, 31 Dec 2016 11:06:57 +0000 (11:06 +0000)]
Closes #29105: Updated RotatingFileHandler documentation.

8 years agoMerge 3.6.
Stefan Krah [Fri, 30 Dec 2016 11:24:59 +0000 (12:24 +0100)]
Merge 3.6.

8 years agoMerge 3.5.
Stefan Krah [Fri, 30 Dec 2016 11:24:23 +0000 (12:24 +0100)]
Merge 3.5.

8 years agoIssue #29111: Fix memoryview signature.
Stefan Krah [Fri, 30 Dec 2016 11:23:35 +0000 (12:23 +0100)]
Issue #29111: Fix memoryview signature.

8 years agomerge
Raymond Hettinger [Fri, 30 Dec 2016 06:57:31 +0000 (23:57 -0700)]
merge