Re: Valid encodings for a Python source file

2018-06-08 Thread Thomas Jollans
On 2018-06-07 22:40, Daniel Glus wrote: > I'm trying to figure out the entire list of possible encodings for a Python > source file - that is, encodings that can go in a PEP 263 > encoding specification, like # > -*- encoding: foo -*-. > > Is this list

Re: Valid encodings for a Python source file

2018-06-08 Thread Richard Damon
On 6/7/18 4:40 PM, Daniel Glus wrote: > I'm trying to figure out the entire list of possible encodings for a Python > source file - that is, encodings that can go in a PEP 263 > encoding specification, like # > -*- encoding: foo -*-. > > Is this list the

Re: Valid encodings for a Python source file

2018-06-08 Thread Terry Reedy
On 6/7/2018 4:40 PM, Daniel Glus wrote: I'm trying to figure out the entire list of possible encodings for a Python source file - that is, encodings that can go in a PEP 263 encoding specification, like # -*- encoding: foo -*-. For new code for

Re: Valid encodings for a Python source file

2018-06-07 Thread Ben Finney via Python-list
Daniel Glus writes: > I'm trying to figure out the entire list of possible encodings for a Python > source file - that is, encodings that can go in a PEP 263 > encoding specification, like # > -*- encoding: foo -*-. What if the answer is not an

Valid encodings for a Python source file

2018-06-07 Thread Daniel Glus
I'm trying to figure out the entire list of possible encodings for a Python source file - that is, encodings that can go in a PEP 263 encoding specification, like # -*- encoding: foo -*-. Is this list the same as the list given in the documentation for