Re: [Python-Dev] Translating sample programs in documentation

2018-04-16 Thread Xuan Wu
FYI I already post this in Doc-SIG mailing list, as it seems to be more relevant there. @Shell, thanks for the reference. Please correct me if I'm wrong, but I don't think the code standard for Python standard library applies to sample programs in the tutorials. Best, Xuan. On 4/15/18

Re: [Python-Dev] Translating sample programs in documentation

2018-04-16 Thread Erik Bray
On Mon, Apr 16, 2018 at 4:49 AM, Shell Xu wrote: > Well, I'm not sure weather or not this is what you're looking for, but pep-8 > (https://www.python.org/dev/peps/pep-0008/) suggest like this: > > For Python 3.0 and beyond, the following policy is prescribed for the >

Re: [Python-Dev] PEP 575: Unifying function/method classes

2018-04-16 Thread Jeroen Demeyer
On 2018-04-16 02:32, Raymond Hettinger wrote: I don't think that confidence is warranted. The world of Python is very large. When public APIs (such as that in the venerable types module) get changed, is virtually assured that some code will break. Yes, *some* code will break, I never