[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2017-05-05 Thread Matteo Bertini
Matteo Bertini added the comment: Bumped in this bug yesterday, sadly a script working (by chance) in Python2 doesn't work in Python3 because of this bug. -- nosy: +naufraghi ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2016-12-15 Thread Matteo Bertini
Matteo Bertini added the comment: I'm back on this issue with a minimal patch, and a longer motivation. Distutils does not support Visual C++ for Python compiler, but it could, with a one-line patch. The proposed workaround is to use `setuptools`. But, we are not alone in this World, am I

[issue7111] core dump when stderr is moved

2009-10-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: -- nosy: +naufraghi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7111 ___ ___ Python-bugs-list

[issue7111] stdout closed

2009-10-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: -- title: core dump when stderr is moved - stdout closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7111

[issue7111] core dump when stderr is moved

2009-10-24 Thread Matteo Bertini
Matteo Bertini matt...@naufraghi.net added the comment: sorry, title restored! -- title: stdout closed - core dump when stderr is moved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7111

[issue1488934] file.write + closed pipe = no error

2009-10-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: -- nosy: +naufraghi type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1488934

[issue1596] Broken pipes should be handled better in 2.x

2009-10-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: -- nosy: +naufraghi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1596 ___ ___ Python-bugs-list

[issue5779] _elementtree import can fail silently

2009-04-17 Thread Matteo Bertini
New submission from Matteo Bertini matt...@naufraghi.net: (the patch is old, I forwarded it to Fredrik but I forgot to open the bug) Playing with PyInstaller I have found that the final part of _elementtree.c: Index: Modules/_elementtree.c

[issue5779] _elementtree import can fail silently

2009-04-17 Thread Matteo Bertini
Matteo Bertini matt...@naufraghi.net added the comment: Ups, I duplicated myself... issue3475 -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5779

[issue1068268] subprocess is not EINTR-safe

2008-12-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: Removed file: http://bugs.python.org/file11818/subprocess-retry-on-EINTR-std-in-out-err.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1068268

[issue1068268] subprocess is not EINTR-safe

2008-12-24 Thread Matteo Bertini
Changes by Matteo Bertini matt...@naufraghi.net: Removed file: http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-r65475.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1068268

[issue1068268] subprocess is not EINTR-safe

2008-12-24 Thread Matteo Bertini
Matteo Bertini matt...@naufraghi.net added the comment: no EINTR patch upgraded to 25-maint r65475 that protects: *) all direct calls *) all returned fd I hope :P Added file: http://bugs.python.org/file12438/no-EINTR-subprocess.py-25-maint-r65475.patch

[issue1068268] subprocess is not EINTR-safe

2008-12-23 Thread Matteo Bertini
Matteo Bertini matt...@naufraghi.net added the comment: Please have a look at the proposed patch: http://bugs.python.org/file11511/subprocess-eintr-safety-25maint- r65475.patch the list is more or less the patch itself. ___ Python tracker rep

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-11-05 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I can add that providing the option: -mmacosx-version-min=10.4 or setting the anv var MACOSX_DEPLOYMENT_TARGET=10.4 is it possible to build an extension in MacPython.org too (without that option there was a problem with some 10.5 libs

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-11-04 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I confirm this issue, some handy workaround available? -- nosy: +naufraghi ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3588

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-11-04 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: The solution I found is: LINKFORSHARED = -u _PyMac_Error -framework Python as in the Apple included Python Makefile and LDFLAGS += -F$(PYTHONFRAMEWORKPREFIX) that makes linker use the right framework (not sure, but works with MacPython

[issue1068268] subprocess is not EINTR-safe

2008-10-17 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: Factorized try-except code, merged r65475 from 25-maint. Protetect std[in|out|err] read and write too. Added file: http://bugs.python.org/file11818/subprocess-retry-on-EINTR-std-in-out-err.diff ___ Python

[issue1068268] subprocess is not EINTR-safe

2008-10-17 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: Ups, forgot a _no_intr around select.select Index: subprocess.py === --- subprocess.py (revisione 19645) +++ subprocess.py (copia locale) @@ -1178,7 +1178,7

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-12 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I have the same error as in msg74221 RuntimeError: tk.h version (8.4) doesn't match libtk.a version (8.5) Some workaround not involving a full rebuild? -- nosy: +naufraghi ___ Python tracker [EMAIL

[issue1068268] subprocess is not EINTR-safe

2008-09-17 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: Upgrade subprocess.py patch to 25-maint r65475 (apply cleanly with http://bugs.python.org/issue2113 fixed) -- keywords: +patch Added file: http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-r65475.patch

[issue1068268] subprocess is not EINTR-safe

2008-09-05 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I'd like to suggest to rise the priority of this bug. Till this bus is around, no way using any module using subprocess.Popen form a PyQt app (and I suppose PyGtk and wxPython too). -- nosy: +naufraghi

[issue3475] _elementtree.c import can fail silently

2008-07-31 Thread Matteo Bertini
New submission from Matteo Bertini [EMAIL PROTECTED]: Playing with PyInstaller I have found that the final part of _elementtree.c: Index: Modules/_elementtree.c === --- Modules/_elementtree.c (revisione 59540) +++ Modules