]> granicus.if.org Git - python/log
python
9 years agoMerge with 3.5
Zachary Ware [Fri, 11 Sep 2015 15:52:51 +0000 (10:52 -0500)]
Merge with 3.5

9 years agoMerge with 3.4
Zachary Ware [Fri, 11 Sep 2015 15:52:36 +0000 (10:52 -0500)]
Merge with 3.4

9 years agoFix grammatical error in csv docs.
Zachary Ware [Fri, 11 Sep 2015 15:51:47 +0000 (10:51 -0500)]
Fix grammatical error in csv docs.

Reported by Nat Dunn on docs@

9 years agoMerge with 3.5
Steve Dower [Fri, 11 Sep 2015 15:47:55 +0000 (08:47 -0700)]
Merge with 3.5

9 years agoRemoves invalid installer options from documentation.
Steve Dower [Fri, 11 Sep 2015 15:47:42 +0000 (08:47 -0700)]
Removes invalid installer options from documentation.

9 years agoMerge 3.5
Victor Stinner [Fri, 11 Sep 2015 10:38:27 +0000 (12:38 +0200)]
Merge 3.5

9 years agoMerge 3.4
Victor Stinner [Fri, 11 Sep 2015 10:38:17 +0000 (12:38 +0200)]
Merge 3.4

9 years agoIssue #24684: socket.socket.getaddrinfo() now calls
Victor Stinner [Fri, 11 Sep 2015 10:37:30 +0000 (12:37 +0200)]
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom string with an encode() method which doesn't
return a byte string. The encoder of the IDNA codec is now called directly
instead of calling the encode() method of the string.

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Sep 2015 05:23:31 +0000 (01:23 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Fix nits
Yury Selivanov [Fri, 11 Sep 2015 05:23:10 +0000 (01:23 -0400)]
whatsnew/3.5: Fix nits

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Sep 2015 04:50:54 +0000 (00:50 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Drop empty section
Yury Selivanov [Fri, 11 Sep 2015 04:50:39 +0000 (00:50 -0400)]
whatsnew/3.5: Drop empty section

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Sep 2015 04:48:45 +0000 (00:48 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Sync whatsnew with versionadded/versionchanged doc tags
Yury Selivanov [Fri, 11 Sep 2015 04:48:21 +0000 (00:48 -0400)]
whatsnew/3.5: Sync whatsnew with versionadded/versionchanged doc tags

9 years agoIssue #25030: Merge seek() doc fixes from 3.5
Martin Panter [Fri, 11 Sep 2015 04:39:42 +0000 (04:39 +0000)]
Issue #25030: Merge seek() doc fixes from 3.5

9 years agoIssue #25030: Merge seek() doc fixes from 3.4 into 3.5
Martin Panter [Fri, 11 Sep 2015 04:39:31 +0000 (04:39 +0000)]
Issue #25030: Merge seek() doc fixes from 3.4 into 3.5

9 years agomerge 3.5 (#25060)
Benjamin Peterson [Fri, 11 Sep 2015 04:11:26 +0000 (21:11 -0700)]
merge 3.5 (#25060)

9 years agocompute stack effect of BUILD_MAP correctly (closes #25060)
Benjamin Peterson [Fri, 11 Sep 2015 04:02:39 +0000 (21:02 -0700)]
compute stack effect of BUILD_MAP correctly (closes #25060)

9 years agoIssue #25030: Do not document seek() as if it accepts keyword arguments
Martin Panter [Fri, 11 Sep 2015 03:58:30 +0000 (03:58 +0000)]
Issue #25030: Do not document seek() as if it accepts keyword arguments

Patch from Shiyao Ma.

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Sep 2015 03:37:16 +0000 (23:37 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Second pass over NEWS entries
Yury Selivanov [Fri, 11 Sep 2015 03:37:06 +0000 (23:37 -0400)]
whatsnew/3.5: Second pass over NEWS entries

9 years agoIssue #25022: Merge susp-ignored.csv from 3.5
Martin Panter [Fri, 11 Sep 2015 02:47:13 +0000 (02:47 +0000)]
Issue #25022: Merge susp-ignored.csv from 3.5

9 years agoIssue #25022: Merge susp-ignored.csv from 3.4 into 3.5
Martin Panter [Fri, 11 Sep 2015 02:46:54 +0000 (02:46 +0000)]
Issue #25022: Merge susp-ignored.csv from 3.4 into 3.5

9 years agoIssue #25022: Avoid warning about unused suspicious rule
Martin Panter [Fri, 11 Sep 2015 02:45:10 +0000 (02:45 +0000)]
Issue #25022: Avoid warning about unused suspicious rule

9 years agoIssue #24984: Merge BTPROTO_SCO doc fix from 3.5
Martin Panter [Fri, 11 Sep 2015 02:30:08 +0000 (02:30 +0000)]
Issue #24984: Merge BTPROTO_SCO doc fix from 3.5

9 years agoIssue #24984: Merge BTPROTO_SCO doc fix from 3.4 into 3.5
Martin Panter [Fri, 11 Sep 2015 02:29:35 +0000 (02:29 +0000)]
Issue #24984: Merge BTPROTO_SCO doc fix from 3.4 into 3.5

9 years agoIssue #24984: BTPROTO_SCO supports only bytes objects
Martin Panter [Fri, 11 Sep 2015 02:23:41 +0000 (02:23 +0000)]
Issue #24984: BTPROTO_SCO supports only bytes objects

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Sep 2015 01:45:08 +0000 (21:45 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Reformat code examples
Yury Selivanov [Fri, 11 Sep 2015 01:44:59 +0000 (21:44 -0400)]
whatsnew/3.5: Reformat code examples

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Sep 2015 01:27:04 +0000 (21:27 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Another editing pass
Yury Selivanov [Fri, 11 Sep 2015 01:26:54 +0000 (21:26 -0400)]
whatsnew/3.5: Another editing pass

Patch by Elvis Pranskevichus.

9 years agoMerge 3.5
Yury Selivanov [Thu, 10 Sep 2015 23:02:34 +0000 (19:02 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Fix refs in the importlib section
Yury Selivanov [Thu, 10 Sep 2015 23:02:24 +0000 (19:02 -0400)]
whatsnew/3.5: Fix refs in the importlib section

9 years agoMerge 3.5
Yury Selivanov [Thu, 10 Sep 2015 22:59:52 +0000 (18:59 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Clarify types.coroutine & types.CoroutineType
Yury Selivanov [Thu, 10 Sep 2015 22:59:42 +0000 (18:59 -0400)]
whatsnew/3.5: Clarify types.coroutine & types.CoroutineType

9 years agoMerge 3.5
Yury Selivanov [Thu, 10 Sep 2015 22:32:00 +0000 (18:32 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Don't mention pyio.FileIO
Yury Selivanov [Thu, 10 Sep 2015 22:31:49 +0000 (18:31 -0400)]
whatsnew/3.5: Don't mention pyio.FileIO

9 years agoMerge 3.5 (issue #22980, whatsnew/3.5)
Yury Selivanov [Thu, 10 Sep 2015 22:27:17 +0000 (18:27 -0400)]
Merge 3.5 (issue #22980, whatsnew/3.5)

9 years agowhatsnew/3.5: Describe changes in issue #22980
Yury Selivanov [Thu, 10 Sep 2015 22:26:44 +0000 (18:26 -0400)]
whatsnew/3.5: Describe changes in issue #22980

Initial patch by Larry Hastings.

9 years agoMerge 3.5
Yury Selivanov [Thu, 10 Sep 2015 22:04:45 +0000 (18:04 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: More edits -- use articles consistently; fix refs
Yury Selivanov [Thu, 10 Sep 2015 22:04:35 +0000 (18:04 -0400)]
whatsnew/3.5: More edits -- use articles consistently; fix refs

9 years agoMerge 3.5
Yury Selivanov [Thu, 10 Sep 2015 21:35:51 +0000 (17:35 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Editorialization pass on library section
Yury Selivanov [Thu, 10 Sep 2015 21:35:38 +0000 (17:35 -0400)]
whatsnew/3.5: Editorialization pass on library section

Patch by Elvis Pranskevichus

9 years agoCloses #25022 (again): Merge with 3.5
Zachary Ware [Thu, 10 Sep 2015 21:12:48 +0000 (16:12 -0500)]
Closes #25022 (again): Merge with 3.5

9 years agoIssue #25022: Merge with 3.4
Zachary Ware [Thu, 10 Sep 2015 21:08:21 +0000 (16:08 -0500)]
Issue #25022: Merge with 3.4

9 years agoIssue #25022: Add NEWS, fix docs to not mention the old example.
Zachary Ware [Thu, 10 Sep 2015 20:50:58 +0000 (15:50 -0500)]
Issue #25022: Add NEWS, fix docs to not mention the old example.

9 years agoCloses #25022: Merge with 3.5
Zachary Ware [Thu, 10 Sep 2015 20:03:02 +0000 (15:03 -0500)]
Closes #25022: Merge with 3.5

9 years agoIssue #25022: Merge with 3.4
Zachary Ware [Thu, 10 Sep 2015 20:02:14 +0000 (15:02 -0500)]
Issue #25022: Merge with 3.4

9 years agoIssue #25022: Remove PC/example_nt/
Zachary Ware [Thu, 10 Sep 2015 19:37:42 +0000 (14:37 -0500)]
Issue #25022: Remove PC/example_nt/

It was very much outdated, and the topic is better covered elsewhere.

9 years agoAdd the original author of profile.py back to the docs, at his request. (Merge)
Guido van Rossum [Thu, 10 Sep 2015 19:12:23 +0000 (12:12 -0700)]
Add the original author of profile.py back to the docs, at his request. (Merge)

9 years agoAdd the original author of profile.py back to the docs, at his request.
Guido van Rossum [Thu, 10 Sep 2015 19:12:01 +0000 (12:12 -0700)]
Add the original author of profile.py back to the docs, at his request.

9 years agoFix typos and improve markup in typing.rst.
Berker Peksag [Thu, 10 Sep 2015 18:56:11 +0000 (21:56 +0300)]
Fix typos and improve markup in typing.rst.

9 years agoFix typos and improve markup in typing.rst.
Berker Peksag [Thu, 10 Sep 2015 18:55:50 +0000 (21:55 +0300)]
Fix typos and improve markup in typing.rst.

9 years agoUse print function in mock docs.
Berker Peksag [Thu, 10 Sep 2015 18:42:18 +0000 (21:42 +0300)]
Use print function in mock docs.

9 years agoUse print function in mock docs.
Berker Peksag [Thu, 10 Sep 2015 18:41:52 +0000 (21:41 +0300)]
Use print function in mock docs.

9 years agoUse print function in mock docs.
Berker Peksag [Thu, 10 Sep 2015 18:41:15 +0000 (21:41 +0300)]
Use print function in mock docs.

9 years agoRestore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe.
Guido van Rossum [Thu, 10 Sep 2015 17:54:10 +0000 (10:54 -0700)]
Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe.

9 years agoRestore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe.
Guido van Rossum [Thu, 10 Sep 2015 17:52:11 +0000 (10:52 -0700)]
Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe.

9 years agopytime: oops, fix typos on Windows
Victor Stinner [Thu, 10 Sep 2015 14:00:06 +0000 (16:00 +0200)]
pytime: oops, fix typos on Windows

9 years agopytime: add _PyTime_check_mul_overflow() macro to avoid undefined behaviour
Victor Stinner [Thu, 10 Sep 2015 13:55:07 +0000 (15:55 +0200)]
pytime: add _PyTime_check_mul_overflow() macro to avoid undefined behaviour

Overflow test in test_FromSecondsObject() fails on FreeBSD 10.0 buildbot which
uses clang. clang implements more aggressive optimization which gives
different result than GCC on undefined behaviours.

Check if a multiplication will overflow, instead of checking if a
multiplicatin had overflowed, to avoid undefined behaviour.

Add also debug information if the test on overflow fails.

9 years agoNew try to fix test_time.test_AsSecondsDouble() on x86 buildbots.
Victor Stinner [Thu, 10 Sep 2015 11:25:17 +0000 (13:25 +0200)]
New try to fix test_time.test_AsSecondsDouble() on x86 buildbots.

Use volatile keyword in _PyTime_AsSecondsDouble()

9 years agoTry to fix test_time.test_AsSecondsDouble() on "x86 Gentoo Non-Debug with X 3.x"...
Victor Stinner [Thu, 10 Sep 2015 09:48:00 +0000 (11:48 +0200)]
Try to fix test_time.test_AsSecondsDouble() on "x86 Gentoo Non-Debug with X 3.x" buildbot

Use volatile keyword in _PyTime_Round()

9 years agoFix test_time on platform with 32-bit time_t type
Victor Stinner [Thu, 10 Sep 2015 09:45:06 +0000 (11:45 +0200)]
Fix test_time on platform with 32-bit time_t type

Filter also values for check_float_rounding().

9 years agoFix test_time on platform with 32-bit time_t type
Victor Stinner [Thu, 10 Sep 2015 08:10:39 +0000 (10:10 +0200)]
Fix test_time on platform with 32-bit time_t type

Filter values which would overflow when converted to a C time_t type.

9 years agoFix test_time on Windows
Victor Stinner [Thu, 10 Sep 2015 07:10:14 +0000 (09:10 +0200)]
Fix test_time on Windows

* Filter values which would overflow on conversion to the C long type
  (for timeval.tv_sec).
* Adjust also the message of OverflowError on PyTime conversions
* test_time: add debug information if a timestamp conversion fails

9 years agoMerge 3.5
Yury Selivanov [Thu, 10 Sep 2015 02:46:51 +0000 (22:46 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Mention issue 22464
Yury Selivanov [Thu, 10 Sep 2015 02:46:40 +0000 (22:46 -0400)]
whatsnew/3.5: Mention issue 22464

(About the only new feature that was worth mentioning in
whatsnew without a NEWS entry)

9 years agoSimply deque repeat by reusing code in in-line repeat. Avoid unnecessary division.
Raymond Hettinger [Thu, 10 Sep 2015 02:39:44 +0000 (22:39 -0400)]
Simply deque repeat by reusing code in in-line repeat.  Avoid unnecessary division.

9 years agoMerge typing docs from 3.5 branch.
Guido van Rossum [Thu, 10 Sep 2015 02:36:31 +0000 (19:36 -0700)]
Merge typing docs from 3.5 branch.

9 years agoMerge typing doc updates from larry's branch.
Guido van Rossum [Thu, 10 Sep 2015 02:34:36 +0000 (19:34 -0700)]
Merge typing doc updates from larry's branch.

9 years agoFixes handling of read-only files when creating zip package.
Steve Dower [Thu, 10 Sep 2015 02:33:06 +0000 (19:33 -0700)]
Fixes handling of read-only files when creating zip package.

9 years agoFixes handling of read-only files when creating zip package.
Steve Dower [Thu, 10 Sep 2015 02:32:45 +0000 (19:32 -0700)]
Fixes handling of read-only files when creating zip package.

9 years agoIssue #24857: Comparing call_args to a long sequence now correctly returns a
Berker Peksag [Wed, 9 Sep 2015 20:39:45 +0000 (23:39 +0300)]
Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.

Patch by A Kaptur.

9 years agoIssue #24857: Comparing call_args to a long sequence now correctly returns a
Berker Peksag [Wed, 9 Sep 2015 20:35:25 +0000 (23:35 +0300)]
Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.

Patch by A Kaptur.

9 years agotest_time: rewrite PyTime API rounding tests
Victor Stinner [Wed, 9 Sep 2015 20:32:48 +0000 (22:32 +0200)]
test_time: rewrite PyTime API rounding tests

Drop all hardcoded tests. Instead, reimplement each function in Python, usually
using decimal.Decimal for the rounding mode.

Add much more values to the dataset. Test various timestamp units from
picroseconds to seconds, in integer and float.

Enhance also _PyTime_AsSecondsDouble().

9 years agopytime: add _PyTime_Round() helper to factorize code
Victor Stinner [Wed, 9 Sep 2015 20:28:58 +0000 (22:28 +0200)]
pytime: add _PyTime_Round() helper to factorize code

9 years agoMake _PyTime_RoundHalfEven() private again
Victor Stinner [Wed, 9 Sep 2015 20:28:09 +0000 (22:28 +0200)]
Make _PyTime_RoundHalfEven() private again

9 years agoIssue #24857: Comparing call_args to a long sequence now correctly returns a
Berker Peksag [Wed, 9 Sep 2015 20:40:11 +0000 (23:40 +0300)]
Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.

Patch by A Kaptur.

9 years agoUpdate typing docs based on a patch by Daniel Andrade Groppe.
Guido van Rossum [Wed, 9 Sep 2015 19:01:36 +0000 (12:01 -0700)]
Update typing docs based on a patch by Daniel Andrade Groppe.

9 years agoUpdate typing docs based on a patch by Ivan Levkivskyi (but much rewritten by me).
Guido van Rossum [Wed, 9 Sep 2015 18:44:39 +0000 (11:44 -0700)]
Update typing docs based on a patch by Ivan Levkivskyi (but much rewritten by me).

9 years agoMerge typing docs cleanup diff by Zach Ware from default back into 350 branch.
Guido van Rossum [Wed, 9 Sep 2015 18:21:18 +0000 (11:21 -0700)]
Merge typing docs cleanup diff by Zach Ware from default back into 350 branch.

9 years agoMerge 3.5
Yury Selivanov [Wed, 9 Sep 2015 17:50:12 +0000 (13:50 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Merge argparse entries
Yury Selivanov [Wed, 9 Sep 2015 17:49:29 +0000 (13:49 -0400)]
whatsnew/3.5: Merge argparse entries

9 years agoMerge 3.5
Yury Selivanov [Wed, 9 Sep 2015 16:24:33 +0000 (12:24 -0400)]
Merge 3.5

9 years agoMerge 3.5 heads
Yury Selivanov [Wed, 9 Sep 2015 16:24:16 +0000 (12:24 -0400)]
Merge 3.5 heads

9 years agoMerge 3.5
Yury Selivanov [Wed, 9 Sep 2015 16:23:18 +0000 (12:23 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: First pass over NEWS is done.
Yury Selivanov [Wed, 9 Sep 2015 16:23:01 +0000 (12:23 -0400)]
whatsnew/3.5: First pass over NEWS is done.

9 years agoFix versionchanged directive in datetime.rst
Berker Peksag [Wed, 9 Sep 2015 15:32:50 +0000 (18:32 +0300)]
Fix versionchanged directive in datetime.rst

9 years agoMerge from 3.5.
Larry Hastings [Wed, 9 Sep 2015 14:00:54 +0000 (07:00 -0700)]
Merge from 3.5.

9 years agoWhitespace fixes to make the commit hook on hg.python.org happy.
Larry Hastings [Wed, 9 Sep 2015 13:54:57 +0000 (06:54 -0700)]
Whitespace fixes to make the commit hook on hg.python.org happy.

9 years agoMerge Python 3.5.0rc4 back to hg.python.org.
Larry Hastings [Wed, 9 Sep 2015 13:52:38 +0000 (06:52 -0700)]
Merge Python 3.5.0rc4 back to hg.python.org.

9 years agoPost-release update for Python 3.5.0rc4.
Larry Hastings [Wed, 9 Sep 2015 13:45:19 +0000 (06:45 -0700)]
Post-release update for Python 3.5.0rc4.

9 years agoMerge 3.5
Yury Selivanov [Wed, 9 Sep 2015 13:32:17 +0000 (09:32 -0400)]
Merge 3.5

9 years agodocs.compileall: Fix markup (rendering was off, noticed by Berker Peksag)
Yury Selivanov [Wed, 9 Sep 2015 13:32:07 +0000 (09:32 -0400)]
docs.compileall: Fix markup (rendering was off, noticed by Berker Peksag)

9 years agoMerge 3.5
Yury Selivanov [Wed, 9 Sep 2015 13:27:46 +0000 (09:27 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: Fix nits per Berker Peksag suggestion
Yury Selivanov [Wed, 9 Sep 2015 13:27:29 +0000 (09:27 -0400)]
whatsnew/3.5: Fix nits per Berker Peksag suggestion

9 years agoAdded tag v3.5.0rc4 for changeset 2d033fedfa7f
Larry Hastings [Wed, 9 Sep 2015 06:58:21 +0000 (23:58 -0700)]
Added tag v3.5.0rc4 for changeset 2d033fedfa7f

9 years agoVersion bump for Python 3.5.0rc4. v3.5.0rc4
Larry Hastings [Wed, 9 Sep 2015 06:58:10 +0000 (23:58 -0700)]
Version bump for Python 3.5.0rc4.

9 years agoIssue #24984: Merge 3.5 into 3.6
Martin Panter [Wed, 9 Sep 2015 06:50:07 +0000 (06:50 +0000)]
Issue #24984: Merge 3.5 into 3.6

9 years agoIssue #24984: Merge 3.4 into 3.5
Martin Panter [Wed, 9 Sep 2015 06:48:55 +0000 (06:48 +0000)]
Issue #24984: Merge 3.4 into 3.5