]> granicus.if.org Git - python/log
python
9 years agoIssue #15745: Rewrite os.utime() tests in test_os
Victor Stinner [Fri, 12 Jun 2015 15:26:23 +0000 (17:26 +0200)]
Issue #15745: Rewrite os.utime() tests in test_os

* Don't use the timestamp of an existing file anymore, only use fixed
  timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
  Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code

9 years agoIssue #24423: merger from 3.5
Ned Deily [Wed, 10 Jun 2015 22:44:18 +0000 (15:44 -0700)]
Issue #24423: merger from 3.5

9 years agoIssue #24423: Fix formatting error in 3.5 whatsnew
Ned Deily [Wed, 10 Jun 2015 22:43:05 +0000 (15:43 -0700)]
Issue #24423: Fix formatting error in 3.5 whatsnew

9 years agoFixed indentation of Python examples in C comments.
Serhiy Storchaka [Wed, 10 Jun 2015 21:09:32 +0000 (00:09 +0300)]
Fixed indentation of Python examples in C comments.

9 years agoFixed indentation of Python examples in C comments.
Serhiy Storchaka [Wed, 10 Jun 2015 21:07:47 +0000 (00:07 +0300)]
Fixed indentation of Python examples in C comments.

9 years agoFixed indentation of Python examples in C comments.
Serhiy Storchaka [Wed, 10 Jun 2015 21:06:39 +0000 (00:06 +0300)]
Fixed indentation of Python examples in C comments.

9 years agoMerge with 3.5
Zachary Ware [Wed, 10 Jun 2015 05:44:40 +0000 (00:44 -0500)]
Merge with 3.5

9 years agoMerge forward extras beyond #21907 backport.
Zachary Ware [Wed, 10 Jun 2015 05:43:20 +0000 (00:43 -0500)]
Merge forward extras beyond #21907 backport.

9 years agoClean up/refactor the batch scripts used for building on Windows.
Zachary Ware [Wed, 10 Jun 2015 04:16:52 +0000 (23:16 -0500)]
Clean up/refactor the batch scripts used for building on Windows.

This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.

9 years ago- Issue #24351: Clarify what is meant by "identifier" in the context of
Barry Warsaw [Tue, 9 Jun 2015 18:24:30 +0000 (14:24 -0400)]
- Issue #24351: Clarify what is meant by "identifier" in the context of
  string.Template instances.

9 years ago- Issue #24351: Clarify what is meant by "identifier" in the context of
Barry Warsaw [Tue, 9 Jun 2015 18:22:44 +0000 (14:22 -0400)]
- Issue #24351: Clarify what is meant by "identifier" in the context of
  string.Template instances.

9 years ago- Issue #24351: Clarify what is meant by "identifier" in the context of
Barry Warsaw [Tue, 9 Jun 2015 18:20:31 +0000 (14:20 -0400)]
- Issue #24351: Clarify what is meant by "identifier" in the context of
  string.Template instances.

9 years agoMerge from 3.5
Tal Einat [Tue, 9 Jun 2015 15:42:36 +0000 (18:42 +0300)]
Merge from 3.5

9 years agoMerge from 3.4
Tal Einat [Tue, 9 Jun 2015 15:42:18 +0000 (18:42 +0300)]
Merge from 3.4

9 years ago#23891: correctly refer to PyPI as "Python Package Index"
Tal Einat [Tue, 9 Jun 2015 15:40:16 +0000 (18:40 +0300)]
#23891: correctly refer to PyPI as "Python Package Index"

9 years agoIssue #24408: Added more tkinter.Font tests.
Serhiy Storchaka [Tue, 9 Jun 2015 04:21:12 +0000 (07:21 +0300)]
Issue #24408: Added more tkinter.Font tests.

9 years agoIssue #24408: Added more tkinter.Font tests.
Serhiy Storchaka [Tue, 9 Jun 2015 04:21:00 +0000 (07:21 +0300)]
Issue #24408: Added more tkinter.Font tests.

9 years agoIssue #24408: Added more tkinter.Font tests.
Serhiy Storchaka [Tue, 9 Jun 2015 04:18:54 +0000 (07:18 +0300)]
Issue #24408: Added more tkinter.Font tests.

9 years agoMerge from 3.5
Andrew Kuchling [Mon, 8 Jun 2015 22:24:46 +0000 (18:24 -0400)]
Merge from 3.5

9 years agoMerge from 3.4
Andrew Kuchling [Mon, 8 Jun 2015 22:19:51 +0000 (18:19 -0400)]
Merge from 3.4

9 years ago#23891: remove extra words
Andrew Kuchling [Mon, 8 Jun 2015 22:17:06 +0000 (18:17 -0400)]
#23891: remove extra words

9 years agoMerge from 3.5
Andrew Kuchling [Mon, 8 Jun 2015 21:41:39 +0000 (17:41 -0400)]
Merge from 3.5

9 years agoMerge from 3.4
Andrew Kuchling [Mon, 8 Jun 2015 21:40:18 +0000 (17:40 -0400)]
Merge from 3.4

9 years ago#23891: add a section to the Tutorial describing virtual environments and pip
Andrew Kuchling [Mon, 8 Jun 2015 21:35:45 +0000 (17:35 -0400)]
#23891: add a section to the Tutorial describing virtual environments and pip

9 years agoMerge from 3.5
Andrew Kuchling [Mon, 8 Jun 2015 21:19:05 +0000 (17:19 -0400)]
Merge from 3.5

9 years agoMerge from 3.4
Andrew Kuchling [Mon, 8 Jun 2015 21:14:13 +0000 (17:14 -0400)]
Merge from 3.4

9 years agoIssue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.
Steve Dower [Mon, 8 Jun 2015 16:55:59 +0000 (09:55 -0700)]
Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.

9 years agoIssue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.
Steve Dower [Mon, 8 Jun 2015 16:55:43 +0000 (09:55 -0700)]
Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.

9 years agoIssue #24299: Fixed test__locale on Solaris.
Serhiy Storchaka [Mon, 8 Jun 2015 15:50:28 +0000 (18:50 +0300)]
Issue #24299: Fixed test__locale on Solaris.

9 years agoIssue #24299: Fixed test__locale on Solaris.
Serhiy Storchaka [Mon, 8 Jun 2015 15:50:18 +0000 (18:50 +0300)]
Issue #24299: Fixed test__locale on Solaris.

9 years agoIssue #24299: Fixed test__locale on Solaris.
Serhiy Storchaka [Mon, 8 Jun 2015 15:48:33 +0000 (18:48 +0300)]
Issue #24299: Fixed test__locale on Solaris.

9 years agoIssue #24408: Fixed AttributeError in measure() and metrics() methods of
Serhiy Storchaka [Mon, 8 Jun 2015 15:44:30 +0000 (18:44 +0300)]
Issue #24408: Fixed AttributeError in measure() and metrics() methods of
tkinter.Font.

9 years agoIssue #24408: Fixed AttributeError in measure() and metrics() methods of
Serhiy Storchaka [Mon, 8 Jun 2015 15:43:55 +0000 (18:43 +0300)]
Issue #24408: Fixed AttributeError in measure() and metrics() methods of
tkinter.Font.

9 years agoIssue #14373: Other attempt to fix threaded test for lru_cache().
Serhiy Storchaka [Mon, 8 Jun 2015 09:44:43 +0000 (12:44 +0300)]
Issue #14373: Other attempt to fix threaded test for lru_cache().

9 years agoIssue #14373: Other attempt to fix threaded test for lru_cache().
Serhiy Storchaka [Mon, 8 Jun 2015 09:44:18 +0000 (12:44 +0300)]
Issue #14373: Other attempt to fix threaded test for lru_cache().

9 years agoIssue #14373: C implementation of functools.lru_cache() now can be used with
Serhiy Storchaka [Mon, 8 Jun 2015 08:20:22 +0000 (11:20 +0300)]
Issue #14373: C implementation of functools.lru_cache() now can be used with
methods.

9 years agoIssue #14373: C implementation of functools.lru_cache() now can be used with
Serhiy Storchaka [Mon, 8 Jun 2015 08:19:24 +0000 (11:19 +0300)]
Issue #14373: C implementation of functools.lru_cache() now can be used with
methods.

9 years agoIssue #14373: Fixed threaded test for lru_cache(). Added new threaded test.
Serhiy Storchaka [Mon, 8 Jun 2015 08:15:36 +0000 (11:15 +0300)]
Issue #14373: Fixed threaded test for lru_cache(). Added new threaded test.

9 years agoIssue #14373: Fixed threaded test for lru_cache(). Added new threaded test.
Serhiy Storchaka [Mon, 8 Jun 2015 08:14:31 +0000 (11:14 +0300)]
Issue #14373: Fixed threaded test for lru_cache(). Added new threaded test.

9 years agoIssue #8232: webbrowser support incomplete on Windows. Patch by Brandon Milam
Steve Dower [Mon, 8 Jun 2015 04:36:26 +0000 (21:36 -0700)]
Issue #8232: webbrowser support incomplete on Windows. Patch by Brandon Milam

9 years agoIssue #8232: webbrowser support incomplete on Windows. Patch by Brandon Milam
Steve Dower [Mon, 8 Jun 2015 04:35:39 +0000 (21:35 -0700)]
Issue #8232: webbrowser support incomplete on Windows. Patch by Brandon Milam

9 years agoMapping key type is invariant.
Guido van Rossum [Sun, 7 Jun 2015 20:36:19 +0000 (13:36 -0700)]
Mapping key type is invariant.

9 years agomerge 3.5
Tal Einat [Sun, 7 Jun 2015 16:27:51 +0000 (19:27 +0300)]
merge 3.5

9 years agoadded matmul and imatmul to operator.__all__
Tal Einat [Sun, 7 Jun 2015 16:21:01 +0000 (19:21 +0300)]
added matmul and imatmul to operator.__all__

9 years agoAdd link to pyvideoorg
Andrew Kuchling [Sun, 7 Jun 2015 07:00:58 +0000 (03:00 -0400)]
Add link to pyvideoorg

9 years agoMerge 3.5
Benjamin Peterson [Sun, 7 Jun 2015 05:00:48 +0000 (00:00 -0500)]
Merge 3.5

9 years agorepair my irrational excuberance
Benjamin Peterson [Sun, 7 Jun 2015 05:00:42 +0000 (00:00 -0500)]
repair my irrational excuberance

9 years agomerge 3.5
Benjamin Peterson [Sun, 7 Jun 2015 04:20:40 +0000 (23:20 -0500)]
merge 3.5

9 years agoremove unnecessary braces and indentation
Benjamin Peterson [Sun, 7 Jun 2015 04:20:32 +0000 (23:20 -0500)]
remove unnecessary braces and indentation

9 years ago#23891: rework discussion of python-list a bit
Andrew Kuchling [Sun, 7 Jun 2015 00:25:21 +0000 (20:25 -0400)]
#23891: rework discussion of python-list a bit

9 years agomerge 3.5
Benjamin Peterson [Sat, 6 Jun 2015 02:03:52 +0000 (21:03 -0500)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Sat, 6 Jun 2015 02:03:46 +0000 (21:03 -0500)]
merge 3.4

9 years agothat this is "for Python" is obvious
Benjamin Peterson [Sat, 6 Jun 2015 02:03:08 +0000 (21:03 -0500)]
that this is "for Python" is obvious

9 years agoIssue #23659: Document **fmtparams in csv.register_dialect docstring.
Berker Peksag [Fri, 5 Jun 2015 12:18:38 +0000 (15:18 +0300)]
Issue #23659: Document **fmtparams in csv.register_dialect docstring.

Initial patch by Brandon Milam.

9 years agoIssue #23659: Document **fmtparams in csv.register_dialect docstring.
Berker Peksag [Fri, 5 Jun 2015 12:18:17 +0000 (15:18 +0300)]
Issue #23659: Document **fmtparams in csv.register_dialect docstring.

Initial patch by Brandon Milam.

9 years agoIssue #23659: Document **fmtparams in csv.register_dialect docstring.
Berker Peksag [Fri, 5 Jun 2015 12:17:51 +0000 (15:17 +0300)]
Issue #23659: Document **fmtparams in csv.register_dialect docstring.

Initial patch by Brandon Milam.

9 years agoIssue #24148: Fix incorrect Stats.sort_stats() example.
Berker Peksag [Fri, 5 Jun 2015 11:49:22 +0000 (14:49 +0300)]
Issue #24148: Fix incorrect Stats.sort_stats() example.

"cum" is not a valid argument.

Patch by Brandon Milam.

9 years agoIssue #24148: Fix incorrect Stats.sort_stats() example.
Berker Peksag [Fri, 5 Jun 2015 11:48:55 +0000 (14:48 +0300)]
Issue #24148: Fix incorrect Stats.sort_stats() example.

"cum" is not a valid argument.

Patch by Brandon Milam.

9 years agoIssue #24148: Fix incorrect Stats.sort_stats() example.
Berker Peksag [Fri, 5 Jun 2015 11:48:29 +0000 (14:48 +0300)]
Issue #24148: Fix incorrect Stats.sort_stats() example.

"cum" is not a valid argument.

Patch by Brandon Milam.

9 years agomerge 3.5
Benjamin Peterson [Thu, 4 Jun 2015 19:34:43 +0000 (14:34 -0500)]
merge 3.5

9 years agofix refleak when keys() fails
Benjamin Peterson [Thu, 4 Jun 2015 19:34:20 +0000 (14:34 -0500)]
fix refleak when keys() fails

9 years agoMerge 3.5
Yury Selivanov [Thu, 4 Jun 2015 15:10:36 +0000 (11:10 -0400)]
Merge 3.5

9 years agoDocs: Fix typo
Yury Selivanov [Thu, 4 Jun 2015 15:10:24 +0000 (11:10 -0400)]
Docs: Fix typo

9 years agoIssue 24374: Plug refleak in set_coroutine_wrapper
Yury Selivanov [Thu, 4 Jun 2015 14:17:25 +0000 (10:17 -0400)]
Issue 24374: Plug refleak in set_coroutine_wrapper

(Merge 3.5)

9 years agoIssue 24374: Plug refleak in set_coroutine_wrapper
Yury Selivanov [Thu, 4 Jun 2015 14:16:51 +0000 (10:16 -0400)]
Issue 24374: Plug refleak in set_coroutine_wrapper

9 years agoMerge fix for issue #24373 from 3.5
Nick Coghlan [Thu, 4 Jun 2015 11:58:16 +0000 (21:58 +1000)]
Merge fix for issue #24373 from 3.5

9 years agoIssue #24373: Eliminate PEP 489 test refleaks
Nick Coghlan [Thu, 4 Jun 2015 11:52:57 +0000 (21:52 +1000)]
Issue #24373: Eliminate PEP 489 test refleaks

_testmultiphase and xxlimited now use tp_traverse and
tp_finalize to avoid reference leaks encountered when
combining tp_dealloc with PyType_FromSpec (see
issue #16690 for details)

9 years agoMerge from 3.5.
Eric Snow [Thu, 4 Jun 2015 06:12:14 +0000 (00:12 -0600)]
Merge from 3.5.

9 years agoIssue #24369: Defend against key-changes during iteration.
Eric Snow [Thu, 4 Jun 2015 06:09:56 +0000 (00:09 -0600)]
Issue #24369: Defend against key-changes during iteration.

9 years agoUpdate typing.py: remove isinstance() support (Mark struck it from the PEP).
Guido van Rossum [Thu, 4 Jun 2015 02:04:42 +0000 (19:04 -0700)]
Update typing.py: remove isinstance() support (Mark struck it from the PEP).

9 years agoIssue #24376: Bumps xxlimited.vcxproj to use 3.6 limited ABI.
Steve Dower [Wed, 3 Jun 2015 18:05:57 +0000 (11:05 -0700)]
Issue #24376: Bumps xxlimited.vcxproj to use 3.6 limited ABI.

9 years agoIssue #24376: xxlimited.c errors when building 32 and 64 bit on Windows
Steve Dower [Wed, 3 Jun 2015 18:04:44 +0000 (11:04 -0700)]
Issue #24376: xxlimited.c errors when building 32 and 64 bit on Windows

9 years agoIssue #24376: xxlimited.c errors when building 32 and 64 bit on Windows
Steve Dower [Wed, 3 Jun 2015 18:03:15 +0000 (11:03 -0700)]
Issue #24376: xxlimited.c errors when building 32 and 64 bit on Windows

9 years agoMerge from 3.5.
Eric Snow [Wed, 3 Jun 2015 17:11:22 +0000 (11:11 -0600)]
Merge from 3.5.

9 years agoIssue #24377: Fix a ref leak in OrderedDict.__repr__.
Eric Snow [Wed, 3 Jun 2015 17:09:48 +0000 (11:09 -0600)]
Issue #24377: Fix a ref leak in OrderedDict.__repr__.

9 years agoMerge from 3.5.
Eric Snow [Wed, 3 Jun 2015 16:54:05 +0000 (10:54 -0600)]
Merge from 3.5.

9 years agoIssue #24362: Simplify the C OrderedDict fast nodes resize logic.
Eric Snow [Wed, 3 Jun 2015 16:50:37 +0000 (10:50 -0600)]
Issue #24362: Simplify the C OrderedDict fast nodes resize logic.

9 years agomerge 3.5
Benjamin Peterson [Wed, 3 Jun 2015 05:04:52 +0000 (00:04 -0500)]
merge 3.5

9 years agoupgrade xxlimited abi to 3.5
Benjamin Peterson [Wed, 3 Jun 2015 05:04:46 +0000 (00:04 -0500)]
upgrade xxlimited abi to 3.5

9 years agoMerge from 3.5.
Eric Snow [Wed, 3 Jun 2015 02:43:37 +0000 (20:43 -0600)]
Merge from 3.5.

9 years agoIssue #24368: Support keyword arguments in OrderedDict methods.
Eric Snow [Wed, 3 Jun 2015 02:42:14 +0000 (20:42 -0600)]
Issue #24368: Support keyword arguments in OrderedDict methods.

9 years agoIssue 24342: No need to use PyAPI_FUNC for _PyEval_ApplyCoroutineWrapper
Yury Selivanov [Wed, 3 Jun 2015 02:30:51 +0000 (22:30 -0400)]
Issue 24342: No need to use PyAPI_FUNC for _PyEval_ApplyCoroutineWrapper

(Merge 3.5)

9 years agoIssue 24342: No need to use PyAPI_FUNC for _PyEval_ApplyCoroutineWrapper
Yury Selivanov [Wed, 3 Jun 2015 02:30:31 +0000 (22:30 -0400)]
Issue 24342: No need to use PyAPI_FUNC for _PyEval_ApplyCoroutineWrapper

9 years agoIssue 24365: Merge 3.5
Yury Selivanov [Tue, 2 Jun 2015 23:07:17 +0000 (19:07 -0400)]
Issue 24365: Merge 3.5

9 years agoIssue 24365: Conditionalize PEP 489 additions to the stable ABI
Yury Selivanov [Tue, 2 Jun 2015 23:06:47 +0000 (19:06 -0400)]
Issue 24365: Conditionalize PEP 489 additions to the stable ABI

Patch by Petr Viktorin.

9 years agoIssue 24366: Merge 3.5
Yury Selivanov [Tue, 2 Jun 2015 22:54:44 +0000 (18:54 -0400)]
Issue 24366: Merge 3.5

9 years agoIssue 24366: Merge 3.4
Yury Selivanov [Tue, 2 Jun 2015 22:54:31 +0000 (18:54 -0400)]
Issue 24366: Merge 3.4

9 years agoIssue 24366: Merge 3.3
Yury Selivanov [Tue, 2 Jun 2015 22:54:09 +0000 (18:54 -0400)]
Issue 24366: Merge 3.3

9 years agoIssue 24366: Indent code (thanks to li4ick for reporting).
Yury Selivanov [Tue, 2 Jun 2015 22:53:46 +0000 (18:53 -0400)]
Issue 24366: Indent code (thanks to li4ick for reporting).

9 years agoIssue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
Yury Selivanov [Tue, 2 Jun 2015 22:45:11 +0000 (18:45 -0400)]
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully

(Merge 3.5)

9 years agoIssue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
Yury Selivanov [Tue, 2 Jun 2015 22:43:51 +0000 (18:43 -0400)]
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully

9 years agomerge update to pip/setuptools
Donald Stufft [Tue, 2 Jun 2015 15:40:15 +0000 (11:40 -0400)]
merge update to pip/setuptools

9 years agoMerge update to pip/setuptools
Donald Stufft [Tue, 2 Jun 2015 15:39:55 +0000 (11:39 -0400)]
Merge update to pip/setuptools

9 years agoUpgrade pip to 7.0.3 and setuptools to 17.0
Donald Stufft [Tue, 2 Jun 2015 15:39:31 +0000 (11:39 -0400)]
Upgrade pip to 7.0.3 and setuptools to 17.0

9 years agoMerge the fix for #24267
Donald Stufft [Tue, 2 Jun 2015 14:38:21 +0000 (10:38 -0400)]
Merge the fix for #24267

9 years agoMerge the fix for #24267
Donald Stufft [Tue, 2 Jun 2015 14:38:01 +0000 (10:38 -0400)]
Merge the fix for #24267

9 years agoCloses #24267 - Does not check version on ensurepip uninstall
Donald Stufft [Tue, 2 Jun 2015 14:37:08 +0000 (10:37 -0400)]
Closes #24267 - Does not check version on ensurepip uninstall

Ensure that the uninstall helper for Windows passes the proper
flags to pip to prevent it from checking PyPI if the pip that
we're currently attempting to uninstall is the latest verison.

9 years agoMerge from 3.5.
Eric Snow [Tue, 2 Jun 2015 05:35:40 +0000 (23:35 -0600)]
Merge from 3.5.

9 years agoIssue #24359: Check for changed OrderedDict size during iteration.
Eric Snow [Tue, 2 Jun 2015 05:35:13 +0000 (23:35 -0600)]
Issue #24359: Check for changed OrderedDict size during iteration.

9 years agoMerge from 3.5.
Eric Snow [Tue, 2 Jun 2015 05:14:26 +0000 (23:14 -0600)]
Merge from 3.5.