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
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
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')
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
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
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
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
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>
___
___
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
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
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
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
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
Stefan Holek added the comment:
Oops, the last one wasn't meant for the bug tracker.
--
___
Python tracker
<http://bugs.python.org/issue13342>
___
___
Pytho
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
>>>
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
16 matches
Mail list logo