]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
14 years agoMark PyUnicode_FromUCS[124] as private
Victor Stinner [Wed, 28 Sep 2011 20:20:48 +0000 (22:20 +0200)] 
Mark PyUnicode_FromUCS[124] as private

14 years agoOops, fix Py_MIN/Py_MAX case
Victor Stinner [Wed, 28 Sep 2011 20:17:19 +0000 (22:17 +0200)] 
Oops, fix Py_MIN/Py_MAX case

14 years agoMark _PyUnicode_FindMaxCharAndNumSurrogatePairs() as private
Victor Stinner [Wed, 28 Sep 2011 20:15:37 +0000 (22:15 +0200)] 
Mark _PyUnicode_FindMaxCharAndNumSurrogatePairs() as private

14 years agofill_number() and format_string_internal() check for PyUnicode_CopyCharacters() failure
Victor Stinner [Wed, 28 Sep 2011 19:53:49 +0000 (21:53 +0200)] 
fill_number() and format_string_internal() check for PyUnicode_CopyCharacters() failure

14 years agofill_number() ensures that the 'digits' string is ready
Victor Stinner [Wed, 28 Sep 2011 19:50:42 +0000 (21:50 +0200)] 
fill_number() ensures that the 'digits' string is ready

14 years agofill_char() can now propagate an error
Victor Stinner [Wed, 28 Sep 2011 19:50:16 +0000 (21:50 +0200)] 
fill_char() can now propagate an error

14 years agoStrip trailing spaces in unicodeobject.[ch]
Victor Stinner [Wed, 28 Sep 2011 19:41:31 +0000 (21:41 +0200)] 
Strip trailing spaces in unicodeobject.[ch]

14 years agoCheck for PyUnicode_CopyCharacters() failure
Victor Stinner [Wed, 28 Sep 2011 19:39:17 +0000 (21:39 +0200)] 
Check for PyUnicode_CopyCharacters() failure

14 years agoPyUnicode_CopyCharacters() checks for buffer and character overflow
Victor Stinner [Wed, 28 Sep 2011 19:37:03 +0000 (21:37 +0200)] 
PyUnicode_CopyCharacters() checks for buffer and character overflow

It now returns the number of written characters on success.

14 years agoMark PyUnicode_CONVERT_BYTES as private
Victor Stinner [Wed, 28 Sep 2011 19:39:49 +0000 (21:39 +0200)] 
Mark PyUnicode_CONVERT_BYTES as private

14 years agoAdd versionadded directive to new API function.
Georg Brandl [Wed, 28 Sep 2011 19:51:06 +0000 (21:51 +0200)] 
Add versionadded directive to new API function.

14 years agoRename new macros to conform to naming rules (function macros have "Py" prefix, not...
Georg Brandl [Wed, 28 Sep 2011 19:49:49 +0000 (21:49 +0200)] 
Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY").

14 years agoSet Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE
Victor Stinner [Wed, 28 Sep 2011 18:29:27 +0000 (20:29 +0200)] 
Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE

14 years agomerge heads
Benjamin Peterson [Wed, 28 Sep 2011 14:48:40 +0000 (10:48 -0400)] 
merge heads

14 years agothis isn't fixed on windows yet...
Benjamin Peterson [Wed, 28 Sep 2011 14:48:32 +0000 (10:48 -0400)] 
this isn't fixed on windows yet...

14 years ago#13012: use splitlines(keepends=True/False) instead of splitlines(0/1).
Ezio Melotti [Wed, 28 Sep 2011 14:37:55 +0000 (17:37 +0300)] 
#13012: use splitlines(keepends=True/False) instead of splitlines(0/1).

14 years agothis test works as expected now
Benjamin Peterson [Wed, 28 Sep 2011 12:20:00 +0000 (08:20 -0400)] 
this test works as expected now

14 years agorevert unintended change
Benjamin Peterson [Wed, 28 Sep 2011 12:19:25 +0000 (08:19 -0400)] 
revert unintended change

14 years agodon't check that the first character is XID_Continue
Benjamin Peterson [Wed, 28 Sep 2011 12:09:05 +0000 (08:09 -0400)] 
don't check that the first character is XID_Continue

Current, XID_Continue is a superset of XID_Start, but that may sometime change.

14 years agotest_ctypes: Windows is no more a special case
Victor Stinner [Wed, 28 Sep 2011 11:36:20 +0000 (13:36 +0200)] 
test_ctypes: Windows is no more a special case

14 years agoFix struct sizes. Drop -1, since the resulting string was actually the largest one
Martin v. Löwis [Wed, 28 Sep 2011 08:03:28 +0000 (10:03 +0200)] 
Fix struct sizes. Drop -1, since the resulting string was actually the largest one
that could be allocated.

14 years agoUse compile() instead of eval().
Martin v. Löwis [Wed, 28 Sep 2011 07:22:13 +0000 (09:22 +0200)] 
Use compile() instead of eval().

14 years agoUse eval instead of codecs.lookup to trigger UTF-8 generation.
Martin v. Löwis [Wed, 28 Sep 2011 07:15:11 +0000 (09:15 +0200)] 
Use eval instead of codecs.lookup to trigger UTF-8 generation.

14 years agoACKS for PEP 393.
Martin v. Löwis [Wed, 28 Sep 2011 06:54:17 +0000 (08:54 +0200)] 
ACKS for PEP 393.

14 years agoUpdate for PEP 393.
Martin v. Löwis [Wed, 28 Sep 2011 06:35:25 +0000 (08:35 +0200)] 
Update for PEP 393.

14 years agoImplement PEP 393.
Martin v. Löwis [Wed, 28 Sep 2011 05:41:54 +0000 (07:41 +0200)] 
Implement PEP 393.

14 years agoIssue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Meador Inge [Wed, 28 Sep 2011 01:52:04 +0000 (20:52 -0500)] 
Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.

Thanks to Suman Saha for finding the bug and providing a patch.

14 years agoIssue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Meador Inge [Wed, 28 Sep 2011 01:45:30 +0000 (20:45 -0500)] 
Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.

Thanks to Suman Saha for finding the bug and providing a patch.

14 years agoFix markup.
Georg Brandl [Tue, 27 Sep 2011 05:30:00 +0000 (07:30 +0200)] 
Fix markup.

14 years agomerged
Martin v. Löwis [Sun, 25 Sep 2011 15:36:31 +0000 (17:36 +0200)] 
merged

14 years agoDepend setobject.o and dictobject.o on stringlib/eq.h.
Martin v. Löwis [Sun, 25 Sep 2011 15:36:11 +0000 (17:36 +0200)] 
Depend setobject.o and dictobject.o on stringlib/eq.h.

14 years agoIssue #1621: Fix undefined behaviour from signed overflow in datetime module hashes...
Mark Dickinson [Sun, 25 Sep 2011 14:34:32 +0000 (15:34 +0100)] 
Issue #1621: Fix undefined behaviour from signed overflow in datetime module hashes, array and list iterations, and get_integer (stringlib/string_format.h)

14 years agoReturn +-Py_HUGE_VAL for tgamma(+-0) instead of risking FP exceptions by computing...
Mark Dickinson [Sun, 25 Sep 2011 14:26:43 +0000 (15:26 +0100)] 
Return +-Py_HUGE_VAL for tgamma(+-0) instead of risking FP exceptions by computing 1.0 / 0.0.

14 years agoIssue #1621: Fix undefined behaviour from signed overflow in get_integer (stringlib...
Mark Dickinson [Sat, 24 Sep 2011 18:11:53 +0000 (19:11 +0100)] 
Issue #1621: Fix undefined behaviour from signed overflow in get_integer (stringlib/formatter.h)

14 years agoIssue #12981: rewrite multiprocessing_{sendfd,recvfd} in Python.
Charles-François Natali [Sat, 24 Sep 2011 18:04:29 +0000 (20:04 +0200)] 
Issue #12981: rewrite multiprocessing_{sendfd,recvfd} in Python.

14 years agoIssue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, tuple.__hash__...
Mark Dickinson [Sat, 24 Sep 2011 17:18:40 +0000 (18:18 +0100)] 
Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, tuple.__hash__, frozenset.__hash__ and set indexing operations.

14 years agoFix typo in comment: _PyHash_Double -> _Py_HashDouble.
Mark Dickinson [Sat, 24 Sep 2011 15:24:56 +0000 (16:24 +0100)] 
Fix typo in comment: _PyHash_Double -> _Py_HashDouble.

14 years agoIssue #13012: Allow 'keepends' to be passed as a keyword argument in str.splitlines...
Mark Dickinson [Sat, 24 Sep 2011 08:14:39 +0000 (09:14 +0100)] 
Issue #13012: Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines.

14 years agoMerge #12973 itertools fix.
Mark Dickinson [Sat, 24 Sep 2011 07:57:00 +0000 (08:57 +0100)] 
Merge #12973 itertools fix.

14 years agoIssue #12973: Fix itertools bug caused by signed integer overflow. Thanks Stefan...
Mark Dickinson [Sat, 24 Sep 2011 07:56:09 +0000 (08:56 +0100)] 
Issue #12973: Fix itertools bug caused by signed integer overflow.  Thanks Stefan Krah.

14 years agomerge 3.2
Benjamin Peterson [Fri, 23 Sep 2011 17:53:06 +0000 (13:53 -0400)] 
merge 3.2

14 years agofix compiler compliant about \0 not being an opcode
Benjamin Peterson [Fri, 23 Sep 2011 17:41:41 +0000 (13:41 -0400)] 
fix compiler compliant about \0 not being an opcode

14 years agodisable unused result warnings when possible
Benjamin Peterson [Fri, 23 Sep 2011 17:23:22 +0000 (13:23 -0400)] 
disable unused result warnings when possible

14 years agoMerge 3.2: Issue #7732: Don't open a directory as a file anymore while
Victor Stinner [Fri, 23 Sep 2011 16:59:08 +0000 (18:59 +0200)] 
Merge 3.2: Issue #7732: Don't open a directory as a file anymore while
importing a module. Ignore the direcotry if its name matchs the module name
(e.g.  "__init__.py") and raise a ImportError instead.

14 years agoIssue #7732: Don't open a directory as a file anymore while importing a
Victor Stinner [Fri, 23 Sep 2011 16:54:40 +0000 (18:54 +0200)] 
Issue #7732: Don't open a directory as a file anymore while importing a
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.

14 years agoMerge 3.2: Issue #12931: Add a test with Unicode URI to test_xmlrpc
Victor Stinner [Thu, 22 Sep 2011 23:31:04 +0000 (01:31 +0200)] 
Merge 3.2: Issue #12931: Add a test with Unicode URI to test_xmlrpc

14 years agoIssue #12931: Add a test with Unicode URI to test_xmlrpc
Victor Stinner [Thu, 22 Sep 2011 23:29:44 +0000 (01:29 +0200)] 
Issue #12931: Add a test with Unicode URI to test_xmlrpc

14 years agoFix a race condition in test_socket.ThreadableTest: the client is reported
Charles-François Natali [Wed, 21 Sep 2011 20:05:01 +0000 (22:05 +0200)] 
Fix a race condition in test_socket.ThreadableTest: the client is reported
ready before having been set up.

14 years agoFix a race condition in test_socket.ThreadableTest: the client is reported as
Charles-François Natali [Wed, 21 Sep 2011 20:03:58 +0000 (22:03 +0200)] 
Fix a race condition in test_socket.ThreadableTest: the client is reported as
ready before having been set up.

14 years agomerge 3.2. Fix closes issue13005 - Remove the mention of 'repeat' method in the...
Senthil Kumaran [Wed, 21 Sep 2011 18:10:09 +0000 (02:10 +0800)] 
merge 3.2.  Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.

14 years agoFix closes issue13005 - Remove the mention of 'repeat' method in the operator module...
Senthil Kumaran [Wed, 21 Sep 2011 18:09:17 +0000 (02:09 +0800)] 
Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.

14 years agoIssue #13002: Fix Visual Studio warning (not enough actual parameters).
Stefan Krah [Wed, 21 Sep 2011 17:08:39 +0000 (19:08 +0200)] 
Issue #13002: Fix Visual Studio warning (not enough actual parameters).

14 years agoIssue #12981: test_multiprocessing: catch ImportError when importing
Charles-François Natali [Wed, 21 Sep 2011 16:49:18 +0000 (18:49 +0200)] 
Issue #12981: test_multiprocessing: catch ImportError when importing
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).

14 years agoIssue #12981: test_multiprocessing: catch ImportError when importing
Charles-François Natali [Wed, 21 Sep 2011 16:48:21 +0000 (18:48 +0200)] 
Issue #12981: test_multiprocessing: catch ImportError when importing
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).

14 years agoBranch merge
Éric Araujo [Wed, 21 Sep 2011 14:36:08 +0000 (16:36 +0200)] 
Branch merge

14 years agoRemove two unneeded attributes in packaging
Éric Araujo [Wed, 21 Sep 2011 14:28:03 +0000 (16:28 +0200)] 
Remove two unneeded attributes in packaging

14 years agoIssue #1172711: Update What's New in Python 3.3 document for the array module.
Meador Inge [Wed, 21 Sep 2011 02:48:16 +0000 (21:48 -0500)] 
Issue #1172711: Update What's New in Python 3.3 document for the array module.

The commit fixes 3c56e546dc60, which documented #1172711 as a struct module
change;  it is an array module change.

14 years agoClose #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actual...
Jesus Cea [Wed, 21 Sep 2011 01:56:05 +0000 (03:56 +0200)] 
Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received

14 years agoClose #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actual...
Jesus Cea [Wed, 21 Sep 2011 01:53:25 +0000 (03:53 +0200)] 
Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received

14 years agoWhat's New in Python 3.3: add curses.unget_wch()
Victor Stinner [Wed, 21 Sep 2011 01:35:44 +0000 (03:35 +0200)] 
What's New in Python 3.3: add curses.unget_wch()

14 years agometh.log2 doc: add a link to int.bit_length()
Victor Stinner [Wed, 21 Sep 2011 01:35:18 +0000 (03:35 +0200)] 
meth.log2 doc: add a link to int.bit_length()

14 years agoIssue #1172711: Update What's New in Python 3.3 document for the struct module
Victor Stinner [Wed, 21 Sep 2011 01:20:03 +0000 (03:20 +0200)] 
Issue #1172711: Update What's New in Python 3.3 document for the struct module

14 years agoIssue #1172711: Add 'long long' support to the array module.
Meador Inge [Wed, 21 Sep 2011 00:55:51 +0000 (19:55 -0500)] 
Issue #1172711: Add 'long long' support to the array module.

Initial patch by Oren Tirosh and Hirokazu Yamamoto.

14 years agoMerge 3.2: test_multiprocessing removes temporary files
Victor Stinner [Tue, 20 Sep 2011 23:12:59 +0000 (01:12 +0200)] 
Merge 3.2: test_multiprocessing removes temporary files

14 years agotest_multiprocessing removes temporary files
Victor Stinner [Tue, 20 Sep 2011 23:10:29 +0000 (01:10 +0200)] 
test_multiprocessing removes temporary files

14 years agoMerge 3.2: test_httplib removes temporary files
Victor Stinner [Tue, 20 Sep 2011 23:09:29 +0000 (01:09 +0200)] 
Merge 3.2: test_httplib removes temporary files

14 years agotest_httplib removes temporary files
Victor Stinner [Tue, 20 Sep 2011 23:09:04 +0000 (01:09 +0200)] 
test_httplib removes temporary files

14 years agoHead merge
Barry Warsaw [Tue, 20 Sep 2011 18:58:19 +0000 (14:58 -0400)] 
Head merge

14 years ago- Issue #13021: Missing decref on an error path. Thanks to Suman Saha for
Barry Warsaw [Tue, 20 Sep 2011 18:58:01 +0000 (14:58 -0400)] 
- Issue #13021: Missing decref on an error path.  Thanks to Suman Saha for
  finding the bug and providing a patch.

14 years ago- Issue #13021: Missing decref on an error path. Thanks to Suman Saha for
Barry Warsaw [Tue, 20 Sep 2011 18:45:44 +0000 (14:45 -0400)] 
- Issue #13021: Missing decref on an error path.  Thanks to Suman Saha for
  finding the bug and providing a patch.

14 years agoIssue #12981: test_multiprocessing: catch ImportError when importing
Charles-François Natali [Tue, 20 Sep 2011 18:36:51 +0000 (20:36 +0200)] 
Issue #12981: test_multiprocessing: catch ImportError when importing
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).

14 years agoIssue #12996: multiprocessing.connection: transmit the header in network byte
Charles-François Natali [Tue, 20 Sep 2011 17:27:39 +0000 (19:27 +0200)] 
Issue #12996: multiprocessing.connection: transmit the header in network byte
order (endpoints machines can have different endianness).

14 years agoos.statvfs() encodes the filename to the filesystem encoding
Victor Stinner [Tue, 20 Sep 2011 02:04:33 +0000 (04:04 +0200)] 
os.statvfs() encodes the filename to the filesystem encoding

14 years agoSquash last tempdir leak in packaging tests.
Éric Araujo [Mon, 19 Sep 2011 18:57:52 +0000 (20:57 +0200)] 
Squash last tempdir leak in packaging tests.

Sweet taste of victory!  Alexis, you can fix the threads leaks :)

14 years agoMerge issue #12973 list_repeat fix.
Mark Dickinson [Mon, 19 Sep 2011 18:19:50 +0000 (19:19 +0100)] 
Merge issue #12973 list_repeat fix.

14 years agoIssue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat.
Mark Dickinson [Mon, 19 Sep 2011 18:18:37 +0000 (19:18 +0100)] 
Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat.

14 years agoClose #13007: whichdb should recognize gdbm 1.9 magic numbers
Jesus Cea [Mon, 19 Sep 2011 15:11:26 +0000 (17:11 +0200)] 
Close #13007: whichdb should recognize gdbm 1.9 magic numbers

14 years agoClose #13007: whichdb should recognize gdbm 1.9 magic numbers
Jesus Cea [Mon, 19 Sep 2011 15:08:18 +0000 (17:08 +0200)] 
Close #13007: whichdb should recognize gdbm 1.9 magic numbers

14 years agoAvoid matching '' or 'yn' when asking for 'y' or 'n' in interactive code
Éric Araujo [Mon, 19 Sep 2011 14:21:37 +0000 (16:21 +0200)] 
Avoid matching '' or 'yn' when asking for 'y' or 'n' in interactive code

14 years agoBranch merge
Éric Araujo [Mon, 19 Sep 2011 14:10:26 +0000 (16:10 +0200)] 
Branch merge

14 years agoClose issue 12958 by flagging expected failures in test_socket on Mac OS X
Nick Coghlan [Mon, 19 Sep 2011 10:26:31 +0000 (20:26 +1000)] 
Close issue 12958 by flagging expected failures in test_socket on Mac OS X

14 years agoIssue #12517: Silence warning on windows buildbots (from 7fd80c61ddaa).
Ross Lagerwall [Mon, 19 Sep 2011 06:30:43 +0000 (08:30 +0200)] 
Issue #12517: Silence warning on windows buildbots (from 7fd80c61ddaa).

14 years agoMake regrtest look at internal dicts in sysconfig.
Éric Araujo [Mon, 19 Sep 2011 03:10:45 +0000 (05:10 +0200)] 
Make regrtest look at internal dicts in sysconfig.

This reveals problems in the packaging test suite, which I’ll look
into after the regrtest checks are made more usable (see #12314).

14 years agoFinal bag of small changes coming from distutils2.
Éric Araujo [Mon, 19 Sep 2011 13:12:23 +0000 (15:12 +0200)] 
Final bag of small changes coming from distutils2.

- minor cleanup in Metadata
- trigger creation of the sysconfig._CONFIG_VARS dict
- home_page is used over home-page: it’s not a compound word, it’s an
  escaped space

Distutils2 is now synchronized with Packaging.

14 years agoA few style changes originally done in the distutils2 repo
Éric Araujo [Sun, 18 Sep 2011 21:12:30 +0000 (23:12 +0200)] 
A few style changes originally done in the distutils2 repo

14 years agoReplace cmp function with key function
Éric Araujo [Sun, 18 Sep 2011 19:03:24 +0000 (21:03 +0200)] 
Replace cmp function with key function

14 years agoFix typo and wording
Éric Araujo [Sun, 18 Sep 2011 18:36:19 +0000 (20:36 +0200)] 
Fix typo and wording

14 years agoBranch merge
Éric Araujo [Sun, 18 Sep 2011 18:24:27 +0000 (20:24 +0200)] 
Branch merge

14 years agoMake a number of small changes to ease the backport to distutils2
Éric Araujo [Sun, 18 Sep 2011 18:11:48 +0000 (20:11 +0200)] 
Make a number of small changes to ease the backport to distutils2

14 years agoFix fallback base class when tests run without threading
Éric Araujo [Sun, 18 Sep 2011 15:00:38 +0000 (17:00 +0200)] 
Fix fallback base class when tests run without threading

14 years agoMerge example fix from 3.2.
Georg Brandl [Sun, 18 Sep 2011 05:40:20 +0000 (07:40 +0200)] 
Merge example fix from 3.2.

14 years agoFix bug in heapq priority queue example.
Georg Brandl [Sun, 18 Sep 2011 05:40:05 +0000 (07:40 +0200)] 
Fix bug in heapq priority queue example.

14 years agomerge doc fixes from 3.2
Georg Brandl [Sat, 17 Sep 2011 18:40:35 +0000 (20:40 +0200)] 
merge doc fixes from 3.2

14 years agoAdd info from the docstring for random.gammavariate() to the docs.
Georg Brandl [Sat, 17 Sep 2011 18:36:28 +0000 (20:36 +0200)] 
Add info from the docstring for random.gammavariate() to the docs.

14 years agoFix typo.
Georg Brandl [Sat, 17 Sep 2011 18:20:04 +0000 (20:20 +0200)] 
Fix typo.

14 years agoUse a local name (it was intended to be used but overlooked).
Éric Araujo [Sat, 17 Sep 2011 01:35:57 +0000 (03:35 +0200)] 
Use a local name (it was intended to be used but overlooked).

This was caught in the distutils2 repo by pyflakes.

14 years agoPackaging cleanup: remove conditionals for < 2.6 support.
Éric Araujo [Sat, 17 Sep 2011 01:31:51 +0000 (03:31 +0200)] 
Packaging cleanup: remove conditionals for < 2.6 support.

PEP 370 features and sys.dont_write_bytecode are always available
in 3.3; the distutils2 backport still has the conditionals.

I also renamed an internal misnamed method and fixed a few things
(“packaging2” name, stray print, unused import, fd leak).

14 years agoIssue #12765: Fix packaging.test.test_database failures on OS X due
Ned Deily [Thu, 15 Sep 2011 22:09:23 +0000 (15:09 -0700)] 
Issue #12765: Fix packaging.test.test_database failures on OS X due
to unwarranted assumption about absolute paths: on OS X /var is a
symlink to /private/var.  (Also true for /etc and /tmp).

14 years agoimport.c: remove now useless arbitrary limit
Victor Stinner [Thu, 15 Sep 2011 17:50:01 +0000 (19:50 +0200)] 
import.c: remove now useless arbitrary limit

14 years agoMerge 3.2: Fix the import machinery if there is an error on sys.path or sys.meta_path
Victor Stinner [Thu, 15 Sep 2011 17:38:54 +0000 (19:38 +0200)] 
Merge 3.2: Fix the import machinery if there is an error on sys.path or sys.meta_path

find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.