]> granicus.if.org Git - python/log
python
12 years agoMention PEP 362: Function Signature Object in whatsnew.
Andrew Svetlov [Mon, 13 Aug 2012 18:27:56 +0000 (21:27 +0300)]
Mention PEP 362: Function Signature Object in whatsnew.

12 years agoMinor update of docs for inspect module.
Andrew Svetlov [Mon, 13 Aug 2012 15:23:54 +0000 (18:23 +0300)]
Minor update of docs for inspect module.

12 years agoIssue #15151: PEP 362 — document signature and related classes for inspect.py
Andrew Svetlov [Mon, 13 Aug 2012 14:10:28 +0000 (17:10 +0300)]
Issue #15151: PEP 362 — document signature and related classes for inspect.py

Initial patch by Yury Selivanov

12 years agoIssue #15571: comment the fact what python impl of TextIOWrapper always works in...
Andrew Svetlov [Mon, 13 Aug 2012 13:09:54 +0000 (16:09 +0300)]
Issue #15571: comment the fact what python impl of TextIOWrapper always works in write_throuth mode

12 years agoIssue #15624: clarify newline documentation for open and io.TextIOWrapper
Andrew Svetlov [Mon, 13 Aug 2012 09:59:00 +0000 (12:59 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper

Thanks to Chris Jerdonek

12 years agoIssue #15624: clarify newline documentation for open and io.TextIOWrapper
Andrew Svetlov [Mon, 13 Aug 2012 09:58:02 +0000 (12:58 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper

Thanks to Chris Jerdonek

12 years agomerge from 3.2
Senthil Kumaran [Sun, 12 Aug 2012 19:13:38 +0000 (12:13 -0700)]
merge from 3.2

Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.

12 years agoIssue #15630: Add an example for "continue" statement in the tutorial. Patch by
Senthil Kumaran [Sun, 12 Aug 2012 19:01:47 +0000 (12:01 -0700)]
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 15:34:13 +0000 (17:34 +0200)]
merge with 3.2

12 years agoadd usage example from cli; thanks to Christian Clauss from docs@
Sandro Tosi [Sun, 12 Aug 2012 15:34:00 +0000 (17:34 +0200)]
add usage example from cli; thanks to Christian Clauss from docs@

12 years agoPost-release updates.
Georg Brandl [Sun, 12 Aug 2012 14:58:55 +0000 (16:58 +0200)]
Post-release updates.

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 13:35:43 +0000 (15:35 +0200)]
merge with 3.2

12 years agoescape '\'; thanks to Steve Holden from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:35:25 +0000 (15:35 +0200)]
escape '\'; thanks to Steve Holden from docs@

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 13:12:32 +0000 (15:12 +0200)]
merge with 3.2

12 years agoit's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)]
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@

12 years agoupdate doctests
Andrew Svetlov [Sun, 12 Aug 2012 12:16:42 +0000 (15:16 +0300)]
update doctests

12 years agofix doctest for email.header docs
Andrew Svetlov [Sun, 12 Aug 2012 11:49:59 +0000 (14:49 +0300)]
fix doctest for email.header docs

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 10:35:31 +0000 (12:35 +0200)]
merge with 3.2

12 years agoadd missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
Sandro Tosi [Sun, 12 Aug 2012 10:35:14 +0000 (12:35 +0200)]
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 09:02:17 +0000 (11:02 +0200)]
merge with 3.2

12 years agoupdate Geany URL; thanks to Karl Tarbet from docs@
Sandro Tosi [Sun, 12 Aug 2012 09:02:03 +0000 (11:02 +0200)]
update Geany URL; thanks to Karl Tarbet from docs@

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 08:49:40 +0000 (10:49 +0200)]
merge with 3.2

12 years agoadd missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:49:26 +0000 (10:49 +0200)]
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@

12 years agoupdate CodeTools link; thanks to Robert Kern from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:37:23 +0000 (10:37 +0200)]
update CodeTools link; thanks to Robert Kern from docs@

12 years agomerge with 3.2
Sandro Tosi [Sun, 12 Aug 2012 08:25:10 +0000 (10:25 +0200)]
merge with 3.2

12 years agozip() returns an iterator, make a list() of it; thanks to Martin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:24:50 +0000 (10:24 +0200)]
zip() returns an iterator, make a list() of it; thanks to Martin from docs@

12 years agoDon't overwrite a __path__ value from extension modules if already
Brett Cannon [Sat, 11 Aug 2012 23:43:29 +0000 (19:43 -0400)]
Don't overwrite a __path__ value from extension modules if already
set.

12 years agoMinor doc formatting cleanup.
Brett Cannon [Sat, 11 Aug 2012 23:41:27 +0000 (19:41 -0400)]
Minor doc formatting cleanup.

12 years agoIssue #15527: fix docs, remove double parens by changing markup.
Andrew Svetlov [Sat, 11 Aug 2012 18:14:08 +0000 (21:14 +0300)]
Issue #15527: fix docs, remove double parens by changing markup.

Patch by Serhiy Storchaka.

12 years agoIssue #15444: Use proper spelling for non-ASCII contributor names.
Antoine Pitrou [Sat, 11 Aug 2012 14:54:27 +0000 (16:54 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.

12 years agoIssue #15444: Use proper spelling for non-ASCII contributor names.
Antoine Pitrou [Sat, 11 Aug 2012 14:51:50 +0000 (16:51 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.

12 years agoMerge with 3.2.
Georg Brandl [Sat, 11 Aug 2012 09:16:26 +0000 (11:16 +0200)]
Merge with 3.2.

12 years agoRemove unused variables in parsetok().
Georg Brandl [Sat, 11 Aug 2012 09:16:18 +0000 (11:16 +0200)]
Remove unused variables in parsetok().

12 years agoMerge with 3.2.
Georg Brandl [Sat, 11 Aug 2012 09:02:23 +0000 (11:02 +0200)]
Merge with 3.2.

12 years agoRevert 961a15aff2a6, this is already checked in another way.
Georg Brandl [Sat, 11 Aug 2012 09:02:14 +0000 (11:02 +0200)]
Revert 961a15aff2a6, this is already checked in another way.

12 years agoMerge with 3.2.
Georg Brandl [Sat, 11 Aug 2012 08:59:45 +0000 (10:59 +0200)]
Merge with 3.2.

12 years agoCloses #15620: check for presence of readline.clear_history(), which is apparently...
Georg Brandl [Sat, 11 Aug 2012 08:59:23 +0000 (10:59 +0200)]
Closes #15620: check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.

12 years agoAdded tag v3.3.0b2 for changeset 4972a8f1b2aa
Georg Brandl [Sat, 11 Aug 2012 06:53:23 +0000 (08:53 +0200)]
Added tag v3.3.0b2 for changeset 4972a8f1b2aa

12 years agoBump to 3.3b2. v3.3.0b2
Georg Brandl [Sat, 11 Aug 2012 06:49:20 +0000 (08:49 +0200)]
Bump to 3.3b2.

12 years agoFix markup errors and update pydoc topics.
Georg Brandl [Sat, 11 Aug 2012 06:43:59 +0000 (08:43 +0200)]
Fix markup errors and update pydoc topics.

12 years agoIssue #15424: Add a __sizeof__ implementation for array objects.
Meador Inge [Sat, 11 Aug 2012 04:21:39 +0000 (23:21 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.

Patch by Ludwig Hähne.

12 years agoIssue #15424: Add a __sizeof__ implementation for array objects.
Meador Inge [Sat, 11 Aug 2012 03:35:45 +0000 (22:35 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.

Patch by Ludwig Hähne.

12 years agofix docstring wording
Philip Jenvey [Fri, 10 Aug 2012 23:21:35 +0000 (16:21 -0700)]
fix docstring wording

12 years agoIssue #15610: The PyImport_ImportModuleEx macro now calls
Brett Cannon [Fri, 10 Aug 2012 22:55:08 +0000 (18:55 -0400)]
Issue #15610: The PyImport_ImportModuleEx macro now calls
PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the
latter is no longer a valid value.

Also added a versionchanged note for PyImport_ImportModuleLevel() just
in case people don't make the connection between changes to
__import__() and this C function.

12 years agoIssue #15502: Refactor some code.
Brett Cannon [Fri, 10 Aug 2012 21:41:23 +0000 (17:41 -0400)]
Issue #15502: Refactor some code.

12 years agoFix issue #15607: Update the print builtin function docstring with the new flush...
Senthil Kumaran [Fri, 10 Aug 2012 20:53:45 +0000 (13:53 -0700)]
Fix issue #15607: Update the print builtin function docstring with the new flush keyword.
Patch contributed by Daniel Ellis.

12 years agoupdate docstring per the extension package fix, refactor
Philip Jenvey [Fri, 10 Aug 2012 18:53:54 +0000 (11:53 -0700)]
update docstring per the extension package fix, refactor

12 years agoIssue #15576: Allow extension modules to be a package's __init__
Brett Cannon [Fri, 10 Aug 2012 17:47:54 +0000 (13:47 -0400)]
Issue #15576: Allow extension modules to be a package's __init__
module again. Also took the opportunity to stop accidentally exporting
_imp.extension_suffixes() as public.

12 years agoIssue #15502: Finish bringing importlib.abc in line with the current
Brett Cannon [Fri, 10 Aug 2012 16:21:12 +0000 (12:21 -0400)]
Issue #15502: Finish bringing importlib.abc in line with the current
state of the import system. Also make importlib.invalidate_caches()
work with sys.meta_path instead of sys.path_importer_cache to
completely separate the path-based import system from the overall
import system.

Patch by Eric Snow.

12 years agoRemove now unused IntOrLongToString type
Victor Stinner [Thu, 9 Aug 2012 19:38:23 +0000 (21:38 +0200)]
Remove now unused IntOrLongToString type

12 years agoIssue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4
Andrew Svetlov [Thu, 9 Aug 2012 18:51:21 +0000 (21:51 +0300)]
Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4

12 years agofix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 18:29:16 +0000 (21:29 +0300)]
fix docs for c-api memory functions

12 years agofix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 18:26:34 +0000 (21:26 +0300)]
fix docs for c-api memory functions

12 years agomerge heads
Andrew Svetlov [Thu, 9 Aug 2012 12:27:45 +0000 (15:27 +0300)]
merge heads

12 years agoIssue #15501: Document exception classes in subprocess module.
Andrew Svetlov [Thu, 9 Aug 2012 12:20:45 +0000 (15:20 +0300)]
Issue #15501: Document exception classes in subprocess module.

Initial patch by Anton Barkovsky.

12 years agoIssue #15501: Document exception classes in subprocess module.
Andrew Svetlov [Thu, 9 Aug 2012 12:11:45 +0000 (15:11 +0300)]
Issue #15501: Document exception classes in subprocess module.

Initial patch by Anton Barkovsky.

12 years agoFix documentation for inspect module to pass doctest
Andrew Svetlov [Thu, 9 Aug 2012 10:25:32 +0000 (13:25 +0300)]
Fix documentation for inspect module to pass doctest

12 years agoAdd description of major changes in xml.etree.ElementTree to whatsnew/3.3
Eli Bendersky [Thu, 9 Aug 2012 05:20:20 +0000 (08:20 +0300)]
Add description of major changes in xml.etree.ElementTree to whatsnew/3.3

12 years agoIssue #14992: merge from 3.2
Ned Deily [Thu, 9 Aug 2012 04:03:02 +0000 (21:03 -0700)]
Issue #14992: merge from 3.2

12 years agoIssue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
Ned Deily [Thu, 9 Aug 2012 03:57:24 +0000 (20:57 -0700)]
Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
failure on OS X built with 10.4 ABI.

12 years agofaulthandler: fix the handler of user signals
Victor Stinner [Thu, 9 Aug 2012 00:43:41 +0000 (02:43 +0200)]
faulthandler: fix the handler of user signals

Restore the errno before calling the previous signal handler, and not after.

12 years agomerge heads
Benjamin Peterson [Thu, 9 Aug 2012 00:22:57 +0000 (17:22 -0700)]
merge heads

12 years agouse char instead of int to please T_BOOL (closes #15597)
Benjamin Peterson [Thu, 9 Aug 2012 00:22:50 +0000 (17:22 -0700)]
use char instead of int to please T_BOOL (closes #15597)

12 years agoIssue #13072: Fix test_array for installation without the ctypes module
Victor Stinner [Wed, 8 Aug 2012 22:43:56 +0000 (00:43 +0200)]
Issue #13072: Fix test_array for installation without the ctypes module

12 years agoIssue #15589: Ensure double-alignment for brute-force capi argument parser test
Larry Hastings [Wed, 8 Aug 2012 21:52:22 +0000 (14:52 -0700)]
Issue #15589: Ensure double-alignment for brute-force capi argument parser test
that occasionally uses doubles.

12 years agoregrtest: give more information when a child process fails with an error
Victor Stinner [Wed, 8 Aug 2012 20:37:26 +0000 (22:37 +0200)]
regrtest: give more information when a child process fails with an error
different than KeyboardInterrupt

12 years agoIssue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t...
Victor Stinner [Wed, 8 Aug 2012 18:19:37 +0000 (20:19 +0200)]
Issue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t...

12 years agoIssue #13072: Fix test_array for Windows with 16-bit wchar_t
Victor Stinner [Wed, 8 Aug 2012 18:09:21 +0000 (20:09 +0200)]
Issue #13072: Fix test_array for Windows with 16-bit wchar_t

12 years ago- Issue #11715: Fix multiarch detection without having Debian development
doko@ubuntu.com [Wed, 8 Aug 2012 10:15:55 +0000 (12:15 +0200)]
- Issue #11715: Fix multiarch detection without having Debian development
  tools (dpkg-dev) installed.

12 years agoIssue #15560: Ensure consistent sqlite3 behavior and feature availability
Ned Deily [Tue, 7 Aug 2012 10:10:57 +0000 (03:10 -0700)]
Issue #15560: Ensure consistent sqlite3 behavior and feature availability
by building a local copy of libsqlite3 with OS X installers rather than
depending on the wide range of versions supplied with various OS X releases.

12 years agomerge heads
Benjamin Peterson [Tue, 7 Aug 2012 00:53:19 +0000 (17:53 -0700)]
merge heads

12 years agofix yield from return value on custom iterators (closes #15568)
Benjamin Peterson [Tue, 7 Aug 2012 00:53:09 +0000 (17:53 -0700)]
fix yield from return value on custom iterators (closes #15568)

12 years agoIssue #15163: Pydoc shouldn't show __loader__ as a part of a module's
Brett Cannon [Mon, 6 Aug 2012 21:19:22 +0000 (17:19 -0400)]
Issue #15163: Pydoc shouldn't show __loader__ as a part of a module's
data.

Also alphabetized the attributes in the blacklist to make it easier to
detect changes.

Initial patch by Éric Araujo.

12 years agoIssue #15471: Don't use mutable object as default values for the
Brett Cannon [Mon, 6 Aug 2012 20:34:44 +0000 (16:34 -0400)]
Issue #15471: Don't use mutable object as default values for the
parameters of importlib.__import__().

12 years agoMerge #15554: clarify splitlines/split differences.
R David Murray [Mon, 6 Aug 2012 20:08:40 +0000 (16:08 -0400)]
Merge #15554: clarify splitlines/split differences.

Patch by Chris Jerdonek.

12 years ago#15554: clarify splitlines/split differences.
R David Murray [Mon, 6 Aug 2012 20:08:09 +0000 (16:08 -0400)]
#15554: clarify splitlines/split differences.

Patch by Chris Jerdonek.

12 years agoIssue #15037: Build OS X installers with local copy of ncurses 5.9 libraries
Ned Deily [Mon, 6 Aug 2012 13:40:48 +0000 (06:40 -0700)]
Issue #15037: Build OS X installers with local copy of ncurses 5.9 libraries
to avoid curses.unget_wch bug present in older versions of ncurses such as
those shipped with OS X.

12 years agoOS X installer cleanups:
Ned Deily [Mon, 6 Aug 2012 13:34:00 +0000 (06:34 -0700)]
OS X installer cleanups:
- Remove OS X installer and Mac/Makefile dependencies on /Developer which
  no longer exists with Xcode 4; the referenced tools have been installed
  into the usr/bin tool root since Xcode 3.
- Support adding the SDK usr/bin tool root to the installer's PATH via the
  SDK_TOOLS_BIN environment variable.

12 years agoIssue #15482: Merge 78449:3fe01f7520e2 with a minor clarification.
Brett Cannon [Mon, 6 Aug 2012 00:49:53 +0000 (20:49 -0400)]
Issue #15482: Merge 78449:3fe01f7520e2 with a minor clarification.

12 years agoIssue #15482: Properly document the default 'level' parameter for
Brett Cannon [Mon, 6 Aug 2012 00:46:25 +0000 (20:46 -0400)]
Issue #15482: Properly document the default 'level' parameter for
__import__().

To help explain why the -1 default value is typically not seen, a note
about how import statements only use values of >= 0 is also noted.

12 years agoFix a spelling mistake in a comment.
Brett Cannon [Sun, 5 Aug 2012 23:24:57 +0000 (19:24 -0400)]
Fix a spelling mistake in a comment.

12 years agoClose #13072: Restore code before the PEP 393 for the array module
Victor Stinner [Sun, 5 Aug 2012 22:46:05 +0000 (00:46 +0200)]
Close #13072: Restore code before the PEP 393 for the array module

'u' format of the array module uses again Py_UNICODE type for backward
compatibility with Python 3.2.

The only change from Python 3.2 is that PyUnicode_AsUnicode() result is now
checked for NULL value.

12 years agomerge heads
Ned Deily [Sun, 5 Aug 2012 22:16:04 +0000 (15:16 -0700)]
merge heads

12 years agoIssue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Ned Deily [Sun, 5 Aug 2012 22:13:33 +0000 (15:13 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.

12 years agoIssue #15560: null merge
Ned Deily [Sun, 5 Aug 2012 22:12:20 +0000 (15:12 -0700)]
Issue #15560: null merge

12 years agomerge heads
Benjamin Peterson [Sun, 5 Aug 2012 22:05:53 +0000 (15:05 -0700)]
merge heads

12 years agoadd another testcase
Benjamin Peterson [Sun, 5 Aug 2012 22:05:34 +0000 (15:05 -0700)]
add another testcase

12 years agoIssue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Ned Deily [Sun, 5 Aug 2012 21:56:21 +0000 (14:56 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.

12 years agoWhat's New in Python 3.3: Split improved and new modules, start to write a summary
Victor Stinner [Sun, 5 Aug 2012 14:37:12 +0000 (16:37 +0200)]
What's New in Python 3.3: Split improved and new modules, start to write a summary

12 years agoComplete What's New in Python 3.3.
Victor Stinner [Sun, 5 Aug 2012 14:31:32 +0000 (16:31 +0200)]
Complete What's New in Python 3.3.

12 years agoIssue #15548: Update and complete What's New in Python 3.3, especially the "os" section
Victor Stinner [Sun, 5 Aug 2012 13:56:51 +0000 (15:56 +0200)]
Issue #15548: Update and complete What's New in Python 3.3, especially the "os" section

12 years agoos.unlinkat() has been removed, update os.fwalk() doc
Victor Stinner [Sun, 5 Aug 2012 13:18:02 +0000 (15:18 +0200)]
os.unlinkat() has been removed, update os.fwalk() doc

12 years agoMerge
Antoine Pitrou [Sun, 5 Aug 2012 12:53:49 +0000 (14:53 +0200)]
Merge

12 years agoFix CGI tests to take into account the platform's line ending (issue #13119)
Antoine Pitrou [Sun, 5 Aug 2012 12:53:33 +0000 (14:53 +0200)]
Fix CGI tests to take into account the platform's line ending (issue #13119)

12 years agoFix CGI tests to take into account the platform's line ending (issue #13119)
Antoine Pitrou [Sun, 5 Aug 2012 12:52:45 +0000 (14:52 +0200)]
Fix CGI tests to take into account the platform's line ending (issue #13119)

12 years agoIssue #14814: Attempt to clarify network address and broadcast address for less exper...
Nick Coghlan [Sun, 5 Aug 2012 12:52:38 +0000 (22:52 +1000)]
Issue #14814: Attempt to clarify network address and broadcast address for less experienced users

12 years ago#15546: Also fix GzipFile.peek().
Nadeem Vawda [Sun, 5 Aug 2012 12:45:41 +0000 (14:45 +0200)]
#15546: Also fix GzipFile.peek().

12 years agoIssue #14814: Remove redundant property from interface objects - prefixlen can be...
Nick Coghlan [Sun, 5 Aug 2012 12:45:22 +0000 (22:45 +1000)]
Issue #14814: Remove redundant property from interface objects - prefixlen can be accessed via the associated network object

12 years agoIssue #14814: Finish review of ipaddress network object docs (initial patch was by...
Nick Coghlan [Sun, 5 Aug 2012 12:32:37 +0000 (22:32 +1000)]
Issue #14814: Finish review of ipaddress network object docs (initial patch was by Eli Bendersky)

12 years agoIssue 14814: Docs work showed some more cases of networks pretending to be addresses...
Nick Coghlan [Sun, 5 Aug 2012 12:02:18 +0000 (22:02 +1000)]
Issue 14814: Docs work showed some more cases of networks pretending to be addresses and highlighted the weird approach to implementing the 'is_whatever' properties. Impl now illustrates far more clearly that networks have a property if both their network and broadcast addresses have that property