News for hackers. Stuff that matters.
Re:Pyjion – A Python JIT Compiler by joshuamorton on Tuesday November 09, 2021 @04:36PM (#29167811)
By names aren't unique, I mean with respect to "encoding", everything is the same. It seems like you're using "encoding" to mean something it doesn't? Do you just mean like "value"?

> I can tell you it has to do with iterators, and maybe someone will comment on what that is.

This sounds like you don't know what it is.

Re:Pyjion – A Python JIT Compiler by webmaven on Tuesday November 09, 2021 @09:17PM (#29170354)
> By names aren't unique, I mean with respect to "encoding", everything is the same. It seems like you're using "encoding" to mean something it doesn't? Do you just mean like "value"?

I think the GP means character encodings.

So the intent here is to ask whether (for example) a foo defined in a ISO 8859-1 encoded file is overidden by a foo imported from a Windows-1256 encoded file.

Re:Pyjion – A Python JIT Compiler by joshuamorton on Wednesday November 10, 2021 @04:40PM (#29181271)
> I think the GP means character encodings.

Then the link I posted answers their question. Names aren't unique in how encodings are handled. Files are decoded and canonicalized as a unicode string. If the identifiers are the same after canonicalization, then yes they are equivalent. If they aren't, then they aren't.

Re:Pyjion – A Python JIT Compiler by webmaven on Thursday November 11, 2021 @11:27AM (#29189781)
Ah, I misunderstood what you meant by "aren't unique". I would have phrased that as "names aren't treated differently", or something similar.