Re: [Python-ideas] Move optional data out of pyc files

2018-04-10 Thread Zachary Ware
On Tue, Apr 10, 2018 at 12:38 PM, Chris Angelico wrote: > A deployed Python distribution generally has .pyc files for all of the > standard library. I don't think people want to lose the ability to > call help(), and unless I'm misunderstanding, that requires > docstrings. So

Re: [Python-ideas] breakpoint(): print(*args, **kwargs) before entering pdb

2018-03-02 Thread Zachary Ware
On Fri, Mar 2, 2018 at 12:00 PM, Carl Bordum Hansen wrote: > I played around with a newer Python build, but when using the new > `breakpoint` builtin, I missed my weapon of choice: dirty print-debugging. > > I suggest we combine forces and make the default `sys.breakpointhook` >

Re: [Python-ideas] Looking for input to help with the pip situation

2017-11-15 Thread Zachary Ware
On Wed, Nov 15, 2017 at 1:07 PM, Steve Dower wrote: > My preferred solution for this is to rename "py.exe" to "python.exe" (or > rather, make a copy of it with the new name), and extend (or more likely, > rewrite) the launcher such that: > > * if argv[0] == "py.exe", use

Re: [Python-ideas] Contraction for "for x in range()"

2017-02-14 Thread Zachary Ware
On Tue, Feb 14, 2017 at 3:06 PM, Mikhail V wrote: > I have a small syntax idea. > In short, contraction of > > for x in range(a,b,c) : > > to > > for x in a,b,c : > > I really think there is something cute in it. > So like a shortcut for range() which works only in for-in

Re: [Python-ideas] New PyThread_tss_ C-API for CPython

2016-12-16 Thread Zachary Ware
On Fri, Dec 16, 2016 at 6:07 AM, Erik Bray wrote: > Greetings all, > > I wanted to bring attention to an issue that's been languishing on the > bug tracker since last year, which I think would best be addressed by > changes to CPython's C-API. The original issue is at >