Re: [Python-Dev] 3.4.2rc1 online docs: cannot access tkinter, idle pages

2014-10-05 Thread Terry Reedy
On 10/5/2014 11:13 PM, Chris Angelico wrote: On Mon, Oct 6, 2014 at 6:49 AM, Terry Reedy wrote: I can access every page I have tried except for the tkinter and idle pages, which either give interminable 'Connecting...' or in one try, 404. https://docs.python.org/3/library/tkinter.html https://d

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Nick Coghlan
On 6 October 2014 10:15, Greg Ewing wrote: > I wrote: > >>> But you can't >>> create an object that supports the buffer protocol by implementing >>> Python methods. > > > Another thing is that an object implementing the buffer > interface doesn't have to look anything at all like a > bytes object

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Nick Coghlan
On 6 October 2014 07:24, Greg Ewing wrote: > anatoly techtonik wrote: >> >> That's a cool stuff. `bytes-like object` is really a much better name for >> users. > > > I'm not so sure. Usually when we talk about an "xxx-like object" we > mean one that supports a certain Python interface, e.g. a "fil

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Greg Ewing
I wrote: But you can't create an object that supports the buffer protocol by implementing Python methods. Another thing is that an object implementing the buffer interface doesn't have to look anything at all like a bytes object from Python, so calling it "bytes-like" could be rather confusing

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Nick Coghlan
On 6 October 2014 07:32, Victor Stinner wrote: > Hi, > > I prefer "bytes-like" than "buffer protocol". By the way, is there a > documentation in Python doc which explains "bytes-like" and maybe list most > compatible types? https://docs.python.org/3/glossary.html#term-bytes-like-object It only s

Re: [Python-Dev] 3.4.2rc1 online docs: cannot access tkinter, idle pages

2014-10-05 Thread Chris Angelico
On Mon, Oct 6, 2014 at 6:49 AM, Terry Reedy wrote: > I can access every page I have tried except for the tkinter and idle pages, > which either give interminable 'Connecting...' or in one try, 404. > https://docs.python.org/3/library/tkinter.html > https://docs.python.org/3/library/idle.html Is t

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread David Wilson
On Sun, Oct 05, 2014 at 11:32:08PM +0200, Victor Stinner wrote: > I'm not sure that the term has an unique definition. In some parts of > Python, I saw explicit checks on the type: bytes or bytearray, > sometimes memoryview is accepted. The behaviour is different in C > functions using PyArg API.

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Serhiy Storchaka
On 06.10.14 00:24, Greg Ewing wrote: anatoly techtonik wrote: That's a cool stuff. `bytes-like object` is really a much better name for users. I'm not so sure. Usually when we talk about an "xxx-like object" we mean one that supports a certain Python interface, e.g. a "file-like object" is one

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Victor Stinner
Hi, I prefer "bytes-like" than "buffer protocol". By the way, is there a documentation in Python doc which explains "bytes-like" and maybe list most compatible types? I'm not sure that the term has an unique definition. In some parts of Python, I saw explicit checks on the type: bytes or bytearra

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Greg Ewing
anatoly techtonik wrote: That's a cool stuff. `bytes-like object` is really a much better name for users. I'm not so sure. Usually when we talk about an "xxx-like object" we mean one that supports a certain Python interface, e.g. a "file-like object" is one that has read() and/or write() method

[Python-Dev] 3.4.2rc1 online docs: cannot access tkinter, idle pages

2014-10-05 Thread Terry Reedy
I can access every page I have tried except for the tkinter and idle pages, which either give interminable 'Connecting...' or in one try, 404. https://docs.python.org/3/library/tkinter.html https://docs.python.org/3/library/idle.html This is true from the index, previous/next from adjacent pages

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread anatoly techtonik
That's a cool stuff. `bytes-like object` is really a much better name for users. ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive

[Python-Dev] Weekly Python Patch/Bug Summary

2014-10-05 Thread Lyndal
Sent from my iPhone ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] bytes-like objects

2014-10-05 Thread Georg Brandl
On 10/05/2014 06:11 PM, R. David Murray wrote: > Over the past while we've been cleaning up the docs in the area of "how > do we refer to bytes, bytearray, memoryview, etc, etc?" in the APIs that > deal with bytes. As you may or may not remember, we settled on the term > 'bytes-like object', and h

[Python-Dev] bytes-like objects

2014-10-05 Thread R. David Murray
Over the past while we've been cleaning up the docs in the area of "how do we refer to bytes, bytearray, memoryview, etc, etc?" in the APIs that deal with bytes. As you may or may not remember, we settled on the term 'bytes-like object', and have changed the docs to (we hope) consistently use this

Re: [Python-Dev] Microsoft Visual C++ Compiler for Python 2.7

2014-10-05 Thread Steve Dower
If you update setuptools to 6.0 or later, it shouldn't have any trouble detecting it. No need to set any environment variables. FWIW, I put my vcvarsall.bat where I did because it's not the original version. All the files in VC and WinSDK after unmodified from their original release. Cheers, St

Re: [Python-Dev] Microsoft Visual C++ Compiler for Python 2.7

2014-10-05 Thread Georg Brandl
I just tried out the compiler and built wininst and wheel dists. Thanks! distutils was *almost* fine using it, but for two snags: * I had to set VS90COMNTOOLS * distutils expects vcvarsall.bat in VC, while you have it in the parent dir The first could be set by the installer of your package. B