Comments (4)
from cpython.
Vladimir, can you comment on this?
from cpython.
Never mind! :-)
from cpython.
Moved here from [email protected]
This patch fixes a problem on AIX with the signed int case code in getargs.c, after Trent Mick's intervention about MIN/MAX overflow checks. The AIX compiler/optimizer generates bogus code with the default flags "-g -O" causing test_builtin to fail: int("10", 16) <> 16L. Hopefully, swapping the two checks in the signed int code makes the problem go away.
Also, make the error messages fit in 80 char lines in the source.
[Trent Mick]:
Does it?
[me]
Yes, it does. Without optimization, everything was okay, with -O it crashed. This is the second time that swapping statemets in the code alleviates bugs in some (old) AIX optimizers ... [snip] So, as far as
such patches don't hurt the semantics of the code, they are fine.
[Trent]
Seconded. +1
from cpython.
Related Issues (20)
- TSan: data race in pending calls HOT 6
- TSan: data race with PyTypeObject version tag HOT 2
- TSan: data race with _PyThreadState_Attach and _PyThreadState_Detach HOT 2
- TSan: data race accessing socket fd HOT 3
- ``test_capi`` leaks references HOT 4
- Why do we have two counters for function versions? HOT 1
- بيثو HOT 2
- 116 HOT 3
- tarfile.py: TarFile.addfile not adding all files HOT 3
- docs (easy): Add reference to the Python docs theme gh repo
- docs(easy): Document that heap types need to support garbage collection HOT 3
- C API: Add PyType_GetModuleByDef() to the limited C API version 3.13 HOT 6
- `dict` and `dict.update` treat the first argument as a mapping when it has attribute `keys` without attribute `__getitem__` HOT 7
- Rewrite binarysort() HOT 9
- `./Include/cpython/pyatomic_std.h` will not compile HOT 3
- `makesetup` to allow missing ending line break for `Setup` files
- Heap types implemented in C must have Py_TPFLAGS_HAVE_GC and implement tp_traverse HOT 2
- configparser.DuplicateOptionError leaves ConfigParser instance in bad state HOT 1
- json decode error in case of trailing comma is misleading HOT 2
- Error in Modules/zlibmodule.c when compling cpython from source code HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpython.