Re: Not found in the documentation

2021-04-29 Thread Christian Gollwitzer
Am 29.04.21 um 08:54 schrieb elas tica: Le mercredi 28 avril 2021 à 17:36:32 UTC+2, Chris Angelico a écrit : In what sense of the word "token" are you asking? The parser? You can play around with the low-level tokenizer with the aptly-named tokenizer module. It was a good suggestion, and the

uninstall

2021-04-29 Thread Sian Doherty
I’m trying to uninstall Python 3.8.5 on Windows 10 Pro 20H2 as I had multiple environments and as a result corrupted them. When I uninstall from control panel, it takes less than a second and says it uninstalled successfully but I can still access python through the command prompt by typing pyt

Re: c-types Structure and equality with bytes/bytearray

2021-04-29 Thread Eryk Sun
On 4/26/21, Michael Hull wrote: > > my understanding was that `bytes` and `bytearray` would normally > be expected to work quite interchangeably with each other? bytearray.__eq__() is more flexible: >>> i = Int16(first=65, second=66) >>> bytearray(i).__eq__(i) True >>> i.__eq__(

Re: Not found in the documentation

2021-04-29 Thread Matt Wheeler
On Wed, 28 Apr 2021 at 22:18, Dennis Lee Bieber wrote: > The old range() returned a list, and said list could (in your example) > contain 42. The current range() (equivalent to former xrange() ) is not a > container as retrieving values consumes them from the range. A nitpick -- retrievi

Re: Not found in the documentation

2021-04-29 Thread Chris Angelico
On Thu, Apr 29, 2021 at 4:56 PM elas tica wrote: > > Le mercredi 28 avril 2021 à 17:36:32 UTC+2, Chris Angelico a écrit : > > > In what sense of the word "token" are you asking? The parser? You can > > play around with the low-level tokenizer with the aptly-named > > tokenizer module. > > It was a