]> granicus.if.org Git - python/log
python
10 years agoSphinx extension: move imports to the module top
Georg Brandl [Thu, 30 Oct 2014 21:55:13 +0000 (22:55 +0100)]
Sphinx extension: move imports to the module top

10 years agopyporting howto: fix link target
Georg Brandl [Thu, 30 Oct 2014 21:52:02 +0000 (22:52 +0100)]
pyporting howto: fix link target

10 years agodistutils example: fix invalid rst in description string
Georg Brandl [Thu, 30 Oct 2014 21:50:46 +0000 (22:50 +0100)]
distutils example: fix invalid rst in description string

10 years agorstlint: make the "html leaked markup" regex a bit less sensitive
Georg Brandl [Thu, 30 Oct 2014 21:49:54 +0000 (22:49 +0100)]
rstlint: make the "html leaked markup" regex a bit less sensitive

10 years agominor markup fix: no inline markup is allowed in a module synopsis
Georg Brandl [Thu, 30 Oct 2014 21:45:27 +0000 (22:45 +0100)]
minor markup fix: no inline markup is allowed in a module synopsis

10 years agorstlint: we do not use svn anymore
Georg Brandl [Thu, 30 Oct 2014 21:44:41 +0000 (22:44 +0100)]
rstlint: we do not use svn anymore

10 years agorstlint: add more directives we use
Georg Brandl [Thu, 30 Oct 2014 21:35:55 +0000 (22:35 +0100)]
rstlint: add more directives we use

10 years agoDoc/contents: avoid false positive in rstlint
Georg Brandl [Thu, 30 Oct 2014 21:31:32 +0000 (22:31 +0100)]
Doc/contents: avoid false positive in rstlint

10 years agorstlint: recognize "deprecated-removed" directive
Georg Brandl [Thu, 30 Oct 2014 21:30:01 +0000 (22:30 +0100)]
rstlint: recognize "deprecated-removed" directive

10 years agoDoc: fix default role usage (except in unittest mock docs)
Georg Brandl [Thu, 30 Oct 2014 21:26:26 +0000 (22:26 +0100)]
Doc: fix default role usage (except in unittest mock docs)

10 years agoIssue #8876: distutils now falls back to copying files when hard linking doesn't...
Antoine Pitrou [Thu, 30 Oct 2014 18:37:07 +0000 (19:37 +0100)]
Issue #8876: distutils now falls back to copying files when hard linking doesn't work.

This allows use with special filesystems such as VirtualBox shared folders.

10 years agoIssue #22762: Fix _Py_DisplaySourceLine(), clear the exception if
Victor Stinner [Thu, 30 Oct 2014 09:17:27 +0000 (10:17 +0100)]
Issue #22762: Fix _Py_DisplaySourceLine(), clear the exception if
PyFile_GetLine() failed. Patch written by Xavier de Gaye.

10 years agoIssue #22173: Update lib2to3 tests to use unittest test discovery.
Zachary Ware [Wed, 29 Oct 2014 17:24:59 +0000 (12:24 -0500)]
Issue #22173: Update lib2to3 tests to use unittest test discovery.

10 years agoFixing broken links in doc, part 4: some more breaks and redirects
Georg Brandl [Wed, 29 Oct 2014 09:57:37 +0000 (10:57 +0100)]
Fixing broken links in doc, part 4: some more breaks and redirects

10 years agolinkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.pytho...
Georg Brandl [Wed, 29 Oct 2014 09:57:01 +0000 (10:57 +0100)]
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).

10 years agoFixing broken links in doc, part 3: the rest
Georg Brandl [Wed, 29 Oct 2014 09:26:56 +0000 (10:26 +0100)]
Fixing broken links in doc, part 3: the rest

10 years agoFixing broken links in doc, part 2: howto/
Georg Brandl [Wed, 29 Oct 2014 08:37:43 +0000 (09:37 +0100)]
Fixing broken links in doc, part 2: howto/

10 years agoFixing broken links in doc, part 1: faq/
Georg Brandl [Wed, 29 Oct 2014 08:24:54 +0000 (09:24 +0100)]
Fixing broken links in doc, part 1: faq/

10 years agoFix external links to docs.python.org to use internal links instead.
Georg Brandl [Wed, 29 Oct 2014 08:00:30 +0000 (09:00 +0100)]
Fix external links to docs.python.org to use internal links instead.

10 years agoRemove now-dead link to IDLE debugger doc and add PyCharm to the commercial IDEs.
Georg Brandl [Wed, 29 Oct 2014 07:55:14 +0000 (08:55 +0100)]
Remove now-dead link to IDLE debugger doc and add PyCharm to the commercial IDEs.

10 years agoUpdate "where is python.org hosted" FAQ.
Georg Brandl [Wed, 29 Oct 2014 07:52:43 +0000 (08:52 +0100)]
Update "where is python.org hosted" FAQ.

10 years agoUse https:// URLs when referring to python.org hosts.
Georg Brandl [Wed, 29 Oct 2014 07:36:35 +0000 (08:36 +0100)]
Use https:// URLs when referring to python.org hosts.

10 years agoUse https:// URLs in the HTML templates.
Georg Brandl [Wed, 29 Oct 2014 07:36:15 +0000 (08:36 +0100)]
Use https:// URLs in the HTML templates.

10 years agoDoc readme: Fix markup, use https:// URLs.
Georg Brandl [Wed, 29 Oct 2014 07:18:43 +0000 (08:18 +0100)]
Doc readme: Fix markup, use https:// URLs.

10 years agoAdjust the author field of the .tex files to reflect that docs are now maintained...
Georg Brandl [Wed, 29 Oct 2014 07:14:04 +0000 (08:14 +0100)]
Adjust the author field of the .tex files to reflect that docs are now maintained by all of us

10 years agoMove HTML templates to their own subdir.
Georg Brandl [Wed, 29 Oct 2014 07:11:46 +0000 (08:11 +0100)]
Move HTML templates to their own subdir.

10 years agoMove Sphinx extensions to their own subdir.
Georg Brandl [Wed, 29 Oct 2014 07:07:37 +0000 (08:07 +0100)]
Move Sphinx extensions to their own subdir.

10 years agoRemove a few config values that keep the default values, move values to the correct...
Georg Brandl [Wed, 29 Oct 2014 07:04:27 +0000 (08:04 +0100)]
Remove a few config values that keep the default values, move values to the correct section

10 years agoRemove deprecated and now unnecessary config value from conf.py.
Georg Brandl [Wed, 29 Oct 2014 06:58:34 +0000 (07:58 +0100)]
Remove deprecated and now unnecessary config value from conf.py.

10 years agoFix link to ABOP install chapter.
Georg Brandl [Tue, 28 Oct 2014 22:00:25 +0000 (23:00 +0100)]
Fix link to ABOP install chapter.

10 years agoFix module name.
Georg Brandl [Tue, 28 Oct 2014 21:58:24 +0000 (22:58 +0100)]
Fix module name.

10 years agoUsing "-m module" is easier to read and understand than "-mmodule".
Georg Brandl [Tue, 28 Oct 2014 21:54:24 +0000 (22:54 +0100)]
Using "-m module" is easier to read and understand than "-mmodule".

10 years agoUpdate Opensolaris advice to OpenCSW instead of defunct Blastwave.
Georg Brandl [Tue, 28 Oct 2014 21:52:49 +0000 (22:52 +0100)]
Update Opensolaris advice to OpenCSW instead of defunct Blastwave.

10 years agoCloses #22249: use IPPROTO_TCP constant instead of SOL_TCP constant for getaddrinfo...
Georg Brandl [Tue, 28 Oct 2014 21:45:27 +0000 (22:45 +0100)]
Closes #22249: use IPPROTO_TCP constant instead of SOL_TCP constant for getaddrinfo() proto param

10 years agoRemove duplicate bullet point.
Georg Brandl [Tue, 28 Oct 2014 21:40:48 +0000 (22:40 +0100)]
Remove duplicate bullet point.

10 years agoFix typo.
Georg Brandl [Tue, 28 Oct 2014 21:24:46 +0000 (22:24 +0100)]
Fix typo.

10 years agoCloses #22736: move seealso to the bottom of the section about RE syntax.
Georg Brandl [Tue, 28 Oct 2014 20:41:51 +0000 (21:41 +0100)]
Closes #22736: move seealso to the bottom of the section about RE syntax.

10 years agoCloses #22748: there are no PyString C functions in 3.x.
Georg Brandl [Tue, 28 Oct 2014 20:38:49 +0000 (21:38 +0100)]
Closes #22748: there are no PyString C functions in 3.x.

10 years agoCloses #22749: remove outdated advice to use clock() for accurate timing.
Georg Brandl [Tue, 28 Oct 2014 20:35:35 +0000 (21:35 +0100)]
Closes #22749: remove outdated advice to use clock() for accurate timing.

10 years agoPYTHONY2K is long gone. Remove traces from the docs and manpage.
Georg Brandl [Tue, 28 Oct 2014 16:15:10 +0000 (17:15 +0100)]
PYTHONY2K is long gone. Remove traces from the docs and manpage.

10 years ago#22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
Ezio Melotti [Tue, 28 Oct 2014 14:07:14 +0000 (15:07 +0100)]
#22196: link to Enum in the nametuple documentation.  Patch by Karmen Dykstra.

10 years ago#22237: fix patch attribution.
Ezio Melotti [Tue, 28 Oct 2014 12:58:36 +0000 (13:58 +0100)]
#22237: fix patch attribution.

10 years ago#22237: document that sorted() is guaranteed to be stable. Initial patch by Martin...
Ezio Melotti [Tue, 28 Oct 2014 11:57:11 +0000 (12:57 +0100)]
#22237: document that sorted() is guaranteed to be stable.  Initial patch by Martin Panter.

10 years agoUpdate OpenSSL version in PCbuild\readme.txt
Zachary Ware [Sun, 26 Oct 2014 04:05:06 +0000 (23:05 -0500)]
Update OpenSSL version in PCbuild\readme.txt

10 years agoIssue #22711: improve links in new distribution docs
Nick Coghlan [Sat, 25 Oct 2014 14:00:04 +0000 (00:00 +1000)]
Issue #22711: improve links in new distribution docs

- key term hyperlinks for distutils, setuptools & wheel
- distutils landing page links directly to setuptools docs
- short summary of setuptools benefits provided with link

10 years agoIssue #22596: support.transient_internet() now also catches
Berker Peksag [Sat, 25 Oct 2014 02:42:30 +0000 (05:42 +0300)]
Issue #22596: support.transient_internet() now also catches
ConnectionRefusedError exceptions wrapped by urllib.error.URLError.

This change should fix sporadic failures in test_urllib2net.

10 years agoIssue #22723: Make link styling more accessible.
Berker Peksag [Sat, 25 Oct 2014 02:20:49 +0000 (05:20 +0300)]
Issue #22723: Make link styling more accessible.

Patch by Buck Golemon.

10 years agoasyncio doc: fix typo in an example
Victor Stinner [Thu, 23 Oct 2014 20:38:46 +0000 (22:38 +0200)]
asyncio doc: fix typo in an example

10 years agoIssue #3068: Add Idle extension configuration dialog to Options menu.
Terry Jan Reedy [Thu, 23 Oct 2014 00:15:18 +0000 (20:15 -0400)]
Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.

10 years agoIssue #22695: Fix syntax of open() doc
Victor Stinner [Wed, 22 Oct 2014 07:55:44 +0000 (09:55 +0200)]
Issue #22695: Fix syntax of open() doc

10 years agoIssue #22660: update various mentions in the ssl module documentation.
Antoine Pitrou [Mon, 20 Oct 2014 22:14:39 +0000 (00:14 +0200)]
Issue #22660: update various mentions in the ssl module documentation.

10 years agoDocs: 'os.pwrite()' needs bytes, not strings
Jesus Cea [Mon, 20 Oct 2014 14:18:24 +0000 (16:18 +0200)]
Docs: 'os.pwrite()' needs bytes, not strings

10 years agoCloses #22675: fix typo.
Georg Brandl [Mon, 20 Oct 2014 06:36:02 +0000 (08:36 +0200)]
Closes #22675: fix typo.

10 years agoIssue #22186: Fix typos in Lib/.
Berker Peksag [Sun, 19 Oct 2014 15:04:38 +0000 (18:04 +0300)]
Issue #22186: Fix typos in Lib/.

Patch by Févry Thibault.

10 years agomerge 3.3
Benjamin Peterson [Sun, 19 Oct 2014 14:47:58 +0000 (10:47 -0400)]
merge 3.3

10 years agomake plural s lowercase
Benjamin Peterson [Sun, 19 Oct 2014 14:47:49 +0000 (10:47 -0400)]
make plural s lowercase

10 years agoCloses #22663: patchcheck: only modify text files under Doc/
Georg Brandl [Sun, 19 Oct 2014 09:54:08 +0000 (11:54 +0200)]
Closes #22663: patchcheck: only modify text files under Doc/

10 years agoIssue20689: add missing API pieces to __all__
Ethan Furman [Sat, 18 Oct 2014 22:10:49 +0000 (15:10 -0700)]
Issue20689: add missing API pieces to __all__

10 years agoIssue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
Terry Jan Reedy [Sat, 18 Oct 2014 21:10:09 +0000 (17:10 -0400)]
Issue #20155: Fix non-buildbot test failure on Windows.  Patch by Claudiu Popa,
revised by R. David Murray.

10 years agoIssue7186: document that __doc__ is not inherited by subclasses
Ethan Furman [Sat, 18 Oct 2014 05:25:22 +0000 (22:25 -0700)]
Issue7186: document that __doc__ is not inherited by subclasses

10 years ago#18853: Fix resource warning in shlex's __main__ section.
R David Murray [Sat, 18 Oct 2014 00:28:47 +0000 (20:28 -0400)]
#18853: Fix resource warning in shlex's __main__ section.

Report and original fix by Vajrasky Kok.

10 years ago#9351: set_defaults on subparser is no longer ignored if set on parent.
R David Murray [Fri, 17 Oct 2014 23:55:11 +0000 (19:55 -0400)]
#9351: set_defaults on subparser is no longer ignored if set on parent.

Before, if a default was set on the parent parser, any default for that
variable set via set_defaults on a subparser would be ignored.  Now
the subparser set_defaults is honored.

Patch by Jyrki Pullianinen.

10 years ago#21991: make headerregistry params property MappingProxyType.
R David Murray [Fri, 17 Oct 2014 23:30:13 +0000 (19:30 -0400)]
#21991: make headerregistry params property MappingProxyType.

It is unlikely anyone is using the fact that the dictionary returned
by the 'params' attribute was previously writable, but even if someone
is the API is provisional so this kind of change is acceptable (and
needed, to get the API "right" before it becomes official).

Patch by Stéphane Wirtel.

10 years agoIssue #22653: Fix an assertion failure in debug mode when doing a reentrant dict...
Antoine Pitrou [Fri, 17 Oct 2014 22:35:00 +0000 (00:35 +0200)]
Issue #22653: Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.

10 years agoIssue #22644: Update the Windows build to OpenSSL 1.0.1j
Zachary Ware [Fri, 17 Oct 2014 21:26:30 +0000 (16:26 -0500)]
Issue #22644: Update the Windows build to OpenSSL 1.0.1j

10 years agoFix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
Zachary Ware [Fri, 17 Oct 2014 19:24:14 +0000 (14:24 -0500)]
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built

10 years agoIssue #16000: Convert test_curses to use unittest
Zachary Ware [Fri, 17 Oct 2014 18:59:18 +0000 (13:59 -0500)]
Issue #16000: Convert test_curses to use unittest

10 years agoIssue #22646: Accept list as well as tuple to support initialisation via dictConfig().
Vinay Sajip [Fri, 17 Oct 2014 07:49:38 +0000 (08:49 +0100)]
Issue #22646: Accept list as well as tuple to support initialisation via dictConfig().

10 years agoIssue #22629: Revise idle_test.htest, mostly docstring. Start revision of
Terry Jan Reedy [Fri, 17 Oct 2014 05:31:35 +0000 (01:31 -0400)]
Issue #22629: Revise idle_test.htest, mostly docstring.  Start revision of
htests to add # htest # marker for coveragepy and stop tcl errors.

10 years agoIssue #22628: Increase Treewidge line spacing so lines do not overlap.
Terry Jan Reedy [Fri, 17 Oct 2014 03:12:48 +0000 (23:12 -0400)]
Issue #22628: Increase Treewidge line spacing so lines do not overlap.
Move test lines up with respect to icons.

10 years agoMerge 3.3
Benjamin Peterson [Thu, 16 Oct 2014 03:58:32 +0000 (23:58 -0400)]
Merge 3.3

10 years agoIssue #16233: When the module browser is not invoked in an editor window with
Terry Jan Reedy [Thu, 16 Oct 2014 02:01:31 +0000 (22:01 -0400)]
Issue #16233: When the module browser is not invoked in an editor window with
a filename, pop up the Open Module box. If a module is opened, open a
corresponding browser.

10 years agoFixed signed/unsigned comparison warning
Antoine Pitrou [Wed, 15 Oct 2014 21:14:53 +0000 (23:14 +0200)]
Fixed signed/unsigned comparison warning

10 years agomerge heads
Benjamin Peterson [Wed, 15 Oct 2014 17:40:34 +0000 (13:40 -0400)]
merge heads

10 years agomerge 3.3 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 17:40:01 +0000 (13:40 -0400)]
merge 3.3 (#22643)

10 years agotest is cpython only
Benjamin Peterson [Wed, 15 Oct 2014 17:39:46 +0000 (13:39 -0400)]
test is cpython only

10 years agoasyncio doc: write simpler examples to introduce asyncio
Victor Stinner [Wed, 15 Oct 2014 16:49:16 +0000 (18:49 +0200)]
asyncio doc: write simpler examples to introduce asyncio

10 years agomerge 3.3
Benjamin Peterson [Wed, 15 Oct 2014 16:17:33 +0000 (12:17 -0400)]
merge 3.3

10 years agoit suffices to check for PY_SSIZE_T_MAX overflow (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 16:17:21 +0000 (12:17 -0400)]
it suffices to check for PY_SSIZE_T_MAX overflow (#22643)

10 years agoMerge 3.3
Benjamin Peterson [Wed, 15 Oct 2014 15:51:12 +0000 (11:51 -0400)]
Merge 3.3

10 years agomake sure length is unsigned
Benjamin Peterson [Wed, 15 Oct 2014 15:51:05 +0000 (11:51 -0400)]
make sure length is unsigned

10 years agomerge 3.3 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:48:41 +0000 (11:48 -0400)]
merge 3.3 (#22643)

10 years agofix integer overflow in unicode case operations (closes #22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:47:36 +0000 (11:47 -0400)]
fix integer overflow in unicode case operations (closes #22643)

10 years agoIssue #22641: In asyncio, the default SSL context for client connections is now creat...
Antoine Pitrou [Wed, 15 Oct 2014 14:58:21 +0000 (16:58 +0200)]
Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.

10 years agoIssue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
Ethan Furman [Wed, 15 Oct 2014 01:56:53 +0000 (18:56 -0700)]
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind

10 years agoIssue #3068: Change 0/1 to False/True so that extension configure dialog can
Terry Jan Reedy [Tue, 14 Oct 2014 22:55:20 +0000 (18:55 -0400)]
Issue #3068: Change 0/1 to False/True so that extension configure dialog can
easily recognize and display boolean values as such and recognize changes.
Also reformat comments and alphabetize extensions included with Idle.

10 years agoIssue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows if
Victor Stinner [Tue, 14 Oct 2014 20:56:25 +0000 (22:56 +0200)]
Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows if
available

Since Python 3.5, socket.socketpair() is now also available on Windows.

Make csock blocking before calling the accept() method, and fix also a typo in
an error message.

10 years agoIssue #22632: replace dead link with version-specific doc link.
Terry Jan Reedy [Tue, 14 Oct 2014 20:56:42 +0000 (16:56 -0400)]
Issue #22632: replace dead link with version-specific doc link.

10 years agoIssue22506: added methods on base Enum class now show up in dir of Enum subclass...
Ethan Furman [Tue, 14 Oct 2014 15:58:32 +0000 (08:58 -0700)]
Issue22506: added methods on base Enum class now show up in dir of Enum subclass (3.4)

10 years agoasyncio doc: rewrite subprocess doc
Victor Stinner [Mon, 13 Oct 2014 22:52:07 +0000 (00:52 +0200)]
asyncio doc: rewrite subprocess doc

* add a new example using transport and protocol
* rewrite the example using streams to make it much simpler (remove error
  handling, use a simpler Python code)
* copy (and adapt) more documentation from the subprocess module:

  - add a note about Process.wait() deadlock
  - add a note about shell injection
  - etc.

* sort Process methods and attributes in the same order than subprocess.Popen
  methods and attributes, so the documentation looks closer
* list differences between Process and subprocess.Popen APIs

10 years agoasyncio doc: protocol_factory of subprocess_exec() and subprocess_shell() must
Victor Stinner [Mon, 13 Oct 2014 22:02:10 +0000 (00:02 +0200)]
asyncio doc: protocol_factory of subprocess_exec() and subprocess_shell() must
instanciate a subclass of SubprocessProtocol

10 years agoasyncio doc: document BaseSubprocessTransport.close() method
Victor Stinner [Mon, 13 Oct 2014 21:56:43 +0000 (23:56 +0200)]
asyncio doc: document BaseSubprocessTransport.close() method

Modify also the get_pipe_transport() doc to mention explicitly the supported
file descriptors.

10 years agoUse https:// URLs for the bug tracker in the :issue: role.
Alex Gaynor [Mon, 13 Oct 2014 19:58:03 +0000 (12:58 -0700)]
Use https:// URLs for the bug tracker in the :issue: role.

Thanks to Ezio for noticing this

10 years agoissue22626: Use https:// for a link to the bug tracker
Alex Gaynor [Mon, 13 Oct 2014 19:55:21 +0000 (12:55 -0700)]
issue22626: Use https:// for a link to the bug tracker

10 years agomerge heads
Benjamin Peterson [Mon, 13 Oct 2014 19:50:37 +0000 (15:50 -0400)]
merge heads

10 years agoIssue #22435: Fix a file descriptor leak when SocketServer bind fails.
Charles-François Natali [Mon, 13 Oct 2014 18:19:26 +0000 (19:19 +0100)]
Issue #22435: Fix a file descriptor leak when SocketServer bind fails.

10 years agomerge 3.3
Benjamin Peterson [Mon, 13 Oct 2014 15:55:02 +0000 (11:55 -0400)]
merge 3.3

10 years agonote xmlrpclib doesn't verify certs (yet)
Benjamin Peterson [Mon, 13 Oct 2014 15:54:50 +0000 (11:54 -0400)]
note xmlrpclib doesn't verify certs (yet)

10 years agoIssue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka.
Terry Jan Reedy [Mon, 13 Oct 2014 02:58:47 +0000 (22:58 -0400)]
Issue #22614: Don't try to update deleted text.  Patch by Serhiy Storchaka.

10 years agoasyncio: add missing @coroutine decorator
Victor Stinner [Sun, 12 Oct 2014 22:55:50 +0000 (00:55 +0200)]
asyncio: add missing @coroutine decorator