On Sat, Aug 20, 2016 at 12:55 PM, Random832 wrote:
>
> What about -S and putting "import site" explicitly in the test code? Or
> would that go back to importing everything on people who have packages
> installed?
I think so, yes.
> Really, there should be a "source-isolated" mode, which removes
On Fri, Aug 19, 2016, at 18:10, Chris Angelico wrote:
> On Sat, Aug 20, 2016 at 8:07 AM, Sjoerd Job Postmus
> wrote:
> > I'd like to re-iterate my suggestion in case it was missed: split the
> > current test in 2 tests:
> >
> > * Running with `-S` which is for checking that by default the collecti
On Sat, Aug 20, 2016 at 8:07 AM, Sjoerd Job Postmus wrote:
> I'd like to re-iterate my suggestion in case it was missed: split the
> current test in 2 tests:
>
> * Running with `-S` which is for checking that by default the collections
> are not imported. (Which is what is currently tested)
> * Ru
On Sat, Aug 20, 2016 at 7:55 AM, Chris Angelico wrote:
> If I make a patch to do that, would it have a good chance of being accepted?
>
Shortcut. I've made the patch and put it on the tracker.
http://bugs.python.org/issue27807
Either it's accepted or it's not :)
Thank you all for the debugging
On Aug 19, 2016 11:10 PM, Chris Angelico wrote:
>
> On Sat, Aug 20, 2016 at 5:33 AM, Brett Cannon wrote:
> >> Hmmm. So the question is, what is this test testing?
> >
> >
> > It's making sure people who work on the modules that are imported during
> > startup don't accidentally add another mo
On Sat, Aug 20, 2016 at 7:34 AM, Brett Cannon wrote:
>> 1) Demand that .pth files restrict themselves to what's already
>> imported. This means startup is still fast even if you have a bunch of
>> pths. Downside: Third-party code can break Python's rules. Upside:
>> When they do, it can be reporte
On 19Aug2016 1410, Chris Angelico wrote:
2) Change the test to somehow disable .pth execution while keeping the
rest of site.py intact. This gives more consistent test results, but
still is mostly applicable to normal usage.
If you start the process with "-S", then run:
import site
sit
On Fri, 19 Aug 2016 at 14:11 Chris Angelico wrote:
> On Sat, Aug 20, 2016 at 5:33 AM, Brett Cannon wrote:
> >> Hmmm. So the question is, what is this test testing?
> >
> >
> > It's making sure people who work on the modules that are imported during
> > startup don't accidentally add another
On Sat, Aug 20, 2016 at 5:33 AM, Brett Cannon wrote:
>> Hmmm. So the question is, what is this test testing?
>
>
> It's making sure people who work on the modules that are imported during
> startup don't accidentally add another module dependency to the startup
> sequence. Since module imports
On 19Aug2016 1225, Daniel Holth wrote:
#1 sounds like a great idea. I suppose surrogatepass solves
approximately the same problem of Rust's WTF-8, which is a way to
round-trip bad UCS-2? https://simonsapin.github.io/wtf-8/
Yep.
#2 sounds like it would leave several problems, since mbcs is not
On Fri, 19 Aug 2016 at 09:47 Chris Angelico wrote:
> On Sat, Aug 20, 2016 at 2:25 AM, Steve Dower
> wrote:
> > On 19Aug2016 0910, Chris Angelico wrote:
> >>
> >> On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower
> >> wrote:
> >>>
> >>> Check any .pth files you can find. I suspect mpl_toolkits has so
#1 sounds like a great idea. I suppose surrogatepass solves approximately
the same problem of Rust's WTF-8, which is a way to round-trip bad UCS-2?
https://simonsapin.github.io/wtf-8/
#2 sounds like it would leave several problems, since mbcs is not the same
as a normal text encoding, IIUC it depe
Hi python-dev
About a week ago I proposed on python-ideas making some changes to how
Python deals with encodings on Windows, specifically in relation to how
Python interacts with the operating system.
Changes to the console were uncontroversial, and I have posted patches
at http://bugs.pytho
On Aug 19, 2016 6:46 PM, Chris Angelico wrote:
>
> On Sat, Aug 20, 2016 at 2:25 AM, Steve Dower wrote:
> > On 19Aug2016 0910, Chris Angelico wrote:
> >>
> >> On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower
> >> wrote:
> >>>
> >>> Check any .pth files you can find. I suspect mpl_toolkits has some m
On Sat, Aug 20, 2016 at 2:25 AM, Steve Dower wrote:
> On 19Aug2016 0910, Chris Angelico wrote:
>>
>> On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower
>> wrote:
>>>
>>> Check any .pth files you can find. I suspect mpl_toolkits has some magic
>>> in
>>> it to make the namespace package work on 2.7.
>>
On 8/19/2016 12:10 PM, Chris Angelico wrote:
On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower wrote:
Check any .pth files you can find. I suspect mpl_toolkits has some magic in
it to make the namespace package work on 2.7.
sys.path
['/usr/local/lib/python36.zip', '/home/rosuav/cpython/Lib',
'/h
On 8/19/2016 10:13 AM, Chris Angelico wrote:
On my main dev system (Debian Stretch), I've had a single
long-standing test failure - test_site.py,
StartupImportTests.test_startup_imports. It's annoying (partly because
it's such a noisy failure), and doesn't appear to be happening on the
buildbots,
On 19Aug2016 0910, Chris Angelico wrote:
On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower wrote:
Check any .pth files you can find. I suspect mpl_toolkits has some magic in
it to make the namespace package work on 2.7.
$ cat /usr/local/lib/python3.6/site-packages/matplotlib-1.5.1-py3.6-nspkg.pth
On Sat, Aug 20, 2016 at 1:26 AM, Steve Dower wrote:
> Check any .pth files you can find. I suspect mpl_toolkits has some magic in
> it to make the namespace package work on 2.7.
>>> sys.path
['/usr/local/lib/python36.zip', '/home/rosuav/cpython/Lib',
'/home/rosuav/cpython/Lib/plat-x86_64-linux-gn
ACTIVITY SUMMARY (2016-08-12 - 2016-08-19)
Python tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.
Issues counts and deltas:
open5594 ( -1)
closed 33965 (+56)
total 39559 (+55)
Open issues wit
On Sat, Aug 20, 2016 at 12:31 AM, Random832 wrote:
> the -v output might be helpful in determining what is causing these
> modules to be imported. It would at least show what order they're
> imported in.
Here it is in all its spammy glory.
rosuav@sikorsky:~/cpython$ ./python -I -v -c 'import sys
On Fri, Aug 19, 2016, at 10:13, Chris Angelico wrote:
> On my main dev system (Debian Stretch), I've had a single
> long-standing test failure - test_site.py,
> StartupImportTests.test_startup_imports. It's annoying (partly because
> it's such a noisy failure), and doesn't appear to be happening on
On my main dev system (Debian Stretch), I've had a single
long-standing test failure - test_site.py,
StartupImportTests.test_startup_imports. It's annoying (partly because
it's such a noisy failure), and doesn't appear to be happening on the
buildbots, nor presumably on core devs' computers, so it'
On Fri, Aug 19, 2016 at 6:35 PM, Eric V. Smith wrote:
> PEP 515 adds underscores to numeric literals. As part of that, it adds
> optional underscores to numeric formatters (similar to PEP 378 for ','). See
> https://www.python.org/dev/peps/pep-0515/#further-changes
>
> I had assigned myself http:/
Hi Berker,
Thanks for your reply.
If `NamedTemporaryFile` has a bug on windows, should it impact the
implementation of this?
Sylvain
> > Adding a has_flag method to CCompiler
> > http://bugs.python.org/issue26689
> >
> > useful to check if a compiler has certain flags available (such a
On Fri, Aug 19, 2016 at 11:07 AM, Sylvain Corlay
wrote:
> Hi All,
>
> There are a couple of related patches that were submitted to distutils a few
> months ago that I think would be great to have in before the feature freeze
> in 3.6b1
>
> A bug fix in CCompiler.has_function
> http://bugs.pyth
PEP 515 adds underscores to numeric literals. As part of that, it adds
optional underscores to numeric formatters (similar to PEP 378 for ',').
See https://www.python.org/dev/peps/pep-0515/#further-changes
I had assigned myself http://bugs.python.org/issue27080 to implement
this. Unfortunately
Hi All,
There are a couple of related patches that were submitted to distutils a
few months ago that I think would be great to have in before the feature
freeze in 3.6b1
A bug fix in CCompiler.has_function
http://bugs.python.org/issue25544
Adding a has_flag method to CCompiler
http://bug
28 matches
Mail list logo