Re: [Python-Dev] (Looking for) A Retrospective on the Move to Python 3

2018-05-11 Thread Steven D'Aprano
On Fri, May 11, 2018 at 11:15:11AM -0700, Chris Barker - NOAA Federal via Python-Dev wrote: > > while the changes introduced by Python 3 > > affect pretty much everyone, even people who only write small simple > > scripts. > > Sure they do, but the *hard stuff* not so much. > > I have found 2to3

Re: [Python-Dev] Python startup time - daemon

2018-05-11 Thread Guido van Rossum
On Fri, May 11, 2018 at 11:57 PM, Barry Warsaw wrote: > On May 11, 2018, at 12:23, Guido van Rossum wrote: > > > > Indeed, we have an implementation of this specific to mypy. > > Is there anything in mypy’s implementation that can be generalized into a > library? > Not sure, here's the code: ht

Re: [Python-Dev] Python startup time - daemon

2018-05-11 Thread Barry Warsaw
On May 11, 2018, at 12:23, Guido van Rossum wrote: > > Indeed, we have an implementation of this specific to mypy. Is there anything in mypy’s implementation that can be generalized into a library? -Barry signature.asc Description: Message signed with OpenPGP ___

Re: [Python-Dev] (Looking for) A Retrospective on the Move to Python 3

2018-05-11 Thread Chris Barker - NOAA Federal via Python-Dev
> while the changes introduced by Python 3 > affect pretty much everyone, even people who only write small simple > scripts. Sure they do, but the *hard stuff* not so much. I have found 2to3 conversion to be remarkably easy and painless. And the whole Unicode thing is much easier. CHB > Regar

Re: [Python-Dev] Python startup time - daemon

2018-05-11 Thread Guido van Rossum
Indeed, we have an implementation of this specific to mypy. On Fri, May 11, 2018 at 11:34 AM, Antoine Pitrou wrote: > > Yes, you don't want this to be a generic utility, rather a helper > library that people can integrate into their command-line applications > to enable such startup caching. > >

[Python-Dev] Summary of Python tracker Issues

2018-05-11 Thread Python tracker
ACTIVITY SUMMARY (2018-05-04 - 2018-05-11) Python tracker at https://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: open6644 (+15) closed 38571 (+24) total 45215 (+39) Open issues wi

Re: [Python-Dev] Python startup time - daemon

2018-05-11 Thread Antoine Pitrou
Yes, you don't want this to be a generic utility, rather a helper library that people can integrate into their command-line applications to enable such startup caching. Regards Antoine. On Fri, 11 May 2018 17:27:35 +0200 Oleg Broytman wrote: > On Fri, May 11, 2018 at 07:38:05AM -0700, Chris B

Re: [Python-Dev] Python startup time - daemon

2018-05-11 Thread Oleg Broytman
On Fri, May 11, 2018 at 07:38:05AM -0700, Chris Barker - NOAA Federal via Python-Dev wrote: > Could one make a little startup utility that, when invoked the first > time, starts up a raw python interpreter, keeps it running somewhere, > and then forks it to run the actual python code. > > Then e

Re: [Python-Dev] Python startup time

2018-05-11 Thread Ryan Gonzalez
https://refi64.com/uprocd/ On May 11, 2018 9:39:28 AM Chris Barker - NOAA Federal via Python-Dev wrote: Inspired by chg: Could one make a little startup utility that, when invoked the first time, starts up a raw python interpreter, keeps it running somewhere, and then forks it to run the

Re: [Python-Dev] Python startup time

2018-05-11 Thread Chris Barker - NOAA Federal via Python-Dev
Inspired by chg: Could one make a little startup utility that, when invoked the first time, starts up a raw python interpreter, keeps it running somewhere, and then forks it to run the actual python code. Then every invocation after that would make a new fork. I presume forking is a LOT faster th

Re: [Python-Dev] Associated images in PEPs broken?

2018-05-11 Thread Chris Angelico
On Fri, May 11, 2018 at 9:33 PM, Chris Angelico wrote: > https://www.python.org/dev/peps/pep-0495/ > > All the images seem to be missing - showing up 404. They're in the > peps repository, but aren't showing up in the page. Who's in charge of > the HTML rendering there? Infrastructure? > > ChrisA

[Python-Dev] Associated images in PEPs broken?

2018-05-11 Thread Chris Angelico
https://www.python.org/dev/peps/pep-0495/ All the images seem to be missing - showing up 404. They're in the peps repository, but aren't showing up in the page. Who's in charge of the HTML rendering there? Infrastructure? ChrisA ___ Python-Dev mailing l