[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-01-07 Thread Stefan Holek
New submission from Stefan Holek : In Python 3.8 the default start method has changed from fork to spawn on macOS. https://docs.python.org/3/whatsnew/3.8.html#multiprocessing get_all_start_methods() says: "Returns a list of the supported start methods, the first of which is the de

[issue19647] unittest.TestSuite consumes tests

2013-11-19 Thread Stefan Holek
Stefan Holek added the comment: I have some complex test fixtures that I have written tests for, and one of them started to fail because it assumed that the suite would still be valid after having run. That said, I was able to work around the issue and if you don't care neither

[issue19647] unittest.TestSuite consumes tests

2013-11-18 Thread Stefan Holek
New submission from Stefan Holek: This test passed in Python <= 3.3 but fails in 3.4: def testTestSuiteConsumesTest(self): class MyTestCase(unittest.TestCase): def testMethod(self): pass test = MyTestCase('testMethod')

[issue16310] zipfile: allow surrogates in filenames

2012-10-30 Thread Stefan Holek
Stefan Holek added the comment: > It's possible to distribute Python packages with non-ASCII filenames. Well, it wasn't until very recently (distribute 0.6.29): https://bitbucket.org/tarek/distribute/issue/303/no-support-for-unicode-manifest-files Unless we are not talking about t

[issue16310] zipfile: allow surrogates in filenames

2012-10-25 Thread Stefan Holek
Stefan Holek added the comment: What we are trying to do is make distribute work with non-ASCII filenames, and this is one of the things we ran into. Fact 1: Filenames are bytes, whether you like it or not. Treating them as strings is going to give you more trouble than dragging the bytes

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Stefan Holek
Stefan Holek added the comment: A little more context perhaps: The use-case is building Python distributions containing non-ASCII filenames. These seemingly "invalid" filenames can occur in real-life when the files have been created by, say, a 'git clone' operation. So

[issue16310] zipfile: allow surrogates in filenames

2012-10-24 Thread Stefan Holek
New submission from Stefan Holek: Please allow for surrogates in the zipfile module like it was done for tarfile in #8390. Currently zipfile breaks when encountering surrogates: Traceback (most recent call last): File "/usr/local/python3.3/lib/python3.3/zipfile.py", li

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Stefan Holek
Stefan Holek added the comment: Sorry for being late. I'll make a feature request for 3.4 then. -- ___ Python tracker <http://bugs.python.org/issue15776> ___ ___

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Stefan Holek
Stefan Holek added the comment: Hm. What I am actually after is to "bless" an existing directory – source files and all – with a virtualenv (or pyvenv). I am not interested in the command deleting anything from anywhere, why thank you. Workflow: $ git clone g...@github.com:s

[issue15776] Allow pyvenv to work in existing directory

2012-08-24 Thread Stefan Holek
New submission from Stefan Holek: With virtualenv I can do $ virtualenv . but with pyvenv I get $pyvenv . Error: Directory exists: /Users/stefan/sandbox/foo Please allow pyvenv to apply to existing directories. -- components: None messages: 168990 nosy: stefanholek

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-17 Thread Stefan Holek
Stefan Holek added the comment: Mac OS X 10.6.8 (Snow Leopard) Xcode Tools 3.2.6 ./configure --prefix=/usr/local/python3.3 make sudo make install -- ___ Python tracker <http://bugs.python.org/issue15

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-14 Thread Stefan Holek
New submission from Stefan Holek: After upgrading 3.3.0b1 to b2 (make install to same location) I noticed that the Grammar pickles for beta.2 were missing (the beta.1 pickles still being there). The result is permission errors and/or virtualenv SandboxViolations, when 2to3 is used for the

[issue13342] input() builtin always uses "strict" error handler

2011-11-04 Thread Stefan Holek
Stefan Holek added the comment: I can make it work at the interpreter prompt with your patch applied. Sorry for cluttering up the ticket. ;-) -- ___ Python tracker <http://bugs.python.org/issue13

[issue13342] input() builtin always uses "strict" error handler

2011-11-04 Thread Stefan Holek
Stefan Holek added the comment: Oops, the last one wasn't meant for the bug tracker. -- ___ Python tracker <http://bugs.python.org/issue13342> ___ ___ Pytho

[issue13342] input() builtin always uses "strict" error handler

2011-11-04 Thread Stefan Holek
Stefan Holek added the comment: Python 3.2.2 (default, Nov 4 2011, 22:28:55) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys, io >>>

[issue13342] input() builtin always uses "strict" error handler

2011-11-04 Thread Stefan Holek
Stefan Holek added the comment: This is with Python 3.2.2 on Mac OS X 10.6 (SL). I have built Python from source with: ./configure; make; make install. -- ___ Python tracker <http://bugs.python.org/issue13