[issue4709] Mingw-w64 and python on windows x64

2015-05-19 Thread Руслан Ижбулатов
Руслан Ижбулатов 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

[issue16722] __index__() overrides __bytes__() when bytes() is called

2012-12-19 Thread Руслан Ижбулатов
Руслан Ижбулатов 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

[issue16722] __index__() overrides __bytes__() when bytes() is called

2012-12-18 Thread Руслан Ижбулатов
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

[issue3871] cross and native build of python for mingw32 with distutils

2010-09-08 Thread Руслан Ижбулатов
Руслан Ижбулатов 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

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread Руслан Ижбулатов
Руслан Ижбулатов lrn1...@gmail.com added the comment: Where's the distutils2 code? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread Руслан Ижбулатов
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

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread Руслан Ижбулатов
Руслан Ижбулатов 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

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-07 Thread Руслан Ижбулатов
Руслан Ижбулатов 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