]>
granicus.if.org Git - python/log
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)
Zachary Ware [Tue, 8 Sep 2015 06:12:00 +0000 (01:12 -0500)]
Update PCbuild/readme.txt
Raymond Hettinger [Tue, 8 Sep 2015 04:37:17 +0000 (00:37 -0400)]
merge
Raymond Hettinger [Tue, 8 Sep 2015 04:36:56 +0000 (00:36 -0400)]
merge
Raymond Hettinger [Tue, 8 Sep 2015 04:36:29 +0000 (00:36 -0400)]
Fix whitespace in comment.
Zachary Ware [Tue, 8 Sep 2015 04:32:10 +0000 (23:32 -0500)]
Closes #25010: Merge with 3.5
Zachary Ware [Tue, 8 Sep 2015 04:31:49 +0000 (23:31 -0500)]
Issue #25010: Merge with 3.4
Zachary Ware [Tue, 8 Sep 2015 04:30:46 +0000 (23:30 -0500)]
Issue #25010: Fix path for .pyd example project.
Patch by Shaun Walbridge
Serhiy Storchaka [Tue, 8 Sep 2015 02:53:42 +0000 (05:53 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Serhiy Storchaka [Tue, 8 Sep 2015 02:51:00 +0000 (05:51 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Serhiy Storchaka [Tue, 8 Sep 2015 02:47:23 +0000 (05:47 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Victor Stinner [Mon, 7 Sep 2015 22:12:49 +0000 (00:12 +0200)]
Issue #22241: Fix a compiler waring
Serhiy Storchaka [Mon, 7 Sep 2015 19:54:33 +0000 (22:54 +0300)]
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 19:54:08 +0000 (22:54 +0300)]
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 19:51:56 +0000 (22:51 +0300)]
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 19:41:04 +0000 (22:41 +0300)]
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
Serhiy Storchaka [Mon, 7 Sep 2015 19:38:34 +0000 (22:38 +0300)]
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
Serhiy Storchaka [Mon, 7 Sep 2015 19:37:02 +0000 (22:37 +0300)]
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
Serhiy Storchaka [Mon, 7 Sep 2015 16:59:38 +0000 (19:59 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
Serhiy Storchaka [Mon, 7 Sep 2015 16:59:24 +0000 (19:59 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
Serhiy Storchaka [Mon, 7 Sep 2015 16:58:23 +0000 (19:58 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
Serhiy Storchaka [Mon, 7 Sep 2015 16:52:12 +0000 (19:52 +0300)]
Merge 3.5.
Larry Hastings [Mon, 7 Sep 2015 12:16:38 +0000 (05:16 -0700)]
Merge heads.
Larry Hastings [Mon, 7 Sep 2015 12:12:28 +0000 (05:12 -0700)]
Added tag v3.5.0rc3 for changeset
66ed52375df8
Larry Hastings [Mon, 7 Sep 2015 12:12:05 +0000 (05:12 -0700)]
Version bump for Python 3.5.0rc3.
Larry Hastings [Mon, 7 Sep 2015 12:10:55 +0000 (05:10 -0700)]
Updated topics (again) for Python 3.5.0rc3 (second try).
Serhiy Storchaka [Mon, 7 Sep 2015 10:57:21 +0000 (13:57 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.
Serhiy Storchaka [Mon, 7 Sep 2015 10:56:49 +0000 (13:56 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.