Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1) State the relative errors of the power functions for integer exponents. | Stefan Krah | 2012-06-16 | 1 | -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 #ifdef | Victor Stinner | 2012-06-16 | 1 | -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 Bendersky | 2012-06-16 | 1 | -8/+20 |
| | |||||
* | Fix PyUnicode_GetSize(): Don't replace _PyUnicode_Ready() exception | Victor Stinner | 2012-06-16 | 1 | -2/+3 |
| | |||||
* | Fix a compiler warning in _copy_characters() and remove debug code | Victor Stinner | 2012-06-16 | 1 | -10/+1 |
| | |||||
* | Oops, fix my previous change on _copy_characters() | Victor Stinner | 2012-06-16 | 1 | -2/+2 |
| | |||||
* | get_sourcefile(): use PyUnicode_READ() to avoid the creation of a temporary | Victor Stinner | 2012-06-16 | 1 | -12/+11 |
| | | | | Py_UCS4 buffer | ||||
* | Fix unicode_adjust_maxchar(): catch PyUnicode_New() failure | Victor Stinner | 2012-06-16 | 1 | -1/+2 |
| | |||||
* | Fix "%f" format of str%args if the result is not an ASCII or latin1 string | Victor Stinner | 2012-06-16 | 2 | -17/+21 |
| | |||||
* | Remove debug code | Victor Stinner | 2012-06-16 | 1 | -8/+0 |
| | |||||
* | Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to) | Victor Stinner | 2012-06-16 | 2 | -57/+79 |
| | |||||
* | unicodeobject.c: Remove debug code | Victor Stinner | 2012-06-15 | 1 | -14/+0 |
| | |||||
* | Issue #15006: Allow equality comparison between naive and aware time | Alexander Belopolsky | 2012-06-16 | 5 | -19/+56 |
| | | | | or datetime objects. | ||||
* | Issue #14938: importlib.abc.SourceLoader.is_package() now takes the | Brett Cannon | 2012-06-16 | 4 | -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 docstrings | Brett Cannon | 2012-06-15 | 1 | -4/+6 |
| | | | | | that they are deprecated (previous commit documented this fact in the module docs). | ||||
* | Closes issue #14982: Document that pkgutil's walk_packages() and | Brett Cannon | 2012-06-15 | 2 | -0/+12 |
| | | | | | iter_modules() requires iter_modules() be defined on an importer. The importers in importlib do not define this non-standard method. | ||||
* | Merge | Brett Cannon | 2012-06-15 | 38 | -609/+1358 |
|\ | |||||
| * | Removed redundant code | Alexander Belopolsky | 2012-06-15 | 1 | -4/+2 |
| | | |||||
| * | Fix _TestListener.ALLOWED_TYPES and add sanity check | Richard Oudkerk | 2012-06-15 | 1 | -1/+3 |
| | | |||||
| * | Mention the UTF-16 encoding speedup in the whatsnew (issue #15026). | Antoine Pitrou | 2012-06-15 | 1 | -2/+4 |
| | | |||||
| * | Issue #15026: utf-16 encoding is now significantly faster (up to 10x). | Antoine Pitrou | 2012-06-15 | 4 | -49/+102 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | Increase timeout used when waiting for manager to shutdown cleanly | Richard Oudkerk | 2012-06-15 | 2 | -1/+6 |
| | | | | | | | | before resorting to terminate() | ||||
| * | Fix for 2d2f206d040e so that test_multiprocessing does not depend on ctypes | Richard Oudkerk | 2012-06-15 | 1 | -5/+9 |
| | | |||||
| * | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 3 | -0/+16 |
| |\ | |||||
| | * | #15036: Make a repeated changes and flushes work with single-file mailboxes | Petri Lehtinen | 2012-06-15 | 3 | -0/+16 |
| | | | |||||
| * | | Issue #14059: Implement multiprocessing.Barrier | Richard Oudkerk | 2012-06-15 | 7 | -12/+426 |
| | | | |||||
| * | | Issue #14933: fix misleading doc about weakref support in extension types. | Antoine Pitrou | 2012-06-15 | 1 | -3/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #14933: fix misleading doc about weakref support in extension types. | Antoine Pitrou | 2012-06-15 | 1 | -3/+2 |
| | | | |||||
| * | | Fix typos in NEWS entry | Nick Coghlan | 2012-06-15 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #15061: Don't oversell the capabilities of the new non-shortcircuiting ↵ | Nick Coghlan | 2012-06-15 | 4 | -51/+67 |
| | | | | | | | | | | | | comparison function in hmac | ||||
| * | | Skip XincludeTest entirely instead of just ignoring failures, because it may ↵ | Eli Bendersky | 2012-06-15 | 1 | -1/+1 |
| | | | | | | | | | | | | segfault, depending on the order of running tests | ||||
| * | | Removed _SimpleElementPath and its flaky test. The test monkey-patches the ↵ | Eli Bendersky | 2012-06-15 | 2 | -48/+1 |
| | | | | | | | | | | | | module, which causes other failures and fails itself depending on the order tests are run. | ||||
| * | | mark problematic test as expected failure - investigating | Eli Bendersky | 2012-06-15 | 1 | -2/+6 |
| | | | |||||
| * | | Fix windows compilation problems caused by previous commit. | Eli Bendersky | 2012-06-15 | 1 | -2/+4 |
| | | | |||||
| * | | Replace the iter/itertext methods of Element in _elementtree with true C ↵ | Eli Bendersky | 2012-06-15 | 4 | -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 files | Antoine Pitrou | 2012-06-14 | 1 | -0/+2 |
| | | | |||||
| * | | Issue #15070: fix VS9.0 build regression | Antoine Pitrou | 2012-06-14 | 1 | -0/+8 |
| | | | |||||
| * | | Issue #13841: Make child processes exit using sys.exit() on Windows | Richard Oudkerk | 2012-06-14 | 6 | -55/+54 |
| | | | |||||
| * | | Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API. | Martin v. Löwis | 2012-06-14 | 2 | -44/+30 |
| | | | | | | | | | | | | Patch by Robin Schreiber. | ||||
| * | | Issue #14936: curses_panel was converted to PEP 3121 API. | Martin v. Löwis | 2012-06-14 | 2 | -12/+45 |
| | | | | | | | | | | | | Patch by Robin Schreiber. | ||||
| * | | merge 3.2 | Martin v. Löwis | 2012-06-14 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #14937: Fix typo. Patch by Roger Serwy. | Martin v. Löwis | 2012-06-14 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields | Alexander Belopolsky | 2012-06-14 | 6 | -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.2 | Sandro Tosi | 2012-06-13 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #15060: better fix, thanks to review on #python-dev | Sandro Tosi | 2012-06-13 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #15060: merge with 3.2 | Sandro Tosi | 2012-06-13 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #15060: fix typo in socket doc; Patch by anatoly techtonik | Sandro Tosi | 2012-06-13 | 1 | -1/+1 |
| | | | |||||
| * | | Fix test_time for adjusted/adjustable changes | Victor Stinner | 2012-06-12 | 1 | -6/+2 |
| | | | |||||
| * | | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result | Victor Stinner | 2012-06-12 | 6 | -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 structseq | Victor Stinner | 2012-06-12 | 2 | -62/+31 |
| | | |