Руслан Ижбулатов added the comment:
If there is no interest in having a (community-supported, semi-
official) GCC-built Python on Windows, I'm sure something else
can also be worked out, which would include stripping the current
dinosaur -mno-cygwin code which is what this bug was originally
Руслан Ижбулатов added the comment:
Yes, i saw #15559 ( well, actually, i saw the related discussion
http://mail.python.org/pipermail/python-dev/2012-August/121241.html ) while
looking for an answer. It's more narrow - i.e. manifestation of this issue in
ipaddress case where some people
New submission from Руслан Ижбулатов:
If a class implements both __index__() and __bytes__(), the built-in bytes()
constructor uses __index__() in place of __bytes__(), including the assumption
that __index__() returns a bytes object.
Attaching a simple example (leads to overflow when big
Руслан Ижбулатов lrn1...@gmail.com added the comment:
A small correction to previous post: two new compiler-and-linker types, not one.
First - MinGW toolset without MSys, working with normal Windows command
interpreter, which can be invoked simply by calling cmd (or whatever we get
from
Руслан Ижбулатов lrn1...@gmail.com added the comment:
Where's the distutils2 code?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
Changes by Руслан Ижбулатов lrn1...@gmail.com:
Removed file: http://bugs.python.org/file18428/py3k_mingwmsys_2_autogen.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
Руслан Ижбулатов lrn1...@gmail.com added the comment:
Uh, sorry about that. I've replaced the second diff with the correct one.
--
Added file: http://bugs.python.org/file18437/py3k_mingwmsys_2_autogen.diff
___
Python tracker rep...@bugs.python.org
Руслан Ижбулатов lrn1...@gmail.com added the comment:
New version of my patch. Addresses some issues i've found since the last one.
Diff against a recent trunk is attached.
Changes (relative to previous patch):
Python/pythonrun.c:
* Added a call to _set_abort_behavior(). That should fix
http