- 13 Dec, 2012 4 commits
-
-
Andrew Svetlov authored
Patch by Bruno Dupuis.
-
Ross Lagerwall authored
-
Ross Lagerwall authored
gives the same output as "id -G".
-
Benjamin Peterson authored
-
- 12 Dec, 2012 6 commits
-
-
Christian Heimes authored
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
-
Christian Heimes authored
creates a broken PYTHON_FOR_BUILD variable when --build is missing.
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
defined in cross compiling mode, too.
-
Christian Heimes authored
defined in cross compiling mode, too.
-
- 11 Dec, 2012 12 commits
-
-
Gregory P. Smith authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
computation as the overflow behavior of signed integers is undefined. NOTE: This change is smaller compared to 3.2 as much of this cleanup had already been done. I added the comment that my change in 3.2 added so that the code would match up. Otherwise this just adds or synchronizes appropriate UL designations on some constants to be pedantic. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. We could work to get rid of the -fwrapv requirement in 3.4 but that requires more planning. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
compiler logic will do the right thing with just x as a Py_uhash_t. This matches what was already done in the 3.3 version. cleanup only - no functionality or hash values change.
-
Gregory P. Smith authored
computation as the overflow behavior of signed integers is undefined. NOTE: This change is smaller compared to 3.2 as much of this cleanup had already been done. I added the comment that my change in 3.2 added so that the code would match up. Otherwise this just adds or synchronizes appropriate UL designations on some constants to be pedantic. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change.
-
Gregory P. Smith authored
computation as the overflow behavior of signed integers is undefined. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change.
-
Gregory P. Smith authored
longer required as of Python 2.5+ when the gc_refs changed from an int (4 bytes) to a Py_ssize_t (8 bytes) as the minimum size is 16 bytes. The use of a 'long double' triggered a warning by Clang trunk's Undefined-Behavior Sanitizer as on many platforms a long double requires 16-byte alignment but the Python memory allocator only guarantees 8 byte alignment. So our code would allocate and use these structures with technically improper alignment. Though it didn't matter since the 'dummy' field is never used. This silences that warning. Spelunking into code history, the double was added in 2001 to force better alignment on some platforms and changed to a long double in 2002 to appease Tru64. That issue should no loner be present since the upgrade from int to Py_ssize_t where the minimum structure size increased to 16 (unless anyone knows of a platform where ssize_t is 4 bytes?) or 24 bytes depending on if the build uses 4 or 8 byte pointers. We can probably get rid of the double and this union hack all together today. That is a slightly more invasive change that can be left for later. A more correct non-hacky alternative if any alignment issues are still found would be to use a compiler specific alignment declaration on the structure and determine which value to use at configure time.
-
Gregory P. Smith authored
Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
-
Gregory P. Smith authored
Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
-
Gregory P. Smith authored
Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
-
- 10 Dec, 2012 18 commits
-
-
Hynek Schlawack authored
Turns out, the snakebite bots have also their peculiarities. I'm really not proud of this stream of commits. :(
-
Hynek Schlawack authored
Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
-
Hynek Schlawack authored
Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
-
Hynek Schlawack authored
The Windows buildbots seem to be unable to agree whether they need them or not.
-
Hynek Schlawack authored
The Windows buildbots seem to be unable to agree whether they need them or not.
-
Hynek Schlawack authored
The Windows buildbots seem to be unable to agree whether they need them or not.
-
Hynek Schlawack authored
This one is different from 3.2 and 3.3. Windows ceased using *.* since 3.4 apparently.
-
Senthil Kumaran authored
-
Hynek Schlawack authored
-
Hynek Schlawack authored
-
Hynek Schlawack authored
-
Hynek Schlawack authored
-
Hynek Schlawack authored
-
Hynek Schlawack authored
It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka.
-
Hynek Schlawack authored
It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka.
-
Hynek Schlawack authored
It cause shutil.rmtree not ignore all errors. Also add a test ensuring that rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
-
Chris Jerdonek authored
-
Chris Jerdonek authored
-