Matthias Klose
0f4c16e29c
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
14 years ago
Ned Deily
7ca97d5208
Issue #14184 : Increase the default stack size for secondary threads on
Mac OS X to prevent interpreter crashes when compiled on 10.7.
14 years ago
Victor Stinner
bd273c1ec3
Issue #14180 : Fix an invalid rounding when compiler optimization are enabled
Use volatile keyword to disable localy unsafe float optimizations.
14 years ago
Victor Stinner
3a31dd407a
Issue #14180 : Remove commented code
14 years ago
Victor Stinner
5d272cc6a2
Close #14180 : Factorize code to convert a number of seconds to time_t, 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.
14 years ago
Victor Stinner
45e50de1f5
Try to fix compilation of Python-ast.c on Visual Studio 2008
14 years ago
Benjamin Peterson
3f3584695e
kill this disabled code
14 years ago
Benjamin Peterson
bc4665ebcb
use correct naming convention
14 years ago
Benjamin Peterson
7e0dbfbbde
give the AST class a __dict__
14 years ago
Georg Brandl
f125bf5f94
Update copyright years and version name.
14 years ago
Armin Ronacher
6ecf77b3f8
Basic support for PEP 414 without docs or tests.
14 years ago
Antoine Pitrou
4a90ef0363
Issue #14177 : marshal.loads() now raises TypeError when given an unicode string.
Patch by Guilherme Gonçalves.
14 years ago
Victor Stinner
643cd68ea4
Issue #13964 : signal.sigtimedwait() timeout is now a float instead of a tuple
Add a private API to convert an int or float to a C timespec structure.
14 years ago
Antoine Pitrou
1c13f84f55
Simplify code in marshal.c.
14 years ago
Antoine Pitrou
679e9d36f7
Issue #14172 : Fix reference leak when marshalling a buffer-like object (other than a bytes object).
14 years ago
Brett Cannon
efb00c0cc1
Issue #14153 Create _Py_device_encoding() to prevent _io from having to import
the os module.
14 years ago
Nick Coghlan
ab7bf2143e
Close issue #6210 : Implement PEP 409
14 years ago
Victor Stinner
90f50d4df9
Issue #13706 : Fix format(float, "n") for locale with non-ASCII decimal point (e.g. ps_aF)
14 years ago
Victor Stinner
41a863cb81
Issue #13706 : Fix format(int, "n") for locale with non-ASCII thousands separator
* 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
14 years ago
Antoine Pitrou
4f22a8d739
Issue #14084 : Fix a file descriptor leak when importing a module with a bad encoding.
14 years ago
Antoine Pitrou
7214612443
In find_module(), do not silence fileno() and dup() errors.
14 years ago
Benjamin Peterson
c9f54cf512
enable hash randomization by default
14 years ago
Antoine Pitrou
86838b02f0
Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
14 years ago
Benjamin Peterson
69e9727657
ensure no one tries to hash things before the random seed is found
14 years ago
Georg Brandl
91e5c08fe8
Fix typo in conditional.
14 years ago
Georg Brandl
12897d7d39
Fix typo in conditional.
14 years ago
Georg Brandl
2daf6ae249
Issue #13703 : add a way to randomize the hash values of 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.
14 years ago
Antoine Pitrou
c229e6e8ff
Issue #14040 : Remove rarely used file name suffixes for C extensions (under POSIX mainly).
This will improve import performance a bit (especially under importlib).
14 years ago
Victor Stinner
4195b5caea
Backout f8409b3d6449: the PEP 410 is not accepted yet
14 years ago
Victor Stinner
ccd5715a14
PEP 410
14 years ago
Victor Stinner
09225b73c1
Issue #13845 : time.time() now uses GetSystemTimeAsFileTime() instead of ftime()
to have a resolution of 100 ns instead of 1 ms (the clock accuracy is between
0.5 ms and 15 ms).
14 years ago
Petri Lehtinen
9713321f46
Document absoluteness of sys.executable
Closes #13402 .
14 years ago
Victor Stinner
ed27785b32
Issue #13706 : Add assertions to detect bugs earlier
14 years ago
Victor Stinner
a3dd409b52
Remove now useless arbitrary limit of module name length
14 years ago
Antoine Pitrou
33d15f7c85
Port import fixes from 2.7.
14 years ago
Antoine Pitrou
2be60afb7e
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
14 years ago
Amaury Forgeot d'Arc
6d766fc3fa
Silence last compilation warning.
14 years ago
Amaury Forgeot d'Arc
cd27df3a99
Fix compilation warnings (seen on win32 buildbot)
14 years ago
Benjamin Peterson
ce79852077
use the static identifier api for looking up special methods
I had to move the static identifier code from unicodeobject.h to object.h in
order for this to work.
14 years ago
Victor Stinner
a4ac600d6f
Issue #13706 : Support non-ASCII fill characters
14 years ago
Eric V. Smith
d25cfe66f5
Improve exception text. Closes issue 13811.
14 years ago
Meador Inge
fa21bf015d
Issue #12705 : Raise SyntaxError when compiling multiple statements as single interactive statement
14 years ago
Antoine Pitrou
1b468af7be
Issue #13722 : Avoid silencing ImportErrors when initializing the codecs registry.
14 years ago
Antoine Pitrou
aa5c5c60f1
Finally fix all test_capi refleaks
14 years ago
Antoine Pitrou
6c40eb7f42
Fix the builtin module initialization code to store the init function for future reinitialization.
14 years ago
Antoine Pitrou
2fabface50
Fix a memory leak when initializing the standard I/O streams.
14 years ago
Benjamin Peterson
c64ae92bf1
fix indentation
14 years ago
Benjamin Peterson
c8909ddd28
break out switch at correct place
14 years ago
Benjamin Peterson
205ad61313
only finish error if one occurred
14 years ago
Benjamin Peterson
c0beabc2a5
move LINENO define to where it actually belongs
14 years ago