On 01/28/2016 06:57 AM, Larry Hastings wrote:
It's currently 2016. Perhaps it's time to remove all vestiges of
these unsupported operating systems nobody's cared about since a year
that started with a '1'?
We dropped support for Irix in 2.3. We dropped support for Irix threads
in 3.2. All
I have opened http://bugs.python.org/issue26252 to track writing the
example (and before ppl go playing with the lazy loader, be aware of
http://bugs.python.org/issue26186).
On Sun, 31 Jan 2016 at 09:26 Brett Cannon wrote:
> There are no example docs for it yet, but enough people have asked this
On 30.01.2016 20:15, Steve Dower wrote:
> Brett tried freezing the entire stdlib at one point (as we do for parts of
> importlib) and reported no significant improvement. Since that rules out code
> compilation as well as the OS calls, it'd seem the priority is to execute
> less code on startup.
Hi,
If you want to make startup time faster for a broad range of applications,
please consider adding a lazy import facility in the stdlib.
I recently tried to write a lazy import mechanism using import hooks
(to make it portable from 2.6 to 3.5), it seems nearly impossible to do
so (or, at least
A lazy importer was added in Python 3.5 and it was not possible without the
module spec refactoring.
On Sun, 31 Jan 2016, 08:57 Antoine Pitrou wrote:
>
> Hi,
>
> If you want to make startup time faster for a broad range of applications,
> please consider adding a lazy import facility in the stdl
Brett Cannon python.org> writes:
>
>
> A lazy importer was added in Python 3.5 and it was not possible
> without the module spec refactoring.
Wow... Thank you, I didn't know about that.
Now for the next question: how am I supposed to use it?
The following documentation leaves me absolutely c
> On Jan 31, 2016, at 12:02 PM, Brett Cannon wrote:
>
> A lazy importer was added in Python 3.5
Is there any docs on how to actually use the LazyLoader in 3.5? I can’t seem to
find any but I don’t really know the import system that well.
-
Donald Stufft
PGP: 0x6E3CBCE93372DCF
There are no example docs for it yet, but enough people have asked this
week about how to set up a custom importer that I will write up a generic
example case which will make sense for a lazy loader (need to file the
issue before I forget).
On Sun, 31 Jan 2016, 09:11 Donald Stufft wrote:
>
> On
So freezing the stdlib helps on UNIX and not on OS X (if my old testing is
still accurate). I guess the next question is what it does on Windows and
if we would want to ever consider freezing the stdlib as part of the build
process (and if we would want to change the order of importers on
sys.meta_
I am looking for tutorials on basically how to write the python language.
As well I want to know how to write wrappers for things like alsa and
directx and coreaudio and jackd and pulseaudio.
I would be looking to write wrappers for coreaudio in mac and coreaudio for
windows as well as alsa. i thi
On 1/31/2016 12:09 PM, Antoine Pitrou wrote:
The following documentation leaves me absolutely clueless:
"""This class only works with loaders that define exec_module() as control
over what module type is used for the module is required.
No wonder. I cannot parse it as an English sentence. It
On 01/31/2016 12:16 PM, ty armour wrote:
> I am looking for tutorials on basically how to write the python
> language.
Try asking on the python-list [1] mailing list, as that is for general
discussion of Python. This list is for developing Python itself.
--
~Ethan~
[1] https://mail.python.
On Sun, 31 Jan 2016, 15:36 Terry Reedy wrote:
> On 1/31/2016 12:09 PM, Antoine Pitrou wrote:
>
> > The following documentation leaves me absolutely clueless:
> >
> > """This class only works with loaders that define exec_module() as
> control
> > over what module type is used for the module is re
On Sun, Jan 31, 2016 at 08:23:00PM +, Brett Cannon wrote:
> So freezing the stdlib helps on UNIX and not on OS X (if my old testing is
> still accurate). I guess the next question is what it does on Windows and
> if we would want to ever consider freezing the stdlib as part of the build
> proce
ty armour writes:
> I am looking for tutorials on basically how to write the python
> language.
Newcomers to Python are especially invited to the Python ‘tutor’ forum
https://mail.python.org/mailman/listinfo/tutor>, for collaborative
tutoring in a friendly environment.
--
\ “The interne
15 matches
Mail list logo