[issue27607] Importing the main module twice leads to two incompatible instances

2021-06-15 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.11 -Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-08-20 Thread Ethan Furman

Changes by Ethan Furman :


--
nosy:  -ethan.furman

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-25 Thread R. David Murray

R. David Murray added the comment:

If you have any sort of implementation of the pep, proving that it does fix 
this issue would be informative.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-25 Thread Emanuel Barry

Emanuel Barry added the comment:

@Cameron - I don't think this issue can be solved without the PEP, so possibly 
that the best move would be to work on the PEP and submit it for another round 
on Python-Dev, to get it reviewed. Thanks!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-25 Thread Sylvia van Os

Sylvia van Os added the comment:

My apologies, I can't get that test case to run here either. Here is a slightly 
older one that does reproduce the issue too.

I specifically run it with python3 main.py.

--
Added file: http://bugs.python.org/file43877/issue27607.zip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-25 Thread Sylvia van Os

Changes by Sylvia van Os :


Removed file: 
http://bugs.python.org/file43867/a040de8b978dcc4c272c0571d456a382-ea6d8fb8acc988a1f060c94070f70a6ed8439069.zip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-25 Thread Cameron Simpson

Cameron Simpson added the comment:

On 25Jul2016 02:56, Python Bug Reports  wrote:
>
>Emanuel Barry added the comment:
>
>I'm fairly sure enums aren't related to this issue, so I'm unassigning Ethan 
>(but feel free to self-assign back if you so desire :). As I said on IRC (I'm 
>Vgr), I think that importing a module twice is the problem here, and that PEP 
>499 is the way to properly solve this and related issues. Thanks for opening 
>this issue!
>
>I added Cameron Simpson (PEP 499's author) to the nosy list, hoping he still 
>wants to work on this (and let us know otherwise). I would personally like to 
>see the PEP accepted and implemented for 3.6.

Thank you; I do want to finish off PEP 499 and get it accepted. I have been 
very remiss in pursuing that.

What can I do to assist here?

Cheers,
Cameron Simpson 

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-24 Thread Emanuel Barry

Emanuel Barry added the comment:

I'm fairly sure enums aren't related to this issue, so I'm unassigning Ethan 
(but feel free to self-assign back if you so desire :). As I said on IRC (I'm 
Vgr), I think that importing a module twice is the problem here, and that PEP 
499 is the way to properly solve this and related issues. Thanks for opening 
this issue!

I added Cameron Simpson (PEP 499's author) to the nosy list, hoping he still 
wants to work on this (and let us know otherwise). I would personally like to 
see the PEP accepted and implemented for 3.6.

--
assignee: ethan.furman -> 
nosy: +cameron, ebarry
title: Enums never match if imported from another file -> Importing the main 
module twice leads to two incompatible instances
versions: +Python 3.6 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com