summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14184: mergeNed Deily2012-03-131-8/+12
|\
| * Issue #14184: Increase the default stack size for secondary threads onNed Deily2012-03-131-8/+12
| | | | | | | | Mac OS X to prevent interpreter crashes when compiled on 10.7.
* | Issue #14180: Fix an invalid rounding when compiler optimization are enabledVictor Stinner2012-03-131-1/+3
| | | | | | | | Use volatile keyword to disable localy unsafe float optimizations.
* | Issue #14180: Remove commented codeVictor Stinner2012-03-131-2/+0
| |
* | Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-131-22/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero.
* | Try to fix compilation of Python-ast.c on Visual Studio 2008Victor Stinner2012-03-131-1/+1
| |
* | merge 3.2Benjamin Peterson2012-03-121-6/+0
|\ \ | |/
| * kill this disabled codeBenjamin Peterson2012-03-121-6/+0
| |
* | merge 3.2Benjamin Peterson2012-03-121-2/+2
|\ \ | |/
| * use correct naming conventionBenjamin Peterson2012-03-121-2/+2
| |
* | give the AST class a __dict__Benjamin Peterson2012-03-121-3/+15
| |
* | Update copyright years and version name.v3.3.0a1Georg Brandl2012-03-041-1/+1
| |
* | Basic support for PEP 414 without docs or tests.Armin Ronacher2012-03-041-0/+3
| |
* | - Issue #14177: marshal.loads() now raises TypeError when given an unicodeAntoine Pitrou2012-03-031-4/+4
|\ \ | |/ | | | | string. Patch by Guilherme Gonçalves.
| * Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-031-4/+4
| | | | | | | | Patch by Guilherme Gonçalves.
* | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tupleVictor Stinner2012-03-021-0/+45
| | | | | | | | Add a private API to convert an int or float to a C timespec structure.
* | Simplify code in marshal.c.Antoine Pitrou2012-03-021-7/+1
| |
* | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-4/+4
|\ \ | |/ | | | | (other than a bytes object).
| * Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-4/+4
| | | | | | | | (other than a bytes object).
* | Issue #14153 Create _Py_device_encoding() to prevent _io from having to importBrett Cannon2012-02-291-0/+34
| | | | | | | | the os module.
* | Close issue #6210: Implement PEP 409Nick Coghlan2012-02-262-9/+14
| |
* | Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point ↵Victor Stinner2012-02-241-9/+6
| | | | | | | | (e.g. ps_aF)
* | Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separatorVictor Stinner2012-02-231-53/+89
| | | | | | | | | | | | | | | | | | | | | | * Decode thousands separator and decimal point using PyUnicode_DecodeLocale() (from the locale encoding), instead of decoding them implicitly from latin1 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum character if unicode is NULL * Replace MIN/MAX macros by Py_MIN/Py_MAX * stringlib/undef.h undefines STRINGLIB_IS_UNICODE * stringlib/localeutil.h only supports Unicode
* | Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵Antoine Pitrou2012-02-221-4/+3
|\ \ | |/ | | | | encoding.
| * Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵Antoine Pitrou2012-02-221-1/+3
| | | | | | | | encoding.
| * In find_module(), do not silence fileno() and dup() errors.Antoine Pitrou2012-02-221-0/+2
| |
* | enable hash randomization by defaultBenjamin Peterson2012-02-211-11/+0
| |
* | Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-212-2/+10
|\ \ | |/ | | | | earliest point.
| * Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-212-2/+10
| | | | | | | | earliest point.
* | merge 3.2Benjamin Peterson2012-02-211-4/+8
|\ \ | |/
| * merge 3.2Benjamin Peterson2012-02-211-4/+8
| |\
| | * ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
| | |
| | * Fix typo in conditional.Georg Brandl2012-02-201-1/+1
| | |
* | | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-203-2/+314
|\ \ \ | |/ /
| * | Fix typo in conditional.Georg Brandl2012-02-201-1/+1
| | |
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-203-2/+314
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-203-2/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | | Issue #14040: Remove rarely used file name suffixes for C extensions (under ↵Antoine Pitrou2012-02-205-10/+0
| | | | | | | | | | | | | | | | | | POSIX mainly). This will improve import performance a bit (especially under importlib).
* | | Backout f8409b3d6449: the PEP 410 is not accepted yetVictor Stinner2012-02-081-325/+18
| | |
* | | PEP 410Victor Stinner2012-02-081-18/+325
| | |
* | | Issue #13845: time.time() now uses GetSystemTimeAsFileTime() instead of ftime()Victor Stinner2012-02-071-8/+25
| | | | | | | | | | | | | | | to have a resolution of 100 ns instead of 1 ms (the clock accuracy is between 0.5 ms and 15 ms).
* | | Merge branch 3.2Petri Lehtinen2012-02-021-1/+1
|\ \ \ | |/ / | | | | | | Closes #13402.
| * | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-1/+1
| | | | | | | | | | | | Closes #13402.
* | | Issue #13706: Add assertions to detect bugs earlierVictor Stinner2012-01-311-3/+9
| | |
* | | Remove now useless arbitrary limit of module name lengthVictor Stinner2012-01-251-6/+0
| | |
* | | Port import fixes from 2.7.Antoine Pitrou2012-01-251-10/+10
|\ \ \ | |/ /
| * | Port import fixes from 2.7.Antoine Pitrou2012-01-251-10/+10
| | |
* | | Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-241-7/+4
|\ \ \ | |/ / | | | | | | modification time doesn't fit in a 32-bit timestamp.
| * | Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-241-7/+4
| | | | | | | | | | | | modification time doesn't fit in a 32-bit timestamp.
* | | Silence last compilation warning.Amaury Forgeot d'Arc2012-01-231-1/+1
| | |