]>
granicus.if.org Git - python/log
Yury Selivanov [Thu, 10 Sep 2015 22:27:17 +0000 (18:27 -0400)]
Merge 3.5 (issue #22980, whatsnew/3.5)
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.
Yury Selivanov [Thu, 10 Sep 2015 22:04:45 +0000 (18:04 -0400)]
Merge 3.5
Yury Selivanov [Thu, 10 Sep 2015 22:04:35 +0000 (18:04 -0400)]
whatsnew/3.5: More edits -- use articles consistently; fix refs
Yury Selivanov [Thu, 10 Sep 2015 21:35:51 +0000 (17:35 -0400)]
Merge 3.5
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
Zachary Ware [Thu, 10 Sep 2015 21:12:48 +0000 (16:12 -0500)]
Closes #25022 (again): Merge with 3.5
Zachary Ware [Thu, 10 Sep 2015 21:08:21 +0000 (16:08 -0500)]
Issue #25022: Merge with 3.4
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.
Zachary Ware [Thu, 10 Sep 2015 20:03:02 +0000 (15:03 -0500)]
Closes #25022: Merge with 3.5
Zachary Ware [Thu, 10 Sep 2015 20:02:14 +0000 (15:02 -0500)]
Issue #25022: Merge with 3.4
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.
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)
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.
Berker Peksag [Thu, 10 Sep 2015 18:56:11 +0000 (21:56 +0300)]
Fix 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.
Berker Peksag [Thu, 10 Sep 2015 18:42:18 +0000 (21:42 +0300)]
Use print function in mock docs.
Berker Peksag [Thu, 10 Sep 2015 18:41:52 +0000 (21:41 +0300)]
Use print function in mock docs.
Berker Peksag [Thu, 10 Sep 2015 18:41:15 +0000 (21:41 +0300)]
Use print function in mock docs.
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.
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.
Victor Stinner [Thu, 10 Sep 2015 14:00:06 +0000 (16:00 +0200)]
pytime: oops, fix typos on Windows
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.
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()
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()
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().
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.
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
Yury Selivanov [Thu, 10 Sep 2015 02:46:51 +0000 (22:46 -0400)]
Merge 3.5
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)
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.
Guido van Rossum [Thu, 10 Sep 2015 02:36:31 +0000 (19:36 -0700)]
Merge typing docs from 3.5 branch.
Guido van Rossum [Thu, 10 Sep 2015 02:34:36 +0000 (19:34 -0700)]
Merge typing doc updates from larry's branch.
Steve Dower [Thu, 10 Sep 2015 02:33:06 +0000 (19:33 -0700)]
Fixes 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.
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.
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.
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().
Victor Stinner [Wed, 9 Sep 2015 20:28:58 +0000 (22:28 +0200)]
pytime: add _PyTime_Round() helper to factorize code
Victor Stinner [Wed, 9 Sep 2015 20:28:09 +0000 (22:28 +0200)]
Make _PyTime_RoundHalfEven() private again
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.
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.
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).
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.
Yury Selivanov [Wed, 9 Sep 2015 17:50:12 +0000 (13:50 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 17:49:29 +0000 (13:49 -0400)]
whatsnew/3.5: Merge argparse entries
Yury Selivanov [Wed, 9 Sep 2015 16:24:33 +0000 (12:24 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 16:24:16 +0000 (12:24 -0400)]
Merge 3.5 heads
Yury Selivanov [Wed, 9 Sep 2015 16:23:18 +0000 (12:23 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 16:23:01 +0000 (12:23 -0400)]
whatsnew/3.5: First pass over NEWS is done.
Berker Peksag [Wed, 9 Sep 2015 15:32:50 +0000 (18:32 +0300)]
Fix versionchanged directive in datetime.rst
Larry Hastings [Wed, 9 Sep 2015 14:00:54 +0000 (07:00 -0700)]
Merge from 3.5.
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.
Larry Hastings [Wed, 9 Sep 2015 13:52:38 +0000 (06:52 -0700)]
Merge Python 3.5.0rc4 back to hg.python.org.
Larry Hastings [Wed, 9 Sep 2015 13:45:19 +0000 (06:45 -0700)]
Post-release update for Python 3.5.0rc4.
Yury Selivanov [Wed, 9 Sep 2015 13:32:17 +0000 (09:32 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 13:32:07 +0000 (09:32 -0400)]
docs.compileall: Fix markup (rendering was off, noticed by Berker Peksag)
Yury Selivanov [Wed, 9 Sep 2015 13:27:46 +0000 (09:27 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 13:27:29 +0000 (09:27 -0400)]
whatsnew/3.5: Fix nits per Berker Peksag suggestion
Larry Hastings [Wed, 9 Sep 2015 06:58:21 +0000 (23:58 -0700)]
Added tag v3.5.0rc4 for changeset
2d033fedfa7f
Larry Hastings [Wed, 9 Sep 2015 06:58:10 +0000 (23:58 -0700)]
Version bump for Python 3.5.0rc4.
Martin Panter [Wed, 9 Sep 2015 06:50:07 +0000 (06:50 +0000)]
Issue #24984: Merge 3.5 into 3.6
Martin Panter [Wed, 9 Sep 2015 06:48:55 +0000 (06:48 +0000)]
Issue #24984: Merge 3.4 into 3.5
Martin Panter [Wed, 9 Sep 2015 06:47:58 +0000 (06:47 +0000)]
Issue #24984: Document AF_BLUETOOTH socket address formats
Patch from Tim Tisdall.
Larry Hastings [Wed, 9 Sep 2015 06:45:23 +0000 (23:45 -0700)]
Merged in stevedower/cpython350 (pull request #23)
Moves distutils test import within skippable class.
Steve Dower [Wed, 9 Sep 2015 06:42:51 +0000 (23:42 -0700)]
Moves distutils test import within skippable class.
Martin Panter [Wed, 9 Sep 2015 06:28:08 +0000 (06:28 +0000)]
Merge 3.5 into 3.6
Martin Panter [Wed, 9 Sep 2015 06:27:43 +0000 (06:27 +0000)]
Merge 3.4 into 3.5
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:47 +0000 (02:10 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:35 +0000 (02:10 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:17 +0000 (02:10 -0400)]
Issue 24199: Deprecate idlelib.idlever with a warning on import.
Terry Jan Reedy [Wed, 9 Sep 2015 06:02:25 +0000 (02:02 -0400)]
merge dangling 3.5 into default
Larry Hastings [Wed, 9 Sep 2015 05:45:37 +0000 (22:45 -0700)]
Merge 3.5.0rc3 revisions back into current 3.5.0 head.
Martin Panter [Wed, 9 Sep 2015 05:29:24 +0000 (05:29 +0000)]
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
Steve Dower [Wed, 9 Sep 2015 04:39:01 +0000 (21:39 -0700)]
Issue #25027: Reverts partial-static build options and adds vcruntime140.dll to Windows installation.
Steve Dower [Wed, 9 Sep 2015 04:27:47 +0000 (21:27 -0700)]
Adds Mics/NEWS entry for issue #25029.
Steve Dower [Wed, 9 Sep 2015 04:26:59 +0000 (21:26 -0700)]
Merge fix for #25029
Larry Hastings [Wed, 9 Sep 2015 04:19:48 +0000 (21:19 -0700)]
Added Misc/NEWS section for Python 3.5.0 final.
Martin Panter [Wed, 9 Sep 2015 03:46:24 +0000 (03:46 +0000)]
Merge 3.6 branches
Martin Panter [Wed, 9 Sep 2015 03:45:58 +0000 (03:45 +0000)]
Merge 3.5 branches
Yury Selivanov [Wed, 9 Sep 2015 03:41:22 +0000 (23:41 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 03:40:46 +0000 (23:40 -0400)]
whatsnew/3.5: Reformat PEP 475 to render in less space; add "ugly" ex in 465
Yury Selivanov [Wed, 9 Sep 2015 03:28:17 +0000 (23:28 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 03:28:06 +0000 (23:28 -0400)]
whatsnew/3.5: Better formatting; add traceback to significantly improved stdlib
Martin Panter [Wed, 9 Sep 2015 03:01:17 +0000 (03:01 +0000)]
Issue #23738: Merge 3.5 into 3.6
Martin Panter [Wed, 9 Sep 2015 02:51:53 +0000 (02:51 +0000)]
Merge 3.5 branches
Yury Selivanov [Wed, 9 Sep 2015 02:40:45 +0000 (22:40 -0400)]
Merge 3.5
Yury Selivanov [Wed, 9 Sep 2015 02:40:30 +0000 (22:40 -0400)]
whatsnew/3.5: Fix library news till Py3.5a1. Update other docs.
Steve Dower [Wed, 9 Sep 2015 02:12:51 +0000 (19:12 -0700)]
Issue #25029: MemoryError in test_strptime
Martin Panter [Wed, 9 Sep 2015 01:56:53 +0000 (01:56 +0000)]
Issue #23738: Merge 3.4 into 3.5
Martin Panter [Wed, 9 Sep 2015 01:01:13 +0000 (01:01 +0000)]
Issue #23738: Document and test actual keyword parameter names
Also fix signature because os.utime(..., ns=None) is not allowed.
Victor Stinner [Tue, 8 Sep 2015 23:09:21 +0000 (01:09 +0200)]
cleanup datetime code
remove scories of round half up code and debug code.
Victor Stinner [Tue, 8 Sep 2015 23:02:23 +0000 (01:02 +0200)]
Issue #23517: fromtimestamp() and utcfromtimestamp() methods of
datetime.datetime now round microseconds to nearest with ties going to nearest
even integer (ROUND_HALF_EVEN), as round(float), instead of rounding towards
-Infinity (ROUND_FLOOR).
pytime API: replace _PyTime_ROUND_HALF_UP with _PyTime_ROUND_HALF_EVEN. Fix
also _PyTime_Divide() for negative numbers.
_PyTime_AsTimeval_impl() now reuses _PyTime_Divide() instead of reimplementing
rounding modes.
Victor Stinner [Tue, 8 Sep 2015 21:58:54 +0000 (23:58 +0200)]
Revert change
0eb8c182131e :
"""Issue #23517: datetime.timedelta constructor now rounds microseconds to
nearest with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python
older than 3.3, instead of rounding to nearest with ties going to nearest even
integer (ROUND_HALF_EVEN)."""
datetime.timedelta uses rounding mode ROUND_HALF_EVEN again.
Yury Selivanov [Tue, 8 Sep 2015 19:33:33 +0000 (15:33 -0400)]
Merge 3.5
Yury Selivanov [Tue, 8 Sep 2015 19:33:15 +0000 (15:33 -0400)]
docs/whatsnew/3.5: Update peps section
Patch by Elvis Pranskevichus.
Serhiy Storchaka [Tue, 8 Sep 2015 07:00:43 +0000 (10:00 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
Serhiy Storchaka [Tue, 8 Sep 2015 07:00:22 +0000 (10:00 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
Serhiy Storchaka [Tue, 8 Sep 2015 06:59:02 +0000 (09:59 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
Zachary Ware [Tue, 8 Sep 2015 06:12:56 +0000 (01:12 -0500)]
Update PCbuild/readme.txt (merge from 3.5)