Author lemburg
Recipients flox, ghaering, lemburg, pitrou
Date 2010-01-17.23:22:51
SpamBayes Score 5.85257e-06
Marked as misclassified No
Message-id <4B539BC9.5040106@egenix.com>
In-reply-to <1263754970.69.0.236489509817.issue7723@psf.upfronthosting.co.za>
Content
Antoine Pitrou wrote:
> 
> Antoine Pitrou <pitrou@free.fr> added the comment:
> 
> This is not exact. buffer() doesn't exist at all in 3.x, and it issues a warning in 2.x when used with the -3 flag:
> 
> $ ./python -3
> Python 2.7a2+ (trunk:77580M, Jan 17 2010, 16:51:51) 
> [GCC 4.4.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> buffer('abc')
> __main__:1: DeprecationWarning: buffer() not supported in 3.x
> <read-only buffer for 0x7f913ac79800, size -1, offset 0 at 0x7f913aba8570>

Sorry, that's what I meant. It's not deprecated in the 2.x branch of Python.
History
Date User Action Args
2010-01-17 23:22:53lemburgsetrecipients: + lemburg, ghaering, pitrou, flox
2010-01-17 23:22:51lemburglinkissue7723 messages
2010-01-17 23:22:51lemburgcreate