[issue13697] python RLock implementation unsafe with signals
Roumen Petrov added the comment: STINNER Victor wrote: [SNIP]I attach hang2.py which doesn't force the Python implementation of RLock.[SNIP] Ok. Fine with me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13697 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13697] python RLock implementation unsafe with signals
Roumen Petrov added the comment: hmm issue still exist in master branch. Lets wait python 4 for sane behaviour. -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13697 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13697] python RLock implementation unsafe with signals
Roumen Petrov added the comment: STINNER Victor wrote: For the third time, only the Python implementation has the bug, and it's not used by default. So the bug was fixed in Python 3 since 3.2. It's time to upgrade guys ;-) Did you mean to downgrade? Tested with Python 3.5.0a1+ (default, Feb 28 2015, 09:49:09) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13697 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12939] Add new io.FileIO using the native Windows API
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12939 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22724] byte-compile fails for cross-builds
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22724 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18976] distutils/command/build_ext passes wrong linker flags
Roumen Petrov added the comment: more simple correction is attached to issue17219 -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18976 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15018] Incomplete Python LDFLAGS and CPPFLAGS used for extension modules on posix
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15018 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18654] modernize mingwcygwin compiler classes
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36218/0011-MINGW-compiler-customize-mingw-cygwin-compilers.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17148] mingw: nt thread model detection
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36219/0001-MINGW-issue17148-nt-thread-model-detection.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17148 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17596] mingw: add wincrypt.h in Python/random.c
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36220/0006-MINGW-add-wincrypt.h-in-Python-random.c.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17596 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17597] mingw: add $srcdir/PC to CPPFLAGS
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36221/0007-MINGW-add-srcdir-PC-to-CPPFLAGS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17597 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17599] mingw: detect REPARSE_DATA_BUFFER
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36222/0009-MINGW-detect-REPARSE_DATA_BUFFER.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17599 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17602] mingw: default sys.path calculations for windows platforms
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36223/0012-MINGW-default-sys.path-calculations-for-windows-plat.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17602 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17604] mingw: use main() to start execution
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36224/0014-MINGW-use-main-to-start-execution.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17604 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18495] mingw: ignore main program for frozen scripts
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36225/0007-MINGW-ignore-main-program-for-frozen-scripts.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18495 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18631] mingw: setup msvcrt and _winapi modules
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file36226/0014-MINGW-setup-msvcrt-and-_winapi-modules.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18631 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8548] Building on CygWin 1.7: PATH_MAX redefined
Roumen Petrov added the comment: Hi Mark, #else before is not solution. See unified diff below as post by Scott Rostrup lack definition Some additional information: a) move outside #ifdef HAVE_FCNTL_H : definition PATH_MAX is not related to control functions on open files (fcntl.h) b) HAVE_FCNTL_H is defined for MSC build as well. so no impact on other build --- a/Modules/main.c +++ b/Modules/main.c @@ -9,6 +9,8 @@ #include windows.h #ifdef HAVE_FCNTL_H #include fcntl.h +#endif +#ifndef PATH_MAX #define PATH_MAX MAXPATHLEN #endif #endif -- -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8548 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io
Roumen Petrov added the comment: PATH_MAX in duplicate with issue8548 Instead to modify BASECFLAGS user could configure with CPPFLAGS set if symbolic links are missing . In addition 5.9 package creates links so work around is not required . Please close as invalid. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9665 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22100 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8548] Building on CygWin 1.7: PATH_MAX redefined
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8548 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21085] compile error Python3.3 on Cygwin
Roumen Petrov added the comment: STINNER Victor wrote: STINNER Victor added the comment: I found this patch: https://github.com/Alexpux/MSYS2-packages/blob/master/python3/3.3.2-cygwin-siginfo.patch Sure. It seems to me it is extracted from issue3871 . -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21085 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21085] compile error Python3.3 on Cygwin
Roumen Petrov added the comment: dellair jie wrote: dellair jie added the comment: Applied the patch 0001-CYGWIN-issue13756-Python-make-fail-on-cygwin.patch in case: http://bugs.python.org/issue13756 The build failed with parser module: building 'parser' extension gcc .. .../parsermodule.o: In function `parser_sizeof': /cygdrive/c/temp/Python-3.3.2/Modules/parsermodule.c:371: undefined reference to `__PyNode_SizeOf' collect2: ld returned 1 exit status Could anyone shed some lights please? See issue18637 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21085 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20212] distutils: fix build_ext check to find whether we're building Python or not
Roumen Petrov added the comment: actually proposed fix is my patch from 17219 with long history before. -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20212 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20212] distutils: fix build_ext check to find whether we're building Python or not
Roumen Petrov added the comment: P.S. two patches posted to Issue17219 are for master branch as second one should apply cleanly to current. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20212 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18654] modernize mingwcygwin compiler classes
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32079/0011-MINGW-compiler-customize-mingw-cygwin-compilers.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18654] modernize mingwcygwin compiler classes
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32078/modernize-mingw+cygwin-compiler-class.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17219] cross add Python's library directory when building python standard extensions
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32080/0002-issue17219-add-current-dir-in-library-path-if-buildi.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17219 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18632] mingw: build extensions with GCC
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32081/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18632 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18639] mingw: avoid circular dependency from time module during native build of extentions
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Added file: http://bugs.python.org/file32082/0021-MINGW-avoid-circular-dependency-from-time-module-dur.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18639 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19241] MINGW: install import library
New submission from Roumen Petrov: Enhancement of issue3871 - installation -- components: Installation files: 0001-MINGW-install-import-library.patch keywords: patch messages: 199689 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: install import library versions: Python 3.4 Added file: http://bugs.python.org/file32085/0001-MINGW-install-import-library.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19241 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19242] MINGW: generalization of posix installation in distutils
New submission from Roumen Petrov: Enhancement of issue3871 - installation -- files: 0002-MINGW-generalization-of-posix-installation-in-distut.patch keywords: patch messages: 199690 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: generalization of posix installation in distutils Added file: http://bugs.python.org/file32086/0002-MINGW-generalization-of-posix-installation-in-distut.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19242 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19242] MINGW: generalization of posix installation in distutils
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- components: +Installation versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19242 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19241] MINGW: install import library
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19241 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19243] MINGW: support stdcall without underscore
New submission from Roumen Petrov: Split of issue3871 -- components: Extension Modules, Installation files: 0003-MINGW-support-stdcall-without-underscore.patch keywords: patch messages: 199692 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: support stdcall without underscore type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file32087/0003-MINGW-support-stdcall-without-underscore.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19243 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19242] MINGW: generalization of posix installation in distutils
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19242 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19244] MINGW: use replace instead rename to avoid failure on windows
New submission from Roumen Petrov: Enhancement of issue3871 - installation -- components: Installation files: 0004-use-replace-instead-rename-to-avoid-failure-on-windo.patch keywords: patch messages: 199693 nosy: rpetrov priority: normal severity: normal status: open title: MINGW: use replace instead rename to avoid failure on windows type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file32088/0004-use-replace-instead-rename-to-avoid-failure-on-windo.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19244 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19245] mingw-meta: installation
New submission from Roumen Petrov: this is meta issue for enhancement of issue3871 - part related to installation. Remark: build of core modules is in issue18653 . 01 : issue19241 : install import library 02 : issue19242 : generalization of posix installation in distutils 03 : issue19243 : support stdcall without underscore 04 : issue19244 : use replace instead rename to avoid failure on windows -- components: Installation messages: 199694 nosy: rpetrov priority: normal severity: normal status: open title: mingw-meta: installation type: enhancement versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19245 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3871] cross and native build of python for mingw* hosts
Roumen Petrov added the comment: For protocol - as requested patches attached to this issue are split ans posted as separate issues. Please follow those listed below: issue18654 - modernize mingwcygwin compiler classes (new) issue17605 - mingw-meta: build interpreter core issue18653 - mingw-meta: build core modules issue19245 - mingw-meta: install (new) Test cases are not covered. Patches will be posted later, if above are resolved. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18653] mingw-meta: build core modules
New submission from Roumen Petrov: split of issue3871 - this is meta issue only for part related to build core. Remark: build of interpreter core is in issue17605 . Now split is: - 01 issue13756 : Python make fail on cygwin - 02 issue17219 : add current dir in library path if building python standard extensions - 03 issue6672 : Add Mingw recognition to pyport.h to allow building extensions - 04 issue18485 : configure for shared build - 05 issue18486 : dynamic loading support - 06 issue18487 : implement exec prefix - 07 issue18495 : ignore main program for frozen scripts - 08 issue18496 : setup exclude termios module - 09 issue18497 : setup _multiprocessing module - 10 issue18498 : setup select module - 11 issue18499 : setup _ctypes module with system libffi - 12 issue18500 : defect winsock2 and setup _socket module - 13 issue18630 : exclude unix only modules - 14 issue18631 : setup msvcrt and _winapi modules - 15 issue18632 : build extensions with GCC - 16 issue18633 : use Mingw32CCompiler as default compiler for mingw* build - 17 issue18634 : find import library - 18 issue18636 : setup _ssl module - 19 issue18637 : export _PyNode_SizeOf as PyAPI for parser module - 20 issue18638 : generalization of posix build in sysconfig.py - 21 issue18639 : avoid circular dependency from time module during native build of extentions - 22 issue18640 : generalization of posix build in distutils/sysconfig.py - 23 issue18641 : customize site - 24 after above patches user must regenerate configure script. Hints: a) at configure time define environment variable CPPFLAGS with minimum supported version like this -DWINVER=0x501 -D_WIN32_WINNT=0x501 -DMS_COREDLL=1, i.e XP is now minimum. MS_COREDLL is required for ctype module b) at configure time define environment variable CCSHARED with minimum supported version like this: -DWINVER=0x501 -D_WIN32_WINNT=0x501. Remark use same values as CPPFLAGS c) use --without-libm d) use --enable-shared e) use --with-system-ffi -- components: Build, Cross-Build, Extension Modules messages: 194358 nosy: rpetrov priority: normal severity: normal status: open title: mingw-meta: build core modules type: enhancement versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18653 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18654] modernize mingwcygwin compiler classes
New submission from Roumen Petrov: Python mingw and cygwin compiler classes tests for outdated features. Also python code set some flags like zero optimization level and etc. that prevent users to build optimized python or even worse build to fail. This issue is part of split of issue3871 with clean-up and enhancements: - archive contain set of 10 patches - remove of outdated (15 years old ) features one by one. - enhance unix compiler customization with mingw and cygwin compilers -- assignee: eric.araujo components: Build, Cross-Build, Distutils files: modernize-mingw+cygwin-compiler-class.tar.gz messages: 194363 nosy: eric.araujo, rpetrov, tarek priority: normal severity: normal status: open title: modernize mingwcygwin compiler classes type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31151/modernize-mingw+cygwin-compiler-class.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18654] modernize mingwcygwin compiler classes
Roumen Petrov added the comment: Proposed customization allow users to build extension module for windows with GNU compiler in all environments: - native with installed official build of python for windows - native either MSYS or CYGWIN enviroment and python build with GCC - cross-build in cygwin using official build of python for windows - cross-build in cygwin or linux with use of preset configuration from distribution - cross-build in linux and cross build python with GCC In addition patch allow user to build (native or cross) core modules with recent gnu compilers. -- keywords: +patch Added file: http://bugs.python.org/file31152/0011-MINGW-compiler-customize-mingw-cygwin-compilers.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18654 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18653] mingw-meta: build core modules
Roumen Petrov added the comment: This patch require modernize mingwcygwin compiler classes now opened as separate issue18654 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18653 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17605] mingw-meta: build interpeter core
Roumen Petrov added the comment: please follow build of core modules - issue18653 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17605 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6335] Add support for mingw
Roumen Petrov added the comment: I would like to config that path to this issue is one of those for issue3871 - my patch for 2.6/2.7 enhanced by ?? (sorry I forgot user :( ) for 3.0 . Now as requested all in one patch is split and first set is listed in issue17605 build interpeter core, second issue18653 build core modules plus modernization of mingwcygwin compiler classes in scope of issue18654 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9098] MSYS build fails with `S_IXGRP' undeclared
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9098 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15315] Can't build Python extension with mingw32 on Windows
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15315 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4709] Mingw-w64 and python on windows x64
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4709 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2445] Use The CygwinCCompiler Under Cygwin
Roumen Petrov added the comment: Hi, Now issue18654 modernize mingwcygwin compiler classes contain enhancement that could be reused by this issue: patch 0007-MINGW-compiler-cygwin-provides-its-own-C-runtime.patch from archive , i.e. lets avoid change in get_msvcr() that return. Mingw is also impacted but is addresses in another patches. As separate patch is 'compiler customization' - more advanced version then proposed by Jeevan Varshney (jayvee) A separate issue18634 find import library address .dll.a suffix based on existing distutil functionality. Also issue18633 Mingw32CCompiler as default compiler for mingw* build adds same fixes from unix compiler class into Cygwin one - ref '# Chop off the drive' So with above I think that cygwin compiler could be switched back from unix to own. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2445 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18630] mingw: exclude unix only modules
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0013-MINGW-exclude-unix-only-modules.patch keywords: patch messages: 194191 nosy: rpetrov priority: normal severity: normal status: open title: mingw: exclude unix only modules type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31119/0013-MINGW-exclude-unix-only-modules.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18630 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18631] mingw: setup msvcrt and _winapi modules
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0014-MINGW-setup-msvcrt-and-_winapi-modules.patch keywords: patch messages: 194192 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup msvcrt and _winapi modules type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31120/0014-MINGW-setup-msvcrt-and-_winapi-modules.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18631 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18632] mingw: build extensions with GCC
New submission from Roumen Petrov: Split of issue3871 - build core modules. Now more simple version of previous patch. -- components: Build files: 0015-MINGW-build-extensions-with-GCC.patch keywords: patch messages: 194193 nosy: rpetrov priority: normal severity: normal status: open title: mingw: build extensions with GCC type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31121/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18632 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18632] mingw: build extensions with GCC
Changes by Roumen Petrov bugtr...@roumenpetrov.info: Removed file: http://bugs.python.org/file31121/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18632 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18632] mingw: build extensions with GCC
Roumen Petrov added the comment: Attached up to date version of patch. -- Added file: http://bugs.python.org/file31122/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18632 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18633] mingw: use Mingw32CCompiler as default compiler for mingw* build
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved version based on get_platform() -- components: Build, Cross-Build files: 0016-MINGW-use-Mingw32CCompiler-as-default-compiler-for-m.patch keywords: patch messages: 194197 nosy: rpetrov priority: normal severity: normal status: open title: mingw: use Mingw32CCompiler as default compiler for mingw* build type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31123/0016-MINGW-use-Mingw32CCompiler-as-default-compiler-for-m.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18633 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18634] mingw find import library
New submission from Roumen Petrov: Split of issue3871 - build core modules: required by setup.py on hosts with installed only shared (DLL) packages. -- components: Build, Cross-Build files: 0017-MINGW-find-import-library.patch keywords: patch messages: 194198 nosy: rpetrov priority: normal severity: normal status: open title: mingw find import library type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31124/0017-MINGW-find-import-library.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18634 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18636] mingw: setup _ssl module
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build, Cross-Build, Extension Modules files: 0018-MINGW-setup-_ssl-module.patch keywords: patch messages: 194200 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup _ssl module type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31126/0018-MINGW-setup-_ssl-module.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18636 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18637] mingw: export _PyNode_SizeOf as PyAPI for parser module
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Extension Modules, Interpreter Core files: 0019-MINGW-export-_PyNode_SizeOf-as-PyAPI-for-parser-modu.patch keywords: patch messages: 194201 nosy: rpetrov priority: normal severity: normal status: open title: mingw: export _PyNode_SizeOf as PyAPI for parser module type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31127/0019-MINGW-export-_PyNode_SizeOf-as-PyAPI-for-parser-modu.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18637 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18638] mingw: generalization of posix build in sysconfig.py
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved patch -- components: Build, Cross-Build files: 0020-MINGW-generalization-of-posix-build-in-sysconfig.py.patch keywords: patch messages: 194202 nosy: rpetrov priority: normal severity: normal status: open title: mingw: generalization of posix build in sysconfig.py versions: Python 3.4 Added file: http://bugs.python.org/file31128/0020-MINGW-generalization-of-posix-build-in-sysconfig.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18638 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18639] mingw: avoid circular dependency from time module during native build of extentions
New submission from Roumen Petrov: Split of issue3871 - build core modules: patch is not required in cross-build environment. -- assignee: eric.araujo components: Build, Distutils, Extension Modules files: 0021-MINGW-avoid-circular-dependency-from-time-module-dur.patch keywords: patch messages: 194203 nosy: eric.araujo, rpetrov, tarek priority: normal severity: normal status: open title: mingw: avoid circular dependency from time module during native build of extentions versions: Python 3.4 Added file: http://bugs.python.org/file31129/0021-MINGW-avoid-circular-dependency-from-time-module-dur.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18639 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18640] mingw: generalization of posix build in distutils/sysconfig.py
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved patch -- assignee: eric.araujo components: Build, Cross-Build, Distutils, Extension Modules files: 0022-MINGW-generalization-of-posix-build-in-distutils-sys.patch keywords: patch messages: 194204 nosy: eric.araujo, rpetrov, tarek priority: normal severity: normal status: open title: mingw: generalization of posix build in distutils/sysconfig.py type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31130/0022-MINGW-generalization-of-posix-build-in-distutils-sys.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18640 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18641] mingw: customize site
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved patch -- components: Build, Cross-Build, Extension Modules files: 0023-MINGW-customize-site.patch keywords: patch messages: 194205 nosy: rpetrov priority: normal severity: normal status: open title: mingw: customize site type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31131/0023-MINGW-customize-site.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18496] mingw: setup exclude termios module
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0008-MINGW-setup-exclude-termios-module.patch keywords: patch messages: 193319 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup exclude termios module type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30971/0008-MINGW-setup-exclude-termios-module.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18496 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18497] mingw: setup _multiprocessing module
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0009-MINGW-setup-_multiprocessing-module.patch keywords: patch messages: 193320 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup _multiprocessing module type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30972/0009-MINGW-setup-_multiprocessing-module.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18497 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18498] mingw: setup select module
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0010-MINGW-setup-select-module.patch keywords: patch messages: 193321 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup select module type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30973/0010-MINGW-setup-select-module.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18495] mingw: ignore main program for frozen scripts
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0007-MINGW-ignore-main-program-for-frozen-scripts.patch keywords: patch messages: 193318 nosy: rpetrov priority: normal severity: normal status: open title: mingw: ignore main program for frozen scripts type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30970/0007-MINGW-ignore-main-program-for-frozen-scripts.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18495 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18499] mingw: setup _ctypes module with system libffi
New submission from Roumen Petrov: enhancement of issue3871 ( build core modules ). Part of issue 3871 is python libffi source for gnu assembler on 32 windows platform. The functionality is same as inlined assembled for MSC. Note python specific libffi customization is not in mainstream libffi source. This patch adds build with system libffi. You you like to use customized libffi then please extract from previous 'all in one' patch. -- components: Build files: 0011-MINGW-setup-_ctypes-module-with-system-libffi.patch keywords: patch messages: 193322 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup _ctypes module with system libffi type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30974/0011-MINGW-setup-_ctypes-module-with-system-libffi.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18500] mingw: defect winsock2 and setup _socket module
New submission from Roumen Petrov: Split of issue3871 (build core modules) - improved winsock detection. Requires NT 5.1+ (wxp). Note if you like python winsock for w2k then please extract from old 'all in one' patch. -- components: Build files: 0012-MINGW-defect-winsock2-and-setup-_socket-module.patch keywords: patch messages: 193323 nosy: rpetrov priority: normal severity: normal status: open title: mingw: defect winsock2 and setup _socket module type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30975/0012-MINGW-defect-winsock2-and-setup-_socket-module.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18500 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18485] mingw: configure for shared build
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0004-MINGW-configure-for-shared-build.patch keywords: patch messages: 193246 nosy: rpetrov priority: normal severity: normal status: open title: mingw: configure for shared build type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30956/0004-MINGW-configure-for-shared-build.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18485 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6672] Add Mingw recognition to pyport.h to allow building extensions
Roumen Petrov added the comment: new patch - improved version with support for build of core modules -- Added file: http://bugs.python.org/file30957/0003-issue6672-v2-Add-Mingw-recognition-to-pyport.h-to-al.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6672 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18486] mingw: dynamic loading support
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0005-MINGW-dynamic-loading-support.patch keywords: patch messages: 193249 nosy: rpetrov priority: normal severity: normal status: open title: mingw: dynamic loading support type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30958/0005-MINGW-dynamic-loading-support.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18486 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18487] mingw implement exec prefix
New submission from Roumen Petrov: Enhancement of issue3871 - part for build of core modules. Patch in scope of 3871 is designed for compatibility with specific for MSC build installation scheme. Users don't like this. Updated patch is part of support 'posix' build and installation scheme for windows hosts. For now functionality is activated only for GNU C compiler. -- components: Build files: 0006-MINGW-implement-exec-prefix.patch keywords: patch messages: 193251 nosy: rpetrov priority: normal severity: normal status: open title: mingw implement exec prefix type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30959/0006-MINGW-implement-exec-prefix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18487 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10615] Trivial mingw compile fixes
Roumen Petrov added the comment: This patch cannot be closed as contain some fixes not reported/proposed yet . For instance I'm not aware of name clash in Modules/_pickle.c . I think that other are in scope of issue3871 or earlier . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10615 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18397] Python with MinGW
Changes by Roumen Petrov bugtr...@roumenpetrov.info: -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18397 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Roumen Petrov added the comment: Oscar Benjamin wrote: [SNIP]The option was only ever meaningful in cygwin's gcc 3.x and was always an error in 4.x. May be . It seems to me flag was removed in GCC 4.5 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Roumen Petrov added the comment: Oscar, 10x for info I know how to find information for this particular case . So you last post just confrim what I wrote before two years ( 2011-08-03 http://bugs.python.org/issue12641#msg141614 ) Go ahead and just remove flag. Roumen -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Roumen Petrov added the comment: Oscar Benjamin wrote: Oscar Benjamin added the comment: I have written a function that can be used to determine if the gcc that distutils will use is from Cygwin or MinGW: def is_cygwingcc(): '''Try to determine if the gcc that would be used is from cygwin.''' out = Popen(['gcc', '-dumpmachine'], shell=True, stdout=PIPE).stdout try: out_string = out.read() finally: out.close() # out_string is the target triplet cpu-vendor-os # Cygwin's gcc sets the os to 'cygwin' return out_string.strip().endswith('cygwin') The idea is that 'gcc -dumpmachine' emits a string that always ends in 'cygwin' for the Cygwin gcc (please let me know if I'm wrong about that). Earnie Boyd at mingw-users described this method for distinguishing MinGW and Cygwin gcc as not being a bad idea: http://permalink.gmane.org/gmane.comp.gnu.mingw.user/42137 With this the Mingw32CCompiler.__init__ method can be modified to do: if self.gcc_version '4' or is_cygwingcc(): It seems to me you try to find another method to detect support of some options. Where is written that compiler is gcc ? Yes this is current distutils code but please review my set of patches no_cygwin = ' -mno-cygwin' else: no_cygwin = '' self.set_executables(compiler='gcc%s -O -Wall' % no_cygwin, compiler_so='gcc%s -mdll -O -Wall' % no_cygwin, compiler_cxx='g++%s -O -Wall' % no_cygwin, linker_exe='gcc%s' % no_cygwin, linker_so='%s%s %s %s' % (self.linker_dll, no_cygwin, shared_option, entry_point)) This will not work in new cygwin (1.7) environment with true cross-compilers. Reason is simple - executable is not gcc. This will fix the problem for MinGW, should not break existing no-cygwin/gcc 3.x setups and preserves the error message currently seen for no-cygwin with gcc 4.x. In other words it should satisfy users in all three groups A, B and C referred to above. In particular the is_cygwingcc() function hopefully addresses Martin's concern for users in group C. Is this approach acceptable? It is not enough. Thanks, Oscar -- Roumen -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17590] mingw: translate gcc internal defines to python platform specific defines
New submission from Roumen Petrov: split of issue3871 -- components: Build, Cross-Build files: 0002-MINGW-translate-gcc-internal-defines-to-python-platf.patch keywords: patch messages: 185647 nosy: rpetrov priority: normal severity: normal status: open title: mingw: translate gcc internal defines to python platform specific defines type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29624/0002-MINGW-translate-gcc-internal-defines-to-python-platf.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17590 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17591] mingw: use header in lowercase
New submission from Roumen Petrov: split of issue3871 -- components: Cross-Build files: 0003-MINGW-use-header-in-lowercase.patch keywords: patch messages: 185648 nosy: rpetrov priority: normal severity: normal status: open title: mingw: use header in lowercase versions: Python 3.4 Added file: http://bugs.python.org/file29625/0003-MINGW-use-header-in-lowercase.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17591 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17592] mingw: configure MACHDEP and platform for build
New submission from Roumen Petrov: split of issue3871 -- components: Build, Cross-Build files: 0004-MINGW-configure-MACHDEP-and-platform-for-build.patch keywords: patch messages: 185650 nosy: rpetrov priority: normal severity: normal status: open title: mingw: configure MACHDEP and platform for build type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29626/0004-MINGW-configure-MACHDEP-and-platform-for-build.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17592 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17594] mingw: preset configure defaults
New submission from Roumen Petrov: split of issue3871, but implement ed differently - externalize some configure defaults instead to update configure script for each check -- components: Build, Cross-Build files: 0005-MINGW-preset-configure-defaults.patch keywords: patch messages: 185653 nosy: rpetrov priority: normal severity: normal status: open title: mingw: preset configure defaults type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29627/0005-MINGW-preset-configure-defaults.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17594 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17595] mingw: configure largefile support for windows builds
New submission from Roumen Petrov: split of issue3871 -- components: Build, Cross-Build files: 0006-MINGW-configure-largefile-support-for-windows-builds.patch keywords: patch messages: 185655 nosy: rpetrov priority: normal severity: normal status: open title: mingw: configure largefile support for windows builds type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29628/0006-MINGW-configure-largefile-support-for-windows-builds.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17595 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17596] mingw: add wincrypt.h in Python/random.c
New submission from Roumen Petrov: split of issue3871 -- components: Build, Cross-Build files: 0007-MINGW-add-wincrypt.h-in-Python-random.c.patch keywords: patch messages: 185656 nosy: rpetrov priority: normal severity: normal status: open title: mingw: add wincrypt.h in Python/random.c type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29629/0007-MINGW-add-wincrypt.h-in-Python-random.c.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17596 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17597] mingw: add $srcdir/PC to CPPFLAGS
New submission from Roumen Petrov: split of issue3871. May be best solution is to move errmap.h from PC/ to Objects/ and to use platform specific filename. -- components: Build, Cross-Build files: 0008-MINGW-add-srcdir-PC-to-CPPFLAGS.patch keywords: patch messages: 185657 nosy: rpetrov priority: normal severity: normal status: open title: mingw: add $srcdir/PC to CPPFLAGS type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29630/0008-MINGW-add-srcdir-PC-to-CPPFLAGS.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17597 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17598] mingw: init system calls
New submission from Roumen Petrov: split of issue3871. -- components: Build, Cross-Build files: 0009-MINGW-init-system-calls.patch keywords: patch messages: 185659 nosy: rpetrov priority: normal severity: normal status: open title: mingw: init system calls type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29631/0009-MINGW-init-system-calls.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17598 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17599] mingw: detect REPARSE_DATA_BUFFER
New submission from Roumen Petrov: split of issue3871. -- components: Build, Cross-Build files: 0010-MINGW-detect-REPARSE_DATA_BUFFER.patch keywords: patch messages: 185660 nosy: rpetrov priority: normal severity: normal status: open title: mingw: detect REPARSE_DATA_BUFFER type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29632/0010-MINGW-detect-REPARSE_DATA_BUFFER.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17599 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17600] mingw: build-in windows modules (winreg)
New submission from Roumen Petrov: split of issue3871. -- components: Build, Cross-Build files: 0011-MINGW-build-in-windows-modules-winreg.patch keywords: patch messages: 185661 nosy: rpetrov priority: normal severity: normal status: open title: mingw: build-in windows modules (winreg) type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29633/0011-MINGW-build-in-windows-modules-winreg.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17601] mingw: determine if pwdmodule should be used
New submission from Roumen Petrov: split of issue3871. (now without to impact other platforms - it will remain build-in module) -- components: Interpreter Core files: 0012-MINGW-determine-if-pwdmodule-should-be-used.patch keywords: patch messages: 185663 nosy: rpetrov priority: normal severity: normal status: open title: mingw: determine if pwdmodule should be used type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29634/0012-MINGW-determine-if-pwdmodule-should-be-used.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17601 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17602] mingw: default sys.path calculations for windows platforms
New submission from Roumen Petrov: Part is split of issue3871. Based of feedback to issue3871 users prefer to use posix installation scheme and this is implementation of 'relative' posix prefix. -- components: Interpreter Core files: 0013-MINGW-default-sys.path-calculations-for-windows-plat.patch keywords: patch messages: 185664 nosy: rpetrov priority: normal severity: normal status: open title: mingw: default sys.path calculations for windows platforms type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29635/0013-MINGW-default-sys.path-calculations-for-windows-plat.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17602 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17603] AC_LIBOBJ replacement of fileblocks
New submission from Roumen Petrov: split of issue3871 - actually this is not mingw* specific - it is for all platforms without fileblocks -- components: Build, Cross-Build files: 0014-MINGW-AC_LIBOBJ-replacement-of-fileblocks.patch keywords: patch messages: 185665 nosy: rpetrov priority: normal severity: normal status: open title: AC_LIBOBJ replacement of fileblocks type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29636/0014-MINGW-AC_LIBOBJ-replacement-of-fileblocks.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17603 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17604] mingw: use main() to start execution
New submission from Roumen Petrov: split of issue3871 -- components: Interpreter Core files: 0015-MINGW-use-main-to-start-execution.patch keywords: patch messages: 185666 nosy: rpetrov priority: normal severity: normal status: open title: mingw: use main() to start execution type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file29637/0015-MINGW-use-main-to-start-execution.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17604 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17605] mingw-meta: build interpeter core
New submission from Roumen Petrov: split of issue3871 - this is meta issue only for part related to build interpreter core. Goal is statically linked python executable (python.exe). Patch set consist of : - 01 Issue17148 : nt thread model detection - 02 issue17590 : translate gcc internal defines to python platform specific defines - 03 issue17591 : use header in lowercase - 04 issue17592 : configure MACHDEP and platform for build - 05 issue17594 : preset configure defaults - 06 issue17595 : configure largefile support for windows builds - 07 issue17596 : add wincrypt.h in Python/random.c - 08 issue17597 : add $srcdir/PC to CPPFLAGS - 09 issue17598 : init system calls - 10 issue17599 : detect REPARSE_DATA_BUFFER - 11 issue17600 : build-in windows modules (winreg) - 12 issue17601 : determine if pwdmodule should be used - 13 issue17602 : default sys.path calculations for windows platforms - 14 issue17603 : AC_LIBOBJ replacement of fileblocks - 15 issue17604 : use main() to start execution After above patches user must regenerate configure script. Hints: a) at configure time define CPPFLAGS with minimum supported version like this -DWINVER=0x501 -D_WIN32_WINNT=0x501, i.e XP is now minimum b) use --without-libm c) do not use yet --enable-shared Notes: a) previous mingw patch (issue3871 posted in 2008) contain code that define w2k as minimum . Now python evolve and minimum is xp. b) previous patch nos not define libm in configure script . Instead to updated configure use tis flag c) will be included in additional patch-set related to build of standard extensions. -- components: Interpreter Core messages: 185669 nosy: rpetrov priority: normal severity: normal status: open title: mingw-meta: build interpeter core type: enhancement versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17605 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Re: [issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC
Hi Ned, Ned Jackson Lovely added the comment: [SNIP] In both cases, the currently running python executable, fetched via sys.executable and run using os.popen, is used to print the value, instead of the shell's echo. This moves things closer towards cross-platform niceness, and removes the dependency on /bin/sh. Unfortunately, I don't have a Windows machine readily available to test this on. Could apply your preferred patch, run it for me, and let me know if you have any problems? $ uname -a MINGW32_NT-5.1 QEMU 1.0.18(0.48/3/2) 2012-11-21 22:34 i686 Msys --- Python 3.4.0a0 (default, Mar 20 2013, 00:32:43) [GCC 4.7.2] on win32 --- $ cat ...test_os.py # Bug 1110478 def test_update2(self): minimal_environ_keys = ('COMSPEC', 'PATH',) minimal_environ = {k:os.environ[k] for k in minimal_environ_keys if k in os.environ} os.environ.clear() os.environ.update(HELLO=World) minimal_environ['HELLO'] = World os.environ.update(minimal_environ) python_cmd = {0} -c \import os;print(os.environ['HELLO'])\ with os.popen(python_cmd.format(sys.executable)) as popen: value = popen.read().strip() self.assertEqual(value, World) # Bug 1110478 def test_update3(self): self.assertTrue('HELLO' not in os.environ) os.environ.update(HELLO=World) python_cmd = {0} -c \import os;print(os.environ['HELLO'])\ with os.popen(python_cmd.format(sys.executable)) as popen: value = popen.read().strip() self.assertEqual(value, World) @unittest.skipUnless(os.path.exists('/bin/sh'), 'requires /bin/sh') def test_os_popen_iter(self): with os.popen( /bin/sh -c 'echo \line1\nline2\nline3\') as popen: it = iter(popen) self.assertEqual(next(it), line1\n) self.assertEqual(next(it), line2\n) self.assertEqual(next(it), line3\n) self.assertRaises(StopIteration, next, it) result: test_update (test.test_os.EnvironTests) ... ok test_update2 (test.test_os.EnvironTests) ... ok test_update3 (test.test_os.EnvironTests) ... ok test_values (test.test_os.EnvironTests) ... ok So with both (take2take3) updates tests pass. Should work with MSVC builds. May be test_os_popen_iter could be updated . Regards, Ned ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC
Roumen Petrov added the comment: Hi Ned, Ned Jackson Lovely added the comment: [SNIP] In both cases, the currently running python executable, fetched via sys.executable and run using os.popen, is used to print the value, instead of the shell's echo. This moves things closer towards cross-platform niceness, and removes the dependency on /bin/sh. Unfortunately, I don't have a Windows machine readily available to test this on. Could apply your preferred patch, run it for me, and let me know if you have any problems? $ uname -a MINGW32_NT-5.1 QEMU 1.0.18(0.48/3/2) 2012-11-21 22:34 i686 Msys --- Python 3.4.0a0 (default, Mar 20 2013, 00:32:43) [GCC 4.7.2] on win32 --- $ cat ...test_os.py # Bug 1110478 def test_update2(self): minimal_environ_keys = ('COMSPEC', 'PATH',) minimal_environ = {k:os.environ[k] for k in minimal_environ_keys if k in os.environ} os.environ.clear() os.environ.update(HELLO=World) minimal_environ['HELLO'] = World os.environ.update(minimal_environ) python_cmd = {0} -c \import os;print(os.environ['HELLO'])\ with os.popen(python_cmd.format(sys.executable)) as popen: value = popen.read().strip() self.assertEqual(value, World) # Bug 1110478 def test_update3(self): self.assertTrue('HELLO' not in os.environ) os.environ.update(HELLO=World) python_cmd = {0} -c \import os;print(os.environ['HELLO'])\ with os.popen(python_cmd.format(sys.executable)) as popen: value = popen.read().strip() self.assertEqual(value, World) @unittest.skipUnless(os.path.exists('/bin/sh'), 'requires /bin/sh') def test_os_popen_iter(self): with os.popen( /bin/sh -c 'echo \line1\nline2\nline3\') as popen: it = iter(popen) self.assertEqual(next(it), line1\n) self.assertEqual(next(it), line2\n) self.assertEqual(next(it), line3\n) self.assertRaises(StopIteration, next, it) result: test_update (test.test_os.EnvironTests) ... ok test_update2 (test.test_os.EnvironTests) ... ok test_update3 (test.test_os.EnvironTests) ... ok test_values (test.test_os.EnvironTests) ... ok So with both (take2take3) updates tests pass. Should work with MSVC builds. May be test_os_popen_iter could be updated . Regards, Ned -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5051 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16754] Incorrect shared library extension on linux
Roumen Petrov added the comment: This is issue introduced with implementation of SOABI. Build of standard extensions is protected by following code: - class PyBuildExt(build_ext): def __init__(self, dist): build_ext.__init__(self, dist) self.failed = [] def build_extensions(self): # Detect which modules should be compiled old_so = self.compiler.shared_lib_extension # Workaround PEP 3149 stuff self.compiler.shared_lib_extension = os.environ.get(SO, .so) try: missing = self.detect_modules() finally: self.compiler.shared_lib_extension = old_so -- I think that PEP 3149 is not accurate . For historical reasons (backward compatibility) SO must remain same as OS specific suffix and and new variable is required for python specific suffix. -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16754 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17358] imp.load_module() leads to the improper caching of the 'file' argument
Roumen Petrov added the comment: How to reproduce issue with normal in source tree build ? I'm asking because to avoid issue, on read only file system , I use patch posted in scope of issue3754 and issue15833 (0016-CROSS-reload-may-fail-with-operation-on-closed-file-.patch) . -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17361] use CC to test compiler flags in setup.py
New submission from Roumen Petrov: Version of gcc compiler may differ between build and host system. As result could be activated unsupported options and build of _decimal module will fail. -- components: Cross-Build files: 0003-ORIGIN-use-CC-to-test-compiler-flags-in-setup.py.patch keywords: patch messages: 183556 nosy: doko, rpetrov, skrah priority: normal severity: normal status: open title: use CC to test compiler flags in setup.py type: compile error versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29316/0003-ORIGIN-use-CC-to-test-compiler-flags-in-setup.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17361 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17362] enable-new-dtags only for GNU ELF linker
New submission from Roumen Petrov: GNU binutils properly document that flag --enable-new-dtags is only available on ELF systems. I would like to propose a simple hack to avoid activation if ELF is not listed in supported emulations. Comments in unixccompiler.py are not precise : # GNU ld needs an extra option to get a RUNPATH .., i.e. ELF is missing. Also GNULD is not correct name for flag. What about to change to GNUELFLD ? You could test on cygwin for instance. -- components: Build files: 0004-ORIGIN-enable-new-dtags-only-for-GNU-ELF-linker.patch keywords: patch messages: 183557 nosy: rpetrov priority: normal severity: normal status: open title: enable-new-dtags only for GNU ELF linker type: compile error versions: Python 3.4 Added file: http://bugs.python.org/file29317/0004-ORIGIN-enable-new-dtags-only-for-GNU-ELF-linker.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17362 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10560] Fixes for Windows sources
Roumen Petrov added the comment: yes -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10560 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Roumen Petrov added the comment: Dan added the comment: Guys, this looks really bad and inconveniences a lot of users. You install the latest MinGW and Distutils from their default location, try using them on **anything that requires compilation**, and get the cryptic gcc -mno-cygwin error (after having to edit the obscure distutils.cfg, of course). Aren't Python / distutils supposed to be cross-platform? It's already hard enough to find distutils / pip setup instructions for Windows, shouldn't they at least **work**? After removing -mno-cygwin from cygwincompiler.py, I get another obscure -mdll error. This is ridiculous. Yes . This is reason to pack many changes in one archive issue12641-modernize_cygwinmingw_compilers.tar.gz http://bugs.python.org/file29030/issue12641-modernize_cygwin%26mingw_compilers.tar.gz, i.e. to remove all checks for tools used in previous millŠµnium. My oldest compilers are : a) i386-mingw32msvc-gcc (GCC) 3.4.5 (mingw special) Copyright (C) 2004 Free Software Foundation, Inc. b) gcc.exe (GCC) 3.4.5 (mingw-vista special r3) Copyright (C) 2004 Free Software Foundation, Inc. Check for -m{no-}cygwin flags is optional. I can not found reason this patch to be applied, as with implementation of compiler customization this is for developer guide. Roumen -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12641] Remove -mno-cygwin from distutils
Roumen Petrov added the comment: Hi Matthias, This issue is only for windows. In scope autotool based builds compiler customization is used to 'transfer' some build settings (flags, options) to distutils. This include compiler set in make macro (variable) CC. Transfer is not complete but this is distutils issue out of scope here. P.S. (uploaded a patch to avoid syntax warning) -- Added file: http://bugs.python.org/file29103/0001-MINGW-issue12641-avoid-syntax-warning.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12641 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com