It's not different "processes".   It's the difference between running
myfile.py from the python interpreter, making the module effectively
__main__, vs running myfile.py via "import myfile".   Same filesystem file
but two totally different modules in the same process.

On Oct 19, 2017 4:29 PM, "Jonathan Vanasco" <jonat...@findmeon.com> wrote:

>
>
> On Thursday, October 19, 2017 at 4:10:11 PM UTC-4, Taz Mainiac wrote:
>>
>>
>> If you ran two scripts or two modules, it would also almost always fail
>>> (IIRC, it is remotely possible but highly unlikely, to generate the same id
>>> in another process).
>>>
>>
>> I am not doing that.
>>
>>
> re-read Mike's explanation of how your implementation is effectively doing
> that.
>
> --
> SQLAlchemy -
> The Python SQL Toolkit and Object Relational Mapper
>
> http://www.sqlalchemy.org/
>
> To post example code, please provide an MCVE: Minimal, Complete, and
> Verifiable Example. See http://stackoverflow.com/help/mcve for a full
> description.
> ---
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to