On Jan 13, 2014, at 1:59 AM, Nick Coghlan <ncogh...@gmail.com> wrote:
> On 13 January 2014 16:52, Donald Stufft <don...@stufft.io> wrote: >> >> On Jan 13, 2014, at 12:45 AM, Glenn Linderman <v+pyt...@g.nevcal.com> wrote: >> >> So then the question is whether to proceed with 3.4, delay this feature to >> 3.5, or to delay 3.4 to include this feature, both have been discussed, with >> the justification for the latter being to make 3.4 the ultimate Python 3 >> porting target for recalcitrant module authors, sooner than later. >> >> >> I really hope this can make it in 3.4, needing to wait another 2 years or so >> until this is available would be a shame. > > Indeed, it would be a shame to have to wait. Fortunately, people don't > even need to wait until the release of Python 3.4, they can instead > try to help out with the asciicompat project, which aims to provide > this functionality in Python 3.3+: > https://github.com/jeamland/asciicompat > > All it takes is to let go of the idea "I wish the Python 3 bytes type > was more like the Python 2 str type" and instead think "hmm, the > Python 3 bytes type doesn't seem like a great fit for my use case, > maybe I need a different type”. It’s almost a fine fit for the usecase afaict the major thing it’s missing is an easy way to handle this last use case. I don’t see how this proposal is any different than cases such as int(b”1”). ASCII is already special, giving an area that Python3 has made things worse a better way forward isn’t comprising the text model, it’s recognizing the realities of the world. > > Regards, > Nick. > > -- > Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ 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