]> granicus.if.org Git - python/log
python
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

12 years agoNEWS entry for previous ipaddress fix
Nick Coghlan [Sun, 5 Aug 2012 10:43:19 +0000 (20:43 +1000)]
NEWS entry for previous ipaddress fix

12 years agoClose #15559: Implementing __index__ creates a nasty interaction with the bytes const...
Nick Coghlan [Sun, 5 Aug 2012 08:20:17 +0000 (18:20 +1000)]
Close #15559: Implementing __index__ creates a nasty interaction with the bytes constructor. At least for 3.3, ipaddress objects must now be explicitly converted with int() and thus can't be passed directly to the hex() builtin.

12 years ago#15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data.
Nadeem Vawda [Sun, 5 Aug 2012 00:19:09 +0000 (02:19 +0200)]
#15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data.

12 years agoFix test_venv to work with universal newlines (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:33:10 +0000 (00:33 +0200)]
Fix test_venv to work with universal newlines (issue #13119)

12 years agoMerge universal newlines-related fixes (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:25:31 +0000 (00:25 +0200)]
Merge universal newlines-related fixes (issue #13119)

12 years agoFix universal newlines test to avoid the newline translation done by sys.stdout.
Antoine Pitrou [Sat, 4 Aug 2012 22:23:40 +0000 (00:23 +0200)]
Fix universal newlines test to avoid the newline translation done by sys.stdout.

12 years agoFix test_sys under Windows (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:15:06 +0000 (00:15 +0200)]
Fix test_sys under Windows (issue #13119)

12 years agoRemove unused variable `trim_get_code`.
Antoine Pitrou [Sat, 4 Aug 2012 21:26:25 +0000 (23:26 +0200)]
Remove unused variable `trim_get_code`.

12 years agoIssue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
Victor Stinner [Sat, 4 Aug 2012 18:57:48 +0000 (20:57 +0200)]
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc

12 years agoIssue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended...
Andrew Svetlov [Sat, 4 Aug 2012 18:42:48 +0000 (21:42 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.

Patch by Roger Serwy.

12 years agoIssue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended...
Andrew Svetlov [Sat, 4 Aug 2012 18:38:22 +0000 (21:38 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.

Patch by Roger Serwy.

12 years agomerge with 3.2
Sandro Tosi [Sat, 4 Aug 2012 17:42:46 +0000 (19:42 +0200)]
merge with 3.2

12 years agoadd missing period; thanks to Gaston Fiore from docs@
Sandro Tosi [Sat, 4 Aug 2012 17:42:24 +0000 (19:42 +0200)]
add missing period; thanks to Gaston Fiore from docs@

12 years agoMerge
Antoine Pitrou [Sat, 4 Aug 2012 14:17:10 +0000 (16:17 +0200)]
Merge

12 years agoIssue #12655: Instead of requiring a custom type, os.sched_getaffinity and
Antoine Pitrou [Sat, 4 Aug 2012 14:16:35 +0000 (16:16 +0200)]
Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and
os.sched_setaffinity now use regular sets of integers to represent the
CPUs a process is restricted to.

12 years ago#15546: Fix BZ2File.read1()'s handling of pathological input data.
Nadeem Vawda [Sat, 4 Aug 2012 13:29:28 +0000 (15:29 +0200)]
#15546: Fix BZ2File.read1()'s handling of pathological input data.

12 years agoasynchat speedup improvement: avoid to use a function mimicking old buffer() builtin...
Giampaolo Rodola' [Sat, 4 Aug 2012 12:38:16 +0000 (14:38 +0200)]
asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing

12 years agoNull merge (fix already applied to the default branch)
Victor Stinner [Fri, 3 Aug 2012 23:38:16 +0000 (01:38 +0200)]
Null merge (fix already applied to the default branch)

12 years agoClose #13119: use "\r\n" newline for sys.stdout/err on Windows
Victor Stinner [Fri, 3 Aug 2012 23:37:32 +0000 (01:37 +0200)]
Close #13119: use "\r\n" newline for sys.stdout/err on Windows

sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.

12 years agoClose #13119: use "\r\n" newline for sys.stdout/err on Windows
Victor Stinner [Fri, 3 Aug 2012 23:28:00 +0000 (01:28 +0200)]
Close #13119: use "\r\n" newline for sys.stdout/err on Windows

sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.

12 years ago(Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n'
Victor Stinner [Fri, 3 Aug 2012 23:22:07 +0000 (01:22 +0200)]
(Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n'
doesn't translate newlines on output.

12 years agoopen() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
Victor Stinner [Fri, 3 Aug 2012 23:18:56 +0000 (01:18 +0200)]
open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
translate newlines on output.

12 years agoMake TextIOWrapper's documentation clearer by copying the newline argument's descript...
Antoine Pitrou [Fri, 3 Aug 2012 22:56:19 +0000 (00:56 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().

12 years agoMake TextIOWrapper's documentation clearer by copying the newline argument's descript...
Antoine Pitrou [Fri, 3 Aug 2012 22:55:38 +0000 (00:55 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().

12 years agoMERGE: #15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 13:49:40 +0000 (15:49 +0200)]
MERGE: #15512: Remove remnants of debugging code

12 years ago#15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 13:49:14 +0000 (15:49 +0200)]
#15512: Remove remnants of debugging code

12 years agoMERGE: Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:52:12 +0000 (14:52 +0200)]
MERGE: Closes #15469: Correct __sizeof__ support for deque

12 years agoCloses #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:49:42 +0000 (14:49 +0200)]
Closes #15469: Correct __sizeof__ support for deque

12 years agoMERGE: Closes #15512: Correct __sizeof__ support for parser
Jesus Cea [Fri, 3 Aug 2012 12:29:26 +0000 (14:29 +0200)]
MERGE: Closes #15512: Correct __sizeof__ support for parser

12 years agoCloses #15512: Correct __sizeof__ support for parser
Jesus Cea [Fri, 3 Aug 2012 12:28:37 +0000 (14:28 +0200)]
Closes #15512: Correct __sizeof__ support for parser

12 years agoCloses #15514: Correct __sizeof__ support for cpu_set
Jesus Cea [Fri, 3 Aug 2012 12:18:11 +0000 (14:18 +0200)]
Closes #15514: Correct __sizeof__ support for cpu_set

12 years agoUpdate the What's New details for importlib based on doc/ABC changes.
Brett Cannon [Thu, 2 Aug 2012 21:50:06 +0000 (17:50 -0400)]
Update the What's New details for importlib based on doc/ABC changes.

12 years agoDitch the 'self' argument in importlib docs since it's implied.
Brett Cannon [Thu, 2 Aug 2012 21:35:34 +0000 (17:35 -0400)]
Ditch the 'self' argument in importlib docs since it's implied.

12 years agoClose #15534: Fix a typo in the fast search function of the string library (_s => s)
Victor Stinner [Thu, 2 Aug 2012 21:05:01 +0000 (23:05 +0200)]
Close #15534: Fix a typo in the fast search function of the string library (_s => s)

Replace _s with ptr to avoid future confusion. Add also non regression tests.

12 years agoIssue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Antoine Pitrou [Thu, 2 Aug 2012 18:39:10 +0000 (20:39 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.