]> granicus.if.org Git - python/log
python
8 years agomerge 3.5 (closes #27811)
Benjamin Peterson [Mon, 5 Sep 2016 17:16:31 +0000 (10:16 -0700)]
merge 3.5 (closes #27811)

8 years agodo not allow _PyGen_Finalize to fail (closes #27811)
Benjamin Peterson [Mon, 5 Sep 2016 17:14:54 +0000 (10:14 -0700)]
do not allow _PyGen_Finalize to fail (closes #27811)

Patch from Armin Rigo.

8 years agoMerge with 3.5
Terry Jan Reedy [Mon, 5 Sep 2016 04:01:47 +0000 (00:01 -0400)]
Merge with 3.5

8 years agoIssue #27918# test.resource.is_gui_available no longer flashes tk window.
Terry Jan Reedy [Mon, 5 Sep 2016 04:01:34 +0000 (00:01 -0400)]
Issue #27918# test.resource.is_gui_available no longer flashes tk window.
Also, don't run it if 'gui' is not requested.  Patch by Xiang Zhang.

8 years agoissue23591: more docs; slight change to repr
Ethan Furman [Sun, 4 Sep 2016 18:39:01 +0000 (11:39 -0700)]
issue23591: more docs; slight change to repr

8 years agoMerge
Raymond Hettinger [Sun, 4 Sep 2016 18:29:13 +0000 (11:29 -0700)]
Merge

8 years agoIssue 27936: Update doc for round() to indicate that None is an allowable argument.
Raymond Hettinger [Sun, 4 Sep 2016 18:28:56 +0000 (11:28 -0700)]
Issue 27936: Update doc for round() to indicate that None is an allowable argument.

8 years agoMerge
Raymond Hettinger [Sun, 4 Sep 2016 18:17:48 +0000 (11:17 -0700)]
Merge

8 years agoImprove docs for random.seed()
Raymond Hettinger [Sun, 4 Sep 2016 18:17:28 +0000 (11:17 -0700)]
Improve docs for random.seed()

8 years agoAdd Francisco Couzo to Misc/ACKS (for issue #27427 patch).
Mark Dickinson [Sun, 4 Sep 2016 11:31:47 +0000 (12:31 +0100)]
Add Francisco Couzo to Misc/ACKS (for issue #27427 patch).

8 years agoIssue #27427: Additional tests for the math module. Thanks Francisco Couzo.
Mark Dickinson [Sun, 4 Sep 2016 11:29:14 +0000 (12:29 +0100)]
Issue #27427: Additional tests for the math module. Thanks Francisco Couzo.

8 years agoIssue #27953: skip failing math and cmath tests for tan on OS X 10.4.
Mark Dickinson [Sun, 4 Sep 2016 08:58:51 +0000 (09:58 +0100)]
Issue #27953: skip failing math and cmath tests for tan on OS X 10.4.

8 years agoIssue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen.
Mark Dickinson [Sat, 3 Sep 2016 18:30:22 +0000 (19:30 +0100)]
Issue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen.

8 years agoIssue 27921: Remove backslash from another f-string. I'll revert this change before...
Eric V. Smith [Sat, 3 Sep 2016 16:33:38 +0000 (12:33 -0400)]
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped.

8 years agoIssue #11734: Add support for IEEE 754 half-precision floats to the struct module...
Mark Dickinson [Sat, 3 Sep 2016 16:21:29 +0000 (17:21 +0100)]
Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.

8 years agoCloses #27935: returned numeric value for 'FATAL' logging level.
Vinay Sajip [Sat, 3 Sep 2016 16:04:36 +0000 (17:04 +0100)]
Closes #27935: returned numeric value for 'FATAL' logging level.

8 years agoMerge upstream change.
Vinay Sajip [Sat, 3 Sep 2016 15:55:35 +0000 (16:55 +0100)]
Merge upstream change.

8 years agoCloses #27937: Merge fix from 3.5.
Vinay Sajip [Sat, 3 Sep 2016 15:54:41 +0000 (16:54 +0100)]
Closes #27937: Merge fix from 3.5.

8 years agoFixes #27937: optimise code used in all logging calls.
Vinay Sajip [Sat, 3 Sep 2016 15:50:09 +0000 (16:50 +0100)]
Fixes #27937: optimise code used in all logging calls.

8 years agoIssue 27921: Remove backslash from another f-string. I'll revert this change before...
Eric V. Smith [Sat, 3 Sep 2016 15:01:53 +0000 (11:01 -0400)]
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2.

8 years agoFixes #27937: optimise code used in all logging calls.
Vinay Sajip [Sat, 3 Sep 2016 14:56:07 +0000 (15:56 +0100)]
Fixes #27937: optimise code used in all logging calls.

8 years agoIssue 27921: Remove backslash from another f-string.
Eric V. Smith [Sat, 3 Sep 2016 14:43:20 +0000 (10:43 -0400)]
Issue 27921: Remove backslash from another f-string.

8 years agoCloses issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary...
Eric V. Smith [Sat, 3 Sep 2016 13:18:34 +0000 (09:18 -0400)]
Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.

8 years agoMerge
Raymond Hettinger [Sat, 3 Sep 2016 08:55:39 +0000 (01:55 -0700)]
Merge

8 years agoIssue 27936: Fix inconsistent round() behavior between float and int
Raymond Hettinger [Sat, 3 Sep 2016 08:55:11 +0000 (01:55 -0700)]
Issue 27936: Fix inconsistent round() behavior between float and int

8 years agoissue23591: bool(empty_flags) == False; more docs & tests
Ethan Furman [Fri, 2 Sep 2016 23:32:32 +0000 (16:32 -0700)]
issue23591: bool(empty_flags) == False; more docs & tests

8 years agoissue23591: optimize _high_bit()
Ethan Furman [Fri, 2 Sep 2016 22:50:21 +0000 (15:50 -0700)]
issue23591: optimize _high_bit()

8 years agoPEP 7 style for if/else in C
Victor Stinner [Fri, 2 Sep 2016 10:12:23 +0000 (12:12 +0200)]
PEP 7 style for if/else in C

Add also a newline for readability in normalize_encoding().

8 years agoissue23591: add docs; code cleanup; more tests
Ethan Furman [Fri, 2 Sep 2016 06:55:19 +0000 (23:55 -0700)]
issue23591: add docs; code cleanup; more tests

8 years agoIssue #12885: Merge with 3.5
Jason R. Coombs [Fri, 2 Sep 2016 03:29:28 +0000 (23:29 -0400)]
Issue #12885: Merge with 3.5

8 years agoIssue #12885: Merge with 3.4, retaining commits reverted there.
Jason R. Coombs [Fri, 2 Sep 2016 03:29:04 +0000 (23:29 -0400)]
Issue #12885: Merge with 3.4, retaining commits reverted there.

8 years agoIssue #12885: Revert commits in 3.4 branch which is security-only fixes.
Jason R. Coombs [Fri, 2 Sep 2016 03:27:45 +0000 (23:27 -0400)]
Issue #12885: Revert commits in 3.4 branch which is security-only fixes.

8 years agoIssue #12885: Merge with 3.5
Jason R. Coombs [Fri, 2 Sep 2016 02:10:09 +0000 (22:10 -0400)]
Issue #12885: Merge with 3.5

8 years agoIssue #12885: Merge 3.4
Jason R. Coombs [Fri, 2 Sep 2016 02:09:06 +0000 (22:09 -0400)]
Issue #12885: Merge 3.4

8 years agoIssue #12885: Correct issue reference in NEWS
Jason R. Coombs [Fri, 2 Sep 2016 02:08:25 +0000 (22:08 -0400)]
Issue #12885: Correct issue reference in NEWS

8 years agoMerge backout for test suite fix
Jason R. Coombs [Fri, 2 Sep 2016 02:00:03 +0000 (22:00 -0400)]
Merge backout for test suite fix

8 years agoMerge backout for test suite fix
Jason R. Coombs [Fri, 2 Sep 2016 01:59:46 +0000 (21:59 -0400)]
Merge backout for test suite fix

8 years agoBacked out changeset cc86e9e102e8
Jason R. Coombs [Fri, 2 Sep 2016 01:55:22 +0000 (21:55 -0400)]
Backed out changeset cc86e9e102e8

8 years agoIssue #12885: Merge with 3.5
Jason R. Coombs [Fri, 2 Sep 2016 01:16:32 +0000 (21:16 -0400)]
Issue #12885: Merge with 3.5

8 years agoIssue #12285: Merge with 3.4
Jason R. Coombs [Fri, 2 Sep 2016 01:15:04 +0000 (21:15 -0400)]
Issue #12285: Merge with 3.4

8 years agoIssue #12285: Update NEWS
Jason R. Coombs [Fri, 2 Sep 2016 01:12:17 +0000 (21:12 -0400)]
Issue #12285: Update NEWS

8 years ago- Issue #27917: Set platform triplets for Android builds.
doko@ubuntu.com [Thu, 1 Sep 2016 20:05:20 +0000 (22:05 +0200)]
- Issue #27917: Set platform triplets for Android builds.

8 years agoIssue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Serhiy Storchaka [Thu, 1 Sep 2016 19:21:05 +0000 (22:21 +0300)]
Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.

8 years agoIssue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Serhiy Storchaka [Thu, 1 Sep 2016 19:18:03 +0000 (22:18 +0300)]
Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.

8 years agoIssue #27919: Deprecate extra_path option in distutils.
Jason R. Coombs [Thu, 1 Sep 2016 17:55:33 +0000 (13:55 -0400)]
Issue #27919: Deprecate extra_path option in distutils.

8 years agoMinor beautification (turn nested-if into a conjunction).
Raymond Hettinger [Thu, 1 Sep 2016 06:00:32 +0000 (23:00 -0700)]
Minor beautification (turn nested-if into a conjunction).

8 years agoIssue #27922: IDLE tests no longer flash tk widgets (Merge 3.5).
Terry Jan Reedy [Thu, 1 Sep 2016 01:09:02 +0000 (21:09 -0400)]
Issue #27922: IDLE tests no longer flash tk widgets (Merge 3.5).

8 years agoIssue #27922: IDLE tests no longer flash tk widgets.
Terry Jan Reedy [Thu, 1 Sep 2016 01:03:16 +0000 (21:03 -0400)]
Issue #27922: IDLE tests no longer flash tk widgets.

8 years agoImprove idlelib.textview comments.
Terry Jan Reedy [Wed, 31 Aug 2016 23:45:39 +0000 (19:45 -0400)]
Improve idlelib.textview comments.

8 years agoIssue #27891: Tweak new idlelib README entry.
Terry Jan Reedy [Wed, 31 Aug 2016 23:37:28 +0000 (19:37 -0400)]
Issue #27891: Tweak new idlelib README entry.

8 years agoMerge
Raymond Hettinger [Wed, 31 Aug 2016 22:01:28 +0000 (15:01 -0700)]
Merge

8 years agoIssue #27706: Fix regression in random.seed(somestr, version=1)
Raymond Hettinger [Wed, 31 Aug 2016 22:01:08 +0000 (15:01 -0700)]
Issue #27706: Fix regression in random.seed(somestr, version=1)

8 years agoMerge asyncio from 3.5
Guido van Rossum [Wed, 31 Aug 2016 16:47:08 +0000 (09:47 -0700)]
Merge asyncio from 3.5

8 years agoFix ordering issues in UNIX read/write pipe transport constructors.
Guido van Rossum [Wed, 31 Aug 2016 16:42:38 +0000 (09:42 -0700)]
Fix ordering issues in UNIX read/write pipe transport constructors.

Upstream https://github.com/python/asyncio/pull/408 by Ron Frederick.

8 years agoDon't select for read on character devices in _UnixWritePipeTransport.
Guido van Rossum [Wed, 31 Aug 2016 16:40:18 +0000 (09:40 -0700)]
Don't select for read on character devices in _UnixWritePipeTransport.

Upstream https://github.com/python/asyncio/pull/374 by Ron Frederick.

8 years agoIssue #27907: variable rename. (Ville Skyttä) (Merge 3.5->3.6)
Guido van Rossum [Wed, 31 Aug 2016 16:09:04 +0000 (09:09 -0700)]
Issue #27907: variable rename. (Ville Skyttä) (Merge 3.5->3.6)

8 years agoIssue #27907: variable rename. (Ville Skyttä)
Guido van Rossum [Wed, 31 Aug 2016 16:08:41 +0000 (09:08 -0700)]
Issue #27907: variable rename. (Ville Skyttä)

8 years agoMerge
Raymond Hettinger [Wed, 31 Aug 2016 15:44:26 +0000 (08:44 -0700)]
Merge

8 years agoIssue #27909: Fix INCREF for possible NULL value
Raymond Hettinger [Wed, 31 Aug 2016 15:44:11 +0000 (08:44 -0700)]
Issue #27909: Fix INCREF for possible NULL value

8 years ago#27904: fix distutils tests.
R David Murray [Wed, 31 Aug 2016 15:39:35 +0000 (11:39 -0400)]
#27904: fix distutils tests.

Patch by Ville Skyttä.

8 years agoCloses #27904: Improved logging statements to defer formatting until needed.
Vinay Sajip [Wed, 31 Aug 2016 07:22:29 +0000 (08:22 +0100)]
Closes #27904: Improved logging statements to defer formatting until needed.

8 years agoissue23591: add Flags, IntFlags, and tests
Ethan Furman [Wed, 31 Aug 2016 07:12:15 +0000 (00:12 -0700)]
issue23591: add Flags, IntFlags, and tests

8 years agoIssue #27891: Consistently group and sort imports within idlelib modules.
Terry Jan Reedy [Wed, 31 Aug 2016 04:50:55 +0000 (00:50 -0400)]
Issue #27891: Consistently group and sort imports within idlelib modules.

8 years agoMerge #27893: arg name and bytes references in email.parser docs.
R David Murray [Wed, 31 Aug 2016 01:17:25 +0000 (21:17 -0400)]
Merge #27893: arg name and bytes references in email.parser docs.

8 years ago#27893: arg name and bytes references in email.parser docs.
R David Murray [Wed, 31 Aug 2016 01:17:02 +0000 (21:17 -0400)]
#27893: arg name and bytes references in email.parser docs.

Perhaps the BytesParser 'text' argument should really be bytes, but
it hasn't been, it has been text, so for backward compatibility
and for consistency with the regular Parser class, I'm keeping it
as 'text'.

8 years agoIssue #17642: add larger font sizes for classroom projection.
Terry Jan Reedy [Wed, 31 Aug 2016 00:19:13 +0000 (20:19 -0400)]
Issue #17642: add larger font sizes for classroom projection.

8 years agoMerge with 3.5
Terry Jan Reedy [Tue, 30 Aug 2016 20:58:27 +0000 (16:58 -0400)]
Merge with 3.5

8 years ago? Working Directory ?
Terry Jan Reedy [Tue, 30 Aug 2016 20:58:01 +0000 (16:58 -0400)]
? Working Directory ?

8 years agoMerge
Raymond Hettinger [Tue, 30 Aug 2016 20:46:29 +0000 (13:46 -0700)]
Merge

8 years agoIssue #28894: Fix to_addrs refs in smtplib docs
Raymond Hettinger [Tue, 30 Aug 2016 20:43:53 +0000 (13:43 -0700)]
Issue #28894: Fix to_addrs refs in smtplib docs

8 years agoFix typos
Raymond Hettinger [Tue, 30 Aug 2016 20:25:06 +0000 (13:25 -0700)]
Fix typos

8 years agoIssue #27895: Strengthen the dict reader tests.
Raymond Hettinger [Tue, 30 Aug 2016 19:57:26 +0000 (12:57 -0700)]
Issue #27895: Strengthen the dict reader tests.

8 years agoIssue #27842: The csv.DictReader now returns rows of type OrderedDict.
Raymond Hettinger [Tue, 30 Aug 2016 19:35:50 +0000 (12:35 -0700)]
Issue #27842: The csv.DictReader now returns rows of type OrderedDict.

8 years agoIssue #27895: Spelling fixes (Contributed by Ville Skyttä).
Raymond Hettinger [Tue, 30 Aug 2016 17:47:49 +0000 (10:47 -0700)]
Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).

8 years agoMerge with 3.5
Zachary Ware [Tue, 30 Aug 2016 15:03:32 +0000 (10:03 -0500)]
Merge with 3.5

8 years agoSkip test_tools.test_i18n when pygettext.py is missing
Zachary Ware [Tue, 30 Aug 2016 15:00:26 +0000 (10:00 -0500)]
Skip test_tools.test_i18n when pygettext.py is missing

8 years agoMerge with 3.5
Zachary Ware [Tue, 30 Aug 2016 07:12:43 +0000 (02:12 -0500)]
Merge with 3.5

8 years agoInclude test/test_warnings/data as well
Zachary Ware [Tue, 30 Aug 2016 07:12:27 +0000 (02:12 -0500)]
Include test/test_warnings/data as well

8 years agoMerge with 3.5
Zachary Ware [Tue, 30 Aug 2016 06:41:35 +0000 (01:41 -0500)]
Merge with 3.5

8 years agoInclude test_tools and test_warnings in install
Zachary Ware [Tue, 30 Aug 2016 05:28:40 +0000 (00:28 -0500)]
Include test_tools and test_warnings in install

test_tools is pretty much useless unless somebody copies the scripts
it tests into the proper location, but we might as well install it
anyway to make sure it skips properly.  test_warnings just didn't get
included when it was turned into a package in 94966dfd3bd3.

8 years agoMerge with 3.5
Zachary Ware [Tue, 30 Aug 2016 05:23:37 +0000 (00:23 -0500)]
Merge with 3.5

8 years agoFix typo
Zachary Ware [Tue, 30 Aug 2016 05:16:13 +0000 (00:16 -0500)]
Fix typo

8 years agoMerge heads
Mark Dickinson [Mon, 29 Aug 2016 18:27:43 +0000 (19:27 +0100)]
Merge heads

8 years agoIssue #27870: A left shift of zero by a large integer no longer attempts to allocate...
Mark Dickinson [Mon, 29 Aug 2016 18:27:06 +0000 (19:27 +0100)]
Issue #27870: A left shift of zero by a large integer no longer attempts to allocate large amounts of memory.

8 years ago - Issue #23968, keep platform_triplet and multiarch macros in sync
doko@ubuntu.com [Mon, 29 Aug 2016 18:03:25 +0000 (20:03 +0200)]
 - Issue #23968, keep platform_triplet and multiarch macros in sync

8 years agoIssue #25402: in int-to-decimal-string conversion, reduce intermediate storage requir...
Mark Dickinson [Mon, 29 Aug 2016 16:26:43 +0000 (17:26 +0100)]
Issue #25402: in int-to-decimal-string conversion, reduce intermediate storage requirements and relax restriction on converting large integers. Patch by Serhiy Storchaka.

8 years agoIssue #27214: Fix potential bug and remove useless optimization in long_invert. Thank...
Mark Dickinson [Mon, 29 Aug 2016 15:40:29 +0000 (16:40 +0100)]
Issue #27214: Fix potential bug and remove useless optimization in long_invert. Thanks Oren Milman.

8 years agoMerge heads
Serhiy Storchaka [Mon, 29 Aug 2016 12:59:48 +0000 (15:59 +0300)]
Merge heads

8 years agoIssue #27818: Speed up parsing width and precision in format() strings for
Serhiy Storchaka [Mon, 29 Aug 2016 12:57:26 +0000 (15:57 +0300)]
Issue #27818: Speed up parsing width and precision in format() strings for
numbers.  Patch by Stefan Behnel.

8 years agoIssue 23229: add cmath.inf, cmath.nan, cmath.infj and cmath.nanj.
Mark Dickinson [Mon, 29 Aug 2016 12:56:58 +0000 (13:56 +0100)]
Issue 23229: add cmath.inf, cmath.nan, cmath.infj and cmath.nanj.

8 years agoIssue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
Serhiy Storchaka [Mon, 29 Aug 2016 12:11:52 +0000 (15:11 +0300)]
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor.  Patch by Xiang Zhang.

8 years agoIssue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
Serhiy Storchaka [Mon, 29 Aug 2016 11:29:55 +0000 (14:29 +0300)]
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor.  Patch by Xiang Zhang.

8 years agoIssue #26027: Fix test_path_t_converter on Windows
Berker Peksag [Sat, 27 Aug 2016 18:26:35 +0000 (21:26 +0300)]
Issue #26027: Fix test_path_t_converter on Windows

8 years agoDon't test for path-like bytes paths on Windows
Brett Cannon [Sat, 27 Aug 2016 16:42:40 +0000 (09:42 -0700)]
Don't test for path-like bytes paths on Windows

8 years agoIssue #27506: Support bytes/bytearray.translate() delete as keyword argument
Martin Panter [Sat, 27 Aug 2016 08:35:02 +0000 (08:35 +0000)]
Issue #27506: Support bytes/bytearray.translate() delete as keyword argument

Patch by Xiang Zhang.

8 years agoIssue #25825: Merge $(LIBPL) fix from 3.5
Martin Panter [Sat, 27 Aug 2016 04:07:54 +0000 (04:07 +0000)]
Issue #25825: Merge $(LIBPL) fix from 3.5

8 years agoIssue #19884: Merge Readline updates from 3.5
Martin Panter [Sat, 27 Aug 2016 04:03:26 +0000 (04:03 +0000)]
Issue #19884: Merge Readline updates from 3.5

8 years agoIssue #25825: Fix references to $(LIBPL) installation path on AIX
Martin Panter [Sat, 27 Aug 2016 04:00:19 +0000 (04:00 +0000)]
Issue #25825: Fix references to $(LIBPL) installation path on AIX

In Subversion r86731, the path was changed from $(BINLIBDEST)/config to
$(LIBDEST)/config-$(LDVERSION).

8 years agoIssue #19884: Avoid spurious output on OS X with Gnu Readline
Martin Panter [Sat, 27 Aug 2016 03:23:11 +0000 (03:23 +0000)]
Issue #19884: Avoid spurious output on OS X with Gnu Readline

Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.

8 years agoIssue #12319: Always send file request bodies using chunked encoding
Martin Panter [Sat, 27 Aug 2016 01:39:26 +0000 (01:39 +0000)]
Issue #12319: Always send file request bodies using chunked encoding

The previous attempt to determine the file’s Content-Length gave a false
positive for pipes on Windows.

Also, drop the special case for sending zero-length iterable bodies.