Georg Brandl
7b250a5cff
Revert 961a15aff2a6, this is already checked in another way.
2012-08-11 11:02:14 +02:00
Georg Brandl
68fad6fb37
Merge with 3.2.
2012-08-11 10:59:45 +02:00
Georg Brandl
22bfa37ed0
Closes #15620 : check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
2012-08-11 10:59:23 +02:00
Georg Brandl
675a77d8fb
Added tag v3.3.0b2 for changeset 4972a8f1b2aa
2012-08-11 08:53:23 +02:00
Georg Brandl
1b94ab79a9
Bump to 3.3b2.
2012-08-11 08:49:20 +02:00
Georg Brandl
a81b481e3a
Fix markup errors and update pydoc topics.
2012-08-11 08:43:59 +02:00
Meador Inge
80dd1af4e0
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 23:21:39 -05:00
Meador Inge
03b4d5072a
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 22:35:45 -05:00
Philip Jenvey
688a551ca0
fix docstring wording
2012-08-10 16:21:35 -07:00
Brett Cannon
522267e784
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.
2012-08-10 18:55:08 -04:00
Brett Cannon
f410ce8c09
Issue #15502 : Refactor some code.
2012-08-10 17:41:23 -04:00
Senthil Kumaran
e9175bd0af
Fix issue #15607 : Update the print builtin function docstring with the new flush keyword.
...
Patch contributed by Daniel Ellis.
2012-08-10 13:53:45 -07:00
Philip Jenvey
731d48a65f
update docstring per the extension package fix, refactor
2012-08-10 11:53:54 -07:00
Brett Cannon
ac9f2f3de3
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.
2012-08-10 13:47:54 -04:00
Brett Cannon
f4dc9204cc
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.
2012-08-10 12:21:12 -04:00
Victor Stinner
2d6266d5f1
Remove now unused IntOrLongToString type
2012-08-09 21:38:23 +02:00
Andrew Svetlov
25a02d403c
Issue #15601 : fix tkinter test_variables failure with OS X Aqua Tk 8.4
2012-08-09 21:51:21 +03:00
Andrew Svetlov
7dac74a0ca
fix docs for c-api memory functions
2012-08-09 21:29:16 +03:00
Andrew Svetlov
7dbee38564
fix docs for c-api memory functions
2012-08-09 21:26:34 +03:00
Andrew Svetlov
1ee02670b8
merge heads
2012-08-09 15:27:45 +03:00
Andrew Svetlov
eec6420de4
Issue #15501 : Document exception classes in subprocess module.
...
Initial patch by Anton Barkovsky.
2012-08-09 15:20:45 +03:00
Andrew Svetlov
b4a09abfce
Issue #15501 : Document exception classes in subprocess module.
...
Initial patch by Anton Barkovsky.
2012-08-09 15:11:45 +03:00
Andrew Svetlov
e939f383c1
Fix documentation for inspect module to pass doctest
2012-08-09 13:25:32 +03:00
Eli Bendersky
efcaba065e
Add description of major changes in xml.etree.ElementTree to whatsnew/3.3
2012-08-09 08:20:20 +03:00
Ned Deily
3a2b97e48a
Issue #14992 : merge from 3.2
2012-08-08 21:03:02 -07:00
Ned Deily
c622f4254b
Issue #14992 : Prevent test_os test_exist_ok_s_isgid_directory test case
...
failure on OS X built with 10.4 ABI.
2012-08-08 20:57:24 -07:00
Victor Stinner
3cc635dabb
faulthandler: fix the handler of user signals
...
Restore the errno before calling the previous signal handler, and not after.
2012-08-09 02:43:41 +02:00
Benjamin Peterson
652e758fc4
merge heads
2012-08-08 17:22:57 -07:00
Benjamin Peterson
1a1367b821
use char instead of int to please T_BOOL ( closes #15597 )
2012-08-08 17:22:50 -07:00
Victor Stinner
9d512ab97f
Issue #13072 : Fix test_array for installation without the ctypes module
2012-08-09 00:43:56 +02:00
Larry Hastings
22701e86d0
Issue #15589 : Ensure double-alignment for brute-force capi argument parser test
...
that occasionally uses doubles.
2012-08-08 14:52:22 -07:00
Victor Stinner
2965011668
regrtest: give more information when a child process fails with an error
...
different than KeyboardInterrupt
2012-08-08 22:37:26 +02:00
Victor Stinner
bded28c081
Issue #13072 : Ooops, now fix test_array for Linux with 32-bit wchar_t...
2012-08-08 20:19:37 +02:00
Victor Stinner
8d4734f6b2
Issue #13072 : Fix test_array for Windows with 16-bit wchar_t
2012-08-08 20:09:21 +02:00
doko@ubuntu.com
3277b35183
- Issue #11715 : Fix multiarch detection without having Debian development
...
tools (dpkg-dev) installed.
2012-08-08 12:15:55 +02:00
Ned Deily
20416a20b7
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.
2012-08-07 03:10:57 -07:00
Benjamin Peterson
0ed05059de
merge heads
2012-08-06 17:53:19 -07:00
Benjamin Peterson
b37df519c7
fix yield from return value on custom iterators ( closes #15568 )
2012-08-06 17:53:09 -07:00
Brett Cannon
d340b43d75
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.
2012-08-06 17:19:22 -04:00
Brett Cannon
cb4996afe4
Issue #15471 : Don't use mutable object as default values for the
...
parameters of importlib.__import__().
2012-08-06 16:34:44 -04:00
R David Murray
638de338e6
Merge #15554 : clarify splitlines/split differences.
...
Patch by Chris Jerdonek.
2012-08-06 16:08:40 -04:00
R David Murray
05c35a6a6b
#15554 : clarify splitlines/split differences.
...
Patch by Chris Jerdonek.
2012-08-06 16:08:09 -04:00
Ned Deily
a0abb4404a
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.
2012-08-06 06:40:48 -07:00
Ned Deily
dfca8c95c4
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.
2012-08-06 06:34:00 -07:00
Brett Cannon
222d473df4
Issue #15482 : Merge 78449:3fe01f7520e2 with a minor clarification.
2012-08-05 20:49:53 -04:00
Brett Cannon
9b000e7a68
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.
2012-08-05 20:46:25 -04:00
Brett Cannon
ecfefb7956
Fix a spelling mistake in a comment.
2012-08-05 19:24:57 -04:00
Victor Stinner
62bb394729
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.
2012-08-06 00:46:05 +02:00
Ned Deily
3af2617401
merge heads
2012-08-05 15:16:04 -07:00
Ned Deily
9b635837c5
Issue #15560 : Fix building _sqlite3 extension on OS X with an SDK.
2012-08-05 15:13:33 -07:00