[Python-ideas] TextIOBase: Make tell() and seek() pythonic

2022-05-25 Thread Stephen J. Turnbull
[email protected] writes: > There should be a safer abstraction to these two basic functions. There is: TextIOBase.read, then treat it as an array of code units (NOT CHARACTERS!!) > More details in the issue: Not at all persuasive. I'm with Chris: you need to present the abstraction you wan

[Python-ideas] Re: Popular Python Package 'ctx' Hijacked to Steal AWS Keys

2022-05-25 Thread George Fischhof
Turritopsis Dohrnii Teo En Ming ezt írta (időpont: 2022. máj. 25., Sze, 15:49): > Subject: Popular Python Package 'ctx' Hijacked to Steal AWS Keys > > Good day from Singapore, > > Sharing this article for more awareness. > > Article: Popular PyPI Package 'ctx' and PHP Library 'phpass' Hijacked >

[Python-ideas] Re: TextIOBase: Make tell() and seek() pythonic

2022-05-25 Thread Barry Scott
> On 25 May 2022, at 10:16, Stephen J. Turnbull > wrote: > > This is much > better than the pre-PEP-393 situation (where the unicode type was > UTF-16, Only on Windows right? mac and Linux did not do this, at least with the bullds I have used for python 2.7. Barry ___

[Python-ideas] Re: TextIOBase: Make tell() and seek() pythonic

2022-05-25 Thread Christopher Barker
IIRC, there were two builds- 16 and 32 bit Unicode. But it wasn’t UTF16, it was UCS-2. -CHB On Wed, May 25, 2022 at 11:32 AM Barry Scott wrote: > > > > On 25 May 2022, at 10:16, Stephen J. Turnbull < > [email protected]> wrote: > > > > This is much > > better than the pre-PEP-393 sit