Re: [Python-Dev] "buffer interface" messages

2010-12-03 Thread Georg Brandl
Am 03.12.2010 18:29, schrieb Antoine Pitrou: > On Fri, 03 Dec 2010 18:09:39 +0100 > Georg Brandl wrote: >> Am 03.12.2010 17:57, schrieb Antoine Pitrou: >> > On Sat, 4 Dec 2010 02:45:42 +1000 >> > Nick Coghlan wrote: >> >> On Sat, Dec 4, 2010 at 2:28 AM, Antoine Pitrou >> >> wrote: >> >> > On Fr

Re: [Python-Dev] "buffer interface" messages

2010-12-03 Thread Antoine Pitrou
On Fri, 03 Dec 2010 18:09:39 +0100 Georg Brandl wrote: > Am 03.12.2010 17:57, schrieb Antoine Pitrou: > > On Sat, 4 Dec 2010 02:45:42 +1000 > > Nick Coghlan wrote: > >> On Sat, Dec 4, 2010 at 2:28 AM, Antoine Pitrou wrote: > >> > On Fri, 03 Dec 2010 10:11:29 -0500 > >> > "R. David Murray" wrote

Re: [Python-Dev] "buffer interface" messages

2010-12-03 Thread Georg Brandl
Am 03.12.2010 17:57, schrieb Antoine Pitrou: > On Sat, 4 Dec 2010 02:45:42 +1000 > Nick Coghlan wrote: >> On Sat, Dec 4, 2010 at 2:28 AM, Antoine Pitrou wrote: >> > On Fri, 03 Dec 2010 10:11:29 -0500 >> > "R. David Murray" wrote: >> >> > >> >> > >>> 'abc'.transform('hex') >> >> > TypeError: 'str

Re: [Python-Dev] "buffer interface" messages

2010-12-03 Thread Nick Coghlan
On Sat, Dec 4, 2010 at 2:57 AM, Antoine Pitrou wrote: > On Sat, 4 Dec 2010 02:45:42 +1000 > Nick Coghlan wrote: >> On Sat, Dec 4, 2010 at 2:28 AM, Antoine Pitrou wrote: >> > On Fri, 03 Dec 2010 10:11:29 -0500 >> > "R. David Murray" wrote: >> >> > >> >> > >>> 'abc'.transform('hex') >> >> > TypeE

Re: [Python-Dev] "buffer interface" messages

2010-12-03 Thread Antoine Pitrou
On Sat, 4 Dec 2010 02:45:42 +1000 Nick Coghlan wrote: > On Sat, Dec 4, 2010 at 2:28 AM, Antoine Pitrou wrote: > > On Fri, 03 Dec 2010 10:11:29 -0500 > > "R. David Murray" wrote: > >> > > >> > >>> 'abc'.transform('hex') > >> > TypeError: 'str' does not support the buffer interface > >> > >>> b'ab

Re: [Python-Dev] "buffer interface" messages

2010-12-03 Thread Nick Coghlan
On Sat, Dec 4, 2010 at 2:28 AM, Antoine Pitrou wrote: > On Fri, 03 Dec 2010 10:11:29 -0500 > "R. David Murray" wrote: >> > >> > >>> 'abc'.transform('hex') >> > TypeError: 'str' does not support the buffer interface >> > >>> b'abc'.transform('rot13') >> > TypeError: expected an object with the buf

[Python-Dev] "buffer interface" messages

2010-12-03 Thread Antoine Pitrou
On Fri, 03 Dec 2010 10:11:29 -0500 "R. David Murray" wrote: > > > > >>> 'abc'.transform('hex') > > TypeError: 'str' does not support the buffer interface > > >>> b'abc'.transform('rot13') > > TypeError: expected an object with the buffer interface > > I find these 'buffer interface' error messag