]> granicus.if.org Git - python/log
python
8 years agoIssue #28896: Deprecate WindowsRegistryFinder
Steve Dower [Wed, 7 Dec 2016 21:02:27 +0000 (13:02 -0800)]
Issue #28896: Deprecate WindowsRegistryFinder
(grafted from 25df9671663b5f8b1560d58d8842f9676f6dffc2)

8 years agoguard HAVE_LONG_LONG definition to prevent redefinition (#28898)
Benjamin Peterson [Thu, 8 Dec 2016 07:54:28 +0000 (23:54 -0800)]
guard HAVE_LONG_LONG definition to prevent redefinition (#28898)
(grafted from 4745d801cae2d57e3432313acd0b76b8b4cc9c75)

8 years agoIssue #28900: Update documentation sidebar for 3.6.0rc.
Ned Deily [Thu, 8 Dec 2016 04:37:12 +0000 (23:37 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.

8 years agoIssue #28635: Drop the note that whatsnew is incomplete
Yury Selivanov [Thu, 8 Dec 2016 00:19:56 +0000 (16:19 -0800)]
Issue #28635: Drop the note that whatsnew is incomplete
(grafted from d12bc674b74eee73365e38fad1f170ed3349bd59)

8 years agoAdded tag v3.6.0rc1 for changeset 29a273eee9a5
Ned Deily [Wed, 7 Dec 2016 00:04:14 +0000 (19:04 -0500)]
Added tag v3.6.0rc1 for changeset 29a273eee9a5

8 years agoVersion bump for 3.6.0rc1 v3.6.0rc1
Ned Deily [Wed, 7 Dec 2016 00:02:30 +0000 (19:02 -0500)]
Version bump for 3.6.0rc1

8 years agoUpdate pydoc topics for 3.6.0rc1
Ned Deily [Tue, 6 Dec 2016 23:53:16 +0000 (18:53 -0500)]
Update pydoc topics for 3.6.0rc1

8 years agoRegenerate configure with autoconf 2.69.
Ned Deily [Tue, 6 Dec 2016 22:31:32 +0000 (17:31 -0500)]
Regenerate configure with autoconf 2.69.

8 years agoIssue #28835: Tidy previous showwarning changes based on review comments.
Ned Deily [Tue, 6 Dec 2016 22:12:47 +0000 (17:12 -0500)]
Issue #28835: Tidy previous showwarning changes based on review comments.
Patch by Serhiy Storchaka.

8 years agoUpdate the Mac installer README file for 3.6.0.
Ned Deily [Tue, 6 Dec 2016 22:00:44 +0000 (17:00 -0500)]
Update the Mac installer README file for 3.6.0.

8 years agoIssue #27030: Unknown escapes in re.sub() replacement template are allowed
Serhiy Storchaka [Tue, 6 Dec 2016 17:15:29 +0000 (19:15 +0200)]
Issue #27030: Unknown escapes in re.sub() replacement template are allowed
again.  But they still are deprecated and will be disabled in 3.7.

8 years agoFixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:45:44 +0000 (13:45 +0200)]
Fixed misplaced comment.

8 years agoFixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.

8 years agowarnings: Fix the issue number
Victor Stinner [Tue, 6 Dec 2016 10:02:12 +0000 (11:02 +0100)]
warnings: Fix the issue number

The fix for catch_warnings() is the issue #28835 (not the issue #28089).

8 years agocatch_warnings() calls showwarning() if overriden
Victor Stinner [Tue, 6 Dec 2016 09:53:52 +0000 (10:53 +0100)]
catch_warnings() calls showwarning() if overriden

Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overriden inside the context manager.

8 years agomerge 3.5
Benjamin Peterson [Tue, 6 Dec 2016 06:31:12 +0000 (22:31 -0800)]
merge 3.5

8 years agorm unused import
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import

8 years agoIssue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:17:45 +0000 (00:17 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.

8 years agoIssue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.

8 years agoIssue #23722: improve __classcell__ compatibility
Nick Coghlan [Mon, 5 Dec 2016 06:47:55 +0000 (16:47 +1000)]
Issue #23722: improve __classcell__ compatibility

Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.

The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).

The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.

This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.

8 years agoNeaten-up and extend the examples in the random module docs.
Raymond Hettinger [Sun, 4 Dec 2016 19:00:34 +0000 (11:00 -0800)]
Neaten-up and extend the examples in the random module docs.

8 years agoFixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:43:37 +0000 (15:43 +0200)]
Fixed mismatching title overline.

8 years agoFixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.

8 years agoFixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:22:09 +0000 (10:22 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.

8 years agoFixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:55 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.

8 years agoRevert unintended merge
Steve Dower [Sat, 3 Dec 2016 23:57:00 +0000 (15:57 -0800)]
Revert unintended merge

8 years agoEnsures intermediate directory is created before using it
Steve Dower [Sat, 3 Dec 2016 19:56:44 +0000 (11:56 -0800)]
Ensures intermediate directory is created before using it

8 years agoEnsures intermediate directory is created before accessing it.
Steve Dower [Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)]
Ensures intermediate directory is created before accessing it.

8 years agoIssue #28846: Various installer fixes
Steve Dower [Sat, 3 Dec 2016 19:24:02 +0000 (11:24 -0800)]
Issue #28846: Various installer fixes

8 years agoIssue #28846: Various installer fixes
Steve Dower [Sat, 3 Dec 2016 19:18:53 +0000 (11:18 -0800)]
Issue #28846: Various installer fixes

8 years agoMerge heads
Serhiy Storchaka [Fri, 2 Dec 2016 21:34:24 +0000 (23:34 +0200)]
Merge heads

8 years agoIssue #21818: Fixed references to classes that have names matching with module
Serhiy Storchaka [Fri, 2 Dec 2016 21:15:22 +0000 (23:15 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.

8 years agoIssue #21818: Fixed references to classes that have names matching with module
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:53 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.

8 years agoIssue #27172: Undeprecate inspect.getfullargspec()
Nick Coghlan [Fri, 2 Dec 2016 10:29:57 +0000 (20:29 +1000)]
Issue #27172: Undeprecate inspect.getfullargspec()

This is still useful for single source Python 2/3 code
migrating away from inspect.getargspec(), but that wasn't
clear with the documented deprecation in place.

8 years ago - Import latest config.sub config.guess files
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:56 +0000 (21:42 +0100)]
 - Import latest config.sub config.guess files

8 years agoIssue #28843: Fix asyncio C Task to handle exceptions __traceback__.
Yury Selivanov [Thu, 1 Dec 2016 16:36:22 +0000 (11:36 -0500)]
Issue #28843: Fix asyncio C Task to handle exceptions __traceback__.

8 years agoIssue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6)
Guido van Rossum [Tue, 29 Nov 2016 17:46:26 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L) (3.5->3.6)

8 years agoIssue #28790: Fix error when using Generic and __slots__ (Ivan L)
Guido van Rossum [Tue, 29 Nov 2016 17:46:21 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L)

8 years agoAdd TCP_CONGESTION and TCP_USER_TIMEOUT
Victor Stinner [Tue, 29 Nov 2016 15:55:04 +0000 (16:55 +0100)]
Add TCP_CONGESTION and TCP_USER_TIMEOUT

Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and
socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants.

Patch written by Omar Sandoval.

8 years ago Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
Serhiy Storchaka [Tue, 29 Nov 2016 07:54:17 +0000 (09:54 +0200)]
 Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
 a descriptor that is used inside that class no longer prevents calling the
 __set_name__ method of other descriptors.

8 years agoIssue #28635: Document Python 3.6 opcode changes
Yury Selivanov [Mon, 28 Nov 2016 16:45:36 +0000 (11:45 -0500)]
Issue #28635: Document Python 3.6 opcode changes

Thanks to Serhiy Storchaka for pointing out the missing notes.

Patch by Elvis Pranskevichus.

8 years agoFix grammar in whatsnew
Zachary Ware [Mon, 28 Nov 2016 06:19:07 +0000 (00:19 -0600)]
Fix grammar in whatsnew

8 years agoMerge 3.5, fix for #24142
Łukasz Langa [Sat, 26 Nov 2016 22:02:48 +0000 (14:02 -0800)]
Merge 3.5, fix for #24142

8 years agoFixes #24142: [configparser] always join multiline values to not leave the parser...
Łukasz Langa [Sat, 26 Nov 2016 22:00:39 +0000 (14:00 -0800)]
Fixes #24142: [configparser] always join multiline values to not leave the parser in an invalid state

8 years agoIssue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
Serhiy Storchaka [Sat, 26 Nov 2016 11:49:59 +0000 (13:49 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.

8 years agoIssue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
Serhiy Storchaka [Sat, 26 Nov 2016 11:43:28 +0000 (13:43 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.

8 years agoMerge from 3.5
Berker Peksag [Fri, 25 Nov 2016 17:10:30 +0000 (20:10 +0300)]
Merge from 3.5

8 years agoAdd missing square bracket in typing.get_type_hints()
Berker Peksag [Fri, 25 Nov 2016 17:10:07 +0000 (20:10 +0300)]
Add missing square bracket in typing.get_type_hints()

8 years agoIssue #28738: Merge from 3.6
Berker Peksag [Fri, 25 Nov 2016 16:47:43 +0000 (19:47 +0300)]
Issue #28738: Merge from 3.6

8 years agoIssue #28738: Document SIGBREAK as an acceptable value on Windows
Berker Peksag [Fri, 25 Nov 2016 16:46:57 +0000 (19:46 +0300)]
Issue #28738: Document SIGBREAK as an acceptable value on Windows

Patch by Wojtek Ruszczewski.

8 years agoIssue #28793: Fix c/p error in AsyncGenerator documentation
Berker Peksag [Fri, 25 Nov 2016 14:31:27 +0000 (17:31 +0300)]
Issue #28793: Fix c/p error in AsyncGenerator documentation

Patch by Julien Palard.

8 years agoFix _PyGen_yf()
Victor Stinner [Thu, 24 Nov 2016 21:33:01 +0000 (22:33 +0100)]
Fix _PyGen_yf()

Issue #28782: Fix a bug in the implementation ``yield from`` when checking
if the next instruction is YIELD_FROM. Regression introduced by WORDCODE
(issue #26647).

Reviewed by Serhiy Storchaka and Yury Selivanov.

8 years agoIssue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6)
Guido van Rossum [Thu, 24 Nov 2016 19:56:40 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6)

8 years agoIssue #28773: Add typing.FrozenSet docs. (Manuel Krebber)
Guido van Rossum [Thu, 24 Nov 2016 19:56:00 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber)

8 years agoIssue #27100: Silence deprecation warning in Lib/test/test_with.py
Raymond Hettinger [Thu, 24 Nov 2016 18:50:34 +0000 (10:50 -0800)]
Issue #27100:  Silence deprecation warning in Lib/test/test_with.py

8 years agoIssue #28532: Add what's new entry for python -VV option
INADA Naoki [Thu, 24 Nov 2016 08:20:40 +0000 (17:20 +0900)]
Issue #28532: Add what's new entry for python -VV option

8 years agoIssue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst...
Steve Dower [Wed, 23 Nov 2016 19:42:35 +0000 (11:42 -0800)]
Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command.

8 years agoIssue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst...
Steve Dower [Wed, 23 Nov 2016 18:23:47 +0000 (10:23 -0800)]
Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command.

8 years agoIssue #27100: Fix ref leak
Raymond Hettinger [Tue, 22 Nov 2016 19:50:40 +0000 (11:50 -0800)]
Issue #27100:  Fix ref leak

8 years agoIssue #28573: Missing sys._mercurial info and other build issues.
Steve Dower [Tue, 22 Nov 2016 19:48:52 +0000 (11:48 -0800)]
Issue #28573: Missing sys._mercurial info and other build issues.

8 years agoIssue #28727: Optimize pattern_richcompare() for a==a
Victor Stinner [Tue, 22 Nov 2016 14:30:38 +0000 (15:30 +0100)]
Issue #28727: Optimize pattern_richcompare() for a==a

A pattern is equal to itself.

8 years agoIssue #28727: Fix typo in pattern_richcompare()
Victor Stinner [Tue, 22 Nov 2016 14:23:00 +0000 (15:23 +0100)]
Issue #28727: Fix typo in pattern_richcompare()

Typo catched by Serhiy Storchaka, thanks!

8 years agoIssue #28023: Fix python-gdb.py on old GDB versions
Victor Stinner [Tue, 22 Nov 2016 12:09:39 +0000 (13:09 +0100)]
Issue #28023: Fix python-gdb.py on old GDB versions

Replace int(value.address)+offset with value.cast(unsigned char*)+offset.

It seems like int(value.address) fails on old versions of GDB.

8 years agoIssue #28023: Fix python-gdb.py didn't support new dict implementation
INADA Naoki [Tue, 22 Nov 2016 10:40:58 +0000 (19:40 +0900)]
Issue #28023: Fix python-gdb.py didn't support new dict implementation

8 years agoStart 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3....
Ned Deily [Tue, 22 Nov 2016 06:21:04 +0000 (01:21 -0500)]
Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3. It is now b4+ again.)

8 years agoAdded tag v3.6.0b4 for changeset 18496abdb3d5
Ned Deily [Tue, 22 Nov 2016 04:31:39 +0000 (23:31 -0500)]
Added tag v3.6.0b4 for changeset 18496abdb3d5

8 years agoVersion bump for 3.6.0b4 v3.6.0b4
Ned Deily [Tue, 22 Nov 2016 04:30:55 +0000 (23:30 -0500)]
Version bump for 3.6.0b4

8 years agoUpdate pydoc topics for 3.6.0b4
Ned Deily [Tue, 22 Nov 2016 04:24:38 +0000 (23:24 -0500)]
Update pydoc topics for 3.6.0b4

8 years agoIssue #27100: With statement reports missing __enter__ before __exit__. (Contribute...
Raymond Hettinger [Tue, 22 Nov 2016 01:24:23 +0000 (17:24 -0800)]
Issue #27100:  With statement reports missing __enter__ before __exit__.  (Contributed by Jonathan Ellington.)

8 years agoIssue #26163: Disable periodically failing test which was overly demanding of the...
Raymond Hettinger [Tue, 22 Nov 2016 00:59:04 +0000 (16:59 -0800)]
Issue #26163:  Disable periodically failing test which was overly demanding of the frozenset hash function effectiveness

8 years agoIssue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.)
Raymond Hettinger [Tue, 22 Nov 2016 00:48:10 +0000 (16:48 -0800)]
Issue #5830:  Add test for ee476248a74a.  (Contributed by Serhiy Storchaka.)

8 years agoIssue #27825: Improve for statistics data arguments. (Contributed by Mariatta Wijaya.)
Raymond Hettinger [Tue, 22 Nov 2016 00:31:02 +0000 (16:31 -0800)]
Issue #27825: Improve for statistics data arguments. (Contributed by Mariatta Wijaya.)

8 years agoIssue #28587: Improve list examples in the tutorial
Raymond Hettinger [Tue, 22 Nov 2016 00:29:50 +0000 (16:29 -0800)]
Issue #28587: Improve list examples in the tutorial

8 years agoIssue #28743: Reduce memory consumption for random module tests
Raymond Hettinger [Mon, 21 Nov 2016 23:32:08 +0000 (15:32 -0800)]
Issue #28743:  Reduce memory consumption for random module tests

8 years agoFix grammar
Raymond Hettinger [Mon, 21 Nov 2016 23:13:18 +0000 (15:13 -0800)]
Fix grammar

8 years agoIssue 28587: list.index documentation missing start and stop arguments. (Contributed...
Raymond Hettinger [Mon, 21 Nov 2016 23:12:54 +0000 (15:12 -0800)]
Issue 28587:  list.index documentation missing start and stop arguments. (Contributed by Mariatta Wijaya.)

8 years agoMerge 3.5 (issue #28652)
Yury Selivanov [Mon, 21 Nov 2016 22:47:41 +0000 (17:47 -0500)]
Merge 3.5 (issue #28652)

8 years agoIssue #28652: Partially rollback previous changes
Yury Selivanov [Mon, 21 Nov 2016 22:47:27 +0000 (17:47 -0500)]
Issue #28652: Partially rollback previous changes

Allow AF_UNIX in create_server & create_connection

8 years agoIssue 28475: Improve error message for random.sample() with k < 0. (Contributed...
Raymond Hettinger [Mon, 21 Nov 2016 22:34:33 +0000 (14:34 -0800)]
Issue 28475:  Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo).

8 years agoIssue #28752: Restored the __reduce__() methods of datetime objects.
Serhiy Storchaka [Mon, 21 Nov 2016 22:29:42 +0000 (00:29 +0200)]
Issue #28752: Restored the __reduce__() methods of datetime objects.

8 years agoIssue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).
Raymond Hettinger [Mon, 21 Nov 2016 22:24:32 +0000 (14:24 -0800)]
Issue 28751: Fix comments in code.h.  (Contributed by Ned Batchelder).

8 years agoAdd analysis section to motivate the single server queue example
Raymond Hettinger [Mon, 21 Nov 2016 22:13:07 +0000 (14:13 -0800)]
Add analysis section to motivate the single server queue example

8 years agoMisc readability and organization improvements for the random docs
Raymond Hettinger [Mon, 21 Nov 2016 20:33:50 +0000 (12:33 -0800)]
Misc readability and organization improvements for the random docs

8 years agoAdd a seealso section for further reference and skill building
Raymond Hettinger [Mon, 21 Nov 2016 18:52:04 +0000 (10:52 -0800)]
Add a seealso section for further reference and skill building

8 years agoSimplify code in an example
Raymond Hettinger [Mon, 21 Nov 2016 18:16:01 +0000 (10:16 -0800)]
Simplify code in an example

8 years agoclose issue28172: Change all example enum member names to uppercase, per Guido; patch...
Ethan Furman [Mon, 21 Nov 2016 17:22:05 +0000 (09:22 -0800)]
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.

8 years agoissue28082: actually include NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:39:32 +0000 (08:39 -0800)]
issue28082: actually include NEWS entry

8 years agocloses issue28082: doc update and NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:29:31 +0000 (08:29 -0800)]
closes issue28082: doc update and NEWS entry

8 years agocloses issue23591: add NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:28:56 +0000 (08:28 -0800)]
closes issue23591: add NEWS entry

8 years agoIssue #28688: Null merge 3.5
Victor Stinner [Mon, 21 Nov 2016 15:45:19 +0000 (16:45 +0100)]
Issue #28688: Null merge 3.5

The Python 3.5 change must not be applied to Python 3.6.

8 years agoIssue #28688: Remove warnings.filters check from regrtest
Victor Stinner [Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)]
Issue #28688: Remove warnings.filters check from regrtest

Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.

The check is kept in Python 3.6 and newer.

8 years agoImplement rich comparison for _sre.SRE_Pattern
Victor Stinner [Mon, 21 Nov 2016 15:35:08 +0000 (16:35 +0100)]
Implement rich comparison for _sre.SRE_Pattern

Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by
re.compile(), become comparable (only x==y and x!=y operators). This change
should fix the issue #18383: don't duplicate warning filters when the warnings
module is reloaded (thing usually only done in unit tests).

8 years agoFix up grammar, markup, etc in 3.6 What’s New
Martin Panter [Mon, 21 Nov 2016 13:38:59 +0000 (13:38 +0000)]
Fix up grammar, markup, etc in 3.6 What’s New

8 years agoMerge doc fixup from 3.5
Martin Panter [Mon, 21 Nov 2016 13:40:40 +0000 (13:40 +0000)]
Merge doc fixup from 3.5

8 years agoFix indentation
Martin Panter [Mon, 21 Nov 2016 13:36:36 +0000 (13:36 +0000)]
Fix indentation

8 years agoIssue #28532: Show sys.version when -V option is supplied twice
INADA Naoki [Mon, 21 Nov 2016 11:57:14 +0000 (20:57 +0900)]
Issue #28532: Show sys.version when -V option is supplied twice

8 years agoExtend and improve the examples for the random module
Raymond Hettinger [Mon, 21 Nov 2016 09:59:39 +0000 (01:59 -0800)]
Extend and improve the examples for the random module

8 years agoIssue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Serhiy Storchaka [Mon, 21 Nov 2016 09:46:51 +0000 (11:46 +0200)]
Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Patch by Xiang Zhang.

8 years agoFixed the documentation of the structure PyMethodDef.
Serhiy Storchaka [Mon, 21 Nov 2016 09:38:14 +0000 (11:38 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".

8 years agoFixed the documentation of the structure PyMethodDef.
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".