summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1) State the relative errors of the power functions for integer exponents.Stefan Krah2012-06-161-2/+18
| | | | | | | | | | | | | | | 2) _mpd_qpow_mpd(): Abort the loop for all specials, not only infinity. 3) _mpd_qpow_mpd(): 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. 4) _mpd_qpow_int(): Add one to the work precision in case of a negative exponent. This is to get the same relative error (0.1 * 10**-prec) for both positive and negative exponents. The previous relative error for negative exponents was (0.2 * 10**-prec). Both errors are _before_ the final rounding to the context precision.
* _copy_characters(): move debug code at the top to avoid noisy #ifdefVictor Stinner2012-06-161-26/+23
| | | | | And don't use assert() anymore if check_maxchar is set: return -1 on error instead.
* Make the test more resilient to test-run order (closes #15075)Eli Bendersky2012-06-161-8/+20
|
* Fix PyUnicode_GetSize(): Don't replace _PyUnicode_Ready() exceptionVictor Stinner2012-06-161-2/+3
|
* Fix a compiler warning in _copy_characters() and remove debug codeVictor Stinner2012-06-161-10/+1
|
* Oops, fix my previous change on _copy_characters()Victor Stinner2012-06-161-2/+2
|
* get_sourcefile(): use PyUnicode_READ() to avoid the creation of a temporaryVictor Stinner2012-06-161-12/+11
| | | | Py_UCS4 buffer
* Fix unicode_adjust_maxchar(): catch PyUnicode_New() failureVictor Stinner2012-06-161-1/+2
|
* Fix "%f" format of str%args if the result is not an ASCII or latin1 stringVictor Stinner2012-06-162-17/+21
|
* Remove debug codeVictor Stinner2012-06-161-8/+0
|
* Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to)Victor Stinner2012-06-162-57/+79
|
* unicodeobject.c: Remove debug codeVictor Stinner2012-06-151-14/+0
|
* Issue #15006: Allow equality comparison between naive and aware timeAlexander Belopolsky2012-06-165-19/+56
| | | | or datetime objects.
* Issue #14938: importlib.abc.SourceLoader.is_package() now takes theBrett Cannon2012-06-164-5/+14
| | | | | | | | | 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.
* Issue #13959: Add to imp.find_module() and load_module's docstringsBrett Cannon2012-06-151-4/+6
| | | | | that they are deprecated (previous commit documented this fact in the module docs).
* Closes issue #14982: Document that pkgutil's walk_packages() andBrett Cannon2012-06-152-0/+12
| | | | | iter_modules() requires iter_modules() be defined on an importer. The importers in importlib do not define this non-standard method.
* MergeBrett Cannon2012-06-1538-609/+1358
|\
| * Removed redundant codeAlexander Belopolsky2012-06-151-4/+2
| |
| * Fix _TestListener.ALLOWED_TYPES and add sanity checkRichard Oudkerk2012-06-151-1/+3
| |
| * Mention the UTF-16 encoding speedup in the whatsnew (issue #15026).Antoine Pitrou2012-06-151-2/+4
| |
| * Issue #15026: utf-16 encoding is now significantly faster (up to 10x).Antoine Pitrou2012-06-154-49/+102
| | | | | | | | Patch by Serhiy Storchaka.
| * Increase timeout used when waiting for manager to shutdown cleanlyRichard Oudkerk2012-06-152-1/+6
| | | | | | | | before resorting to terminate()
| * Fix for 2d2f206d040e so that test_multiprocessing does not depend on ctypesRichard Oudkerk2012-06-151-5/+9
| |
| * #15036: Make a repeated changes and flushes work with single-file mailboxesPetri Lehtinen2012-06-153-0/+16
| |\
| | * #15036: Make a repeated changes and flushes work with single-file mailboxesPetri Lehtinen2012-06-153-0/+16
| | |
| * | Issue #14059: Implement multiprocessing.BarrierRichard Oudkerk2012-06-157-12/+426
| | |
| * | Issue #14933: fix misleading doc about weakref support in extension types.Antoine Pitrou2012-06-151-3/+2
| |\ \ | | |/
| | * Issue #14933: fix misleading doc about weakref support in extension types.Antoine Pitrou2012-06-151-3/+2
| | |
| * | Fix typos in NEWS entryNick Coghlan2012-06-151-2/+2
| | |
| * | Issue #15061: Don't oversell the capabilities of the new non-shortcircuiting ↵Nick Coghlan2012-06-154-51/+67
| | | | | | | | | | | | comparison function in hmac
| * | Skip XincludeTest entirely instead of just ignoring failures, because it may ↵Eli Bendersky2012-06-151-1/+1
| | | | | | | | | | | | segfault, depending on the order of running tests
| * | Removed _SimpleElementPath and its flaky test. The test monkey-patches the ↵Eli Bendersky2012-06-152-48/+1
| | | | | | | | | | | | module, which causes other failures and fails itself depending on the order tests are run.
| * | mark problematic test as expected failure - investigatingEli Bendersky2012-06-151-2/+6
| | |
| * | Fix windows compilation problems caused by previous commit.Eli Bendersky2012-06-151-2/+4
| | |
| * | Replace the iter/itertext methods of Element in _elementtree with true C ↵Eli Bendersky2012-06-154-229/+414
| | | | | | | | | | | | | | | | | | 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.
| * | Update .hgignore for VS9.0-generated filesAntoine Pitrou2012-06-141-0/+2
| | |
| * | Issue #15070: fix VS9.0 build regressionAntoine Pitrou2012-06-141-0/+8
| | |
| * | Issue #13841: Make child processes exit using sys.exit() on WindowsRichard Oudkerk2012-06-146-55/+54
| | |
| * | Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API.Martin v. Löwis2012-06-142-44/+30
| | | | | | | | | | | | Patch by Robin Schreiber.
| * | Issue #14936: curses_panel was converted to PEP 3121 API.Martin v. Löwis2012-06-142-12/+45
| | | | | | | | | | | | Patch by Robin Schreiber.
| * | merge 3.2Martin v. Löwis2012-06-141-1/+1
| |\ \ | | |/
| | * Issue #14937: Fix typo. Patch by Roger Serwy.Martin v. Löwis2012-06-141-1/+1
| | |
| * | Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fieldsAlexander Belopolsky2012-06-146-10/+118
| | | | | | | | | | | | | | | | | | 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.
| * | Issue #15060: merge with 3.2Sandro Tosi2012-06-131-1/+1
| |\ \ | | |/
| | * Issue #15060: better fix, thanks to review on #python-devSandro Tosi2012-06-131-1/+1
| | |
| * | Issue #15060: merge with 3.2Sandro Tosi2012-06-131-1/+1
| |\ \ | | |/
| | * Issue #15060: fix typo in socket doc; Patch by anatoly techtonikSandro Tosi2012-06-131-1/+1
| | |
| * | Fix test_time for adjusted/adjustable changesVictor Stinner2012-06-121-6/+2
| | |
| * | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() resultVictor Stinner2012-06-126-37/+30
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | time.get_clock_info() uses a namespace instead of structseqVictor Stinner2012-06-122-62/+31
| | |