summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Fix compilation warnings (seen on win32 buildbot)Amaury Forgeot d'Arc2012-01-231-4/+4
| | |
* | | use the static identifier api for looking up special methodsBenjamin Peterson2012-01-222-10/+11
| | | | | | | | | | | | | | | I had to move the static identifier code from unicodeobject.h to object.h in order for this to work.
* | | Issue #13706: Support non-ASCII fill charactersVictor Stinner2012-01-211-15/+19
| | |
* | | Improve exception text. Closes issue 13811.Eric V. Smith2012-01-201-2/+2
| | |
* | | Issue #12705: Raise SyntaxError when compiling multiple statements as single ↵Meador Inge2012-01-191-0/+3
| | | | | | | | | | | | interactive statement