Victor Stinner
24e403bbee
Oops, fix my previous change on _copy_characters()
14 years ago
Victor Stinner
81c39a88a4
get_sourcefile(): use PyUnicode_READ() to avoid the creation of a temporary
Py_UCS4 buffer
14 years ago
Victor Stinner
ca439eecea
Fix unicode_adjust_maxchar(): catch PyUnicode_New() failure
14 years ago
Victor Stinner
184252ad3f
Fix "%f" format of str%args if the result is not an ASCII or latin1 string
14 years ago
Victor Stinner
9a77770add
Remove debug code
14 years ago
Victor Stinner
c9d369f1bf
Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to)
14 years ago
Victor Stinner
f05e17ece9
unicodeobject.c: Remove debug code
14 years ago
Alexander Belopolsky
0831382d69
Issue #15006 : Allow equality comparison between naive and aware time
or datetime objects.
14 years ago
Brett Cannon
ea0b823940
Issue #14938 : importlib.abc.SourceLoader.is_package() now takes the
module name into consideration when determining whether a module is a
package or not. This prevents importing a module's __init__ module
directly and having it considered a package, which can lead to
duplicate sub-modules.
Thanks to Ronan Lamy for reporting the bug.
14 years ago
Brett Cannon
0450c9ed52
Issue #13959 : Add to imp.find_module() and load_module's docstrings
that they are deprecated (previous commit documented this fact in the
module docs).
14 years ago
Brett Cannon
47b3239cc6
Closes issue #14982 : Document that pkgutil's walk_packages() and
iter_modules() requires iter_modules() be defined on an importer. The
importers in importlib do not define this non-standard method.
14 years ago
Brett Cannon
24aa693c7e
Merge
14 years ago
Alexander Belopolsky
016ef551a7
Removed redundant code
14 years ago
Richard Oudkerk
9125775aa6
Fix _TestListener.ALLOWED_TYPES and add sanity check
14 years ago
Antoine Pitrou
c90929624b
Mention the UTF-16 encoding speedup in the whatsnew (issue #15026 ).
14 years ago
Antoine Pitrou
27f6a3b0bf
Issue #15026 : utf-16 encoding is now significantly faster (up to 10x).
Patch by Serhiy Storchaka.
14 years ago
Richard Oudkerk
3049f1243e
Increase timeout used when waiting for manager to shutdown cleanly
before resorting to terminate()
14 years ago
Richard Oudkerk
0f52346e76
Fix for 2d2f206d040e so that test_multiprocessing does not depend on ctypes
14 years ago
Petri Lehtinen
a717d563d0
#15036 : Make a repeated changes and flushes work with single-file mailboxes
14 years ago
Petri Lehtinen
02653f1b11
#15036 : Make a repeated changes and flushes work with single-file mailboxes
14 years ago
Richard Oudkerk
3730a17a58
Issue #14059 : Implement multiprocessing.Barrier
14 years ago
Antoine Pitrou
a6bc4b4c85
Issue #14933 : fix misleading doc about weakref support in extension types.
14 years ago
Antoine Pitrou
13775221e0
Issue #14933 : fix misleading doc about weakref support in extension types.
14 years ago
Nick Coghlan
96f806bccb
Fix typos in NEWS entry
14 years ago
Nick Coghlan
807770ec1b
Issue #15061 : Don't oversell the capabilities of the new non-shortcircuiting comparison function in hmac
14 years ago
Eli Bendersky
307693a8bb
Skip XincludeTest entirely instead of just ignoring failures, because it may segfault, depending on the order of running tests
14 years ago
Eli Bendersky
27cbb19ae5
Removed _SimpleElementPath and its flaky test. The test monkey-patches the module, which causes other failures and fails itself depending on the order tests are run.
14 years ago
Eli Bendersky
175fada429
mark problematic test as expected failure - investigating
14 years ago
Eli Bendersky
113da64259
Fix windows compilation problems caused by previous commit.
14 years ago
Eli Bendersky
64d11e60f2
Replace the iter/itertext methods of Element in _elementtree with true C implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents.
Also reorganized the tests a bit to be more robust.
14 years ago
Antoine Pitrou
fedb04a37a
Update .hgignore for VS9.0-generated files
14 years ago
Antoine Pitrou
58440c91ce
Issue #15070 : fix VS9.0 build regression
14 years ago
Richard Oudkerk
73d9a292ae
Issue #13841 : Make child processes exit using sys.exit() on Windows
14 years ago
Martin v. Löwis
bc07cb883e
Issue #14936 : curses_panel was converted to PEP 3121 and PEP 384 API.
Patch by Robin Schreiber.
14 years ago
Martin v. Löwis
c838ec1f82
Issue #14936 : curses_panel was converted to PEP 3121 API.
Patch by Robin Schreiber.
14 years ago
Martin v. Löwis
474eb23b7f
merge 3.2
14 years ago
Martin v. Löwis
993fe3f035
Issue #14937 : Fix typo. Patch by Roger Serwy.
14 years ago
Alexander Belopolsky
c142bba2a7
Issue #1667546 : On platforms supporting tm_zone and tm_gmtoff fields
in struct tm, time.struct_time objects returned by time.gmtime(),
time.localtime() and time.strptime() functions now have tm_zone and
tm_gmtoff attributes. Original patch by Paul Boddie.
14 years ago
Sandro Tosi
f6a899fe6d
Issue #15060 : merge with 3.2
14 years ago
Sandro Tosi
27b130e702
Issue #15060 : better fix, thanks to review on #python-dev
14 years ago
Sandro Tosi
9994b096d1
Issue #15060 : merge with 3.2
14 years ago
Sandro Tosi
56692f5722
Issue #15060 : fix typo in socket doc; Patch by anatoly techtonik
14 years ago
Victor Stinner
6222d76952
Fix test_time for adjusted/adjustable changes
14 years ago
Victor Stinner
2b89fdf7eb
PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result
Fix also its value on Windows and Linux according to its documentation:
"adjustable" indicates if the clock *can be* adjusted, not if it is or was
adjusted.
In most cases, it is not possible to indicate if a clock is or was adjusted.
14 years ago
Victor Stinner
bda4b8802c
time.get_clock_info() uses a namespace instead of structseq
14 years ago
Alexander Belopolsky
d9738242f8
Fixed a typo in time_localtime()
14 years ago
Stefan Krah
b7832939c7
1) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant.
2) Abort the loop for all specials, not only infinity.
3) Make the function more general and distinguish between zero clamping
and folding down the exponent. The latter case is currently handled
by setting context->clamp to 0 before calling the function.
14 years ago
Richard Oudkerk
f0604fddc3
Issue #3518 : Remove references to non-existent BaseManager.from_address()
method
14 years ago
Brett Cannon
99d776fdf4
Update importlib.h by touching Lib/importlib/_bootstrap.py.
14 years ago
Brett Cannon
7b383c431a
Make a test easier to read.
14 years ago