Eric Snow

Results 136 comments of Eric Snow

I'm getting the new-bugs-announce messages now. Thanks! Is there any way we can get the sender to include the user's name, like worked before. Right now I only see "CPython...

> While 0.4% on individual benchmarks is probably not noteworthy, it's nice to see on the geometric mean of an entire suite. +1

FWIW, I ended up using a small helper as a stopgap. (I had to set a different PYTHONPATH value, along with others.) It looks something like this: ```python def bench_command_env(runner,...

Other than the issues I've pointed out already, LGTM.

Considering that these fine-grained locks are becoming a rather ubiquitous feature, could we move initialization of the lock into PyType_GenericNew()? Alternatively, types that currently have PyType_GenericNew in their tp_new slot...

FTR, the problematic lazy lock init is in Include/lock_pthreads.h.

The following have tp_new set to PyType_GenericNew in at least one type: Modules/_bz2module.c (2) Modules/_datetimemodule.c Modules/_decimal/_decimal.c Modules/_io/bufferedio.c (4) Modules/_io/iobase.c Modules/_io/textio.c (2) Modules/_lsprof.c Modules/_lzmamodule.c (2) Modules/_pickle.c (2) Modules/_testcapimodule.c (2) Modules/zipimport.c Objects/bytearrayobject.c...

@mic4ael, sorry for the long delay. What happens when you run the following command (from the "Python" output panel) in your shell? `~/.virtualenvs/indico/bin/flake8 --max-line-length=120 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/dev/others/indico/indico/modules/events/editing/fields.py`

Hmm, the "Python" output panel shows exactly what was run, including the directory in which it was run. It may also be related to settings. Please provide the contents of...

@mic4ael, what happens when you remove your `"python.linting.flake8Path"` setting?