Re: [Python-Dev] int() and math.trunc don't accept objects that only define __index__

2019-03-14 Thread Steven D'Aprano
On Wed, Mar 13, 2019 at 03:21:31AM -0700, Rémi Lapeyre wrote: > When __index__ is defined it means that there is a lossless conversion > to int possible. In this case, this means a lossless conversion to > float and complex is also possible That's not correct: py> n = 2**64 + 1 py> n == int(flo

[Python-Dev] How to create a child process using multiprocessing in Python2.7.10 without the child sharing resources with parent?

2019-03-14 Thread Jigar Bhalodia
Hello, We are trying to move our python 2.7.10 codebase from Windows to Linux. We recently discovered that multiprocessing library in Python 2.7 behaves differently on Windows vs Linux. We have found many articles like this one

Re: [Python-Dev] Initial updates to PEP 1 for Steering Council based governance

2019-03-14 Thread Brett Cannon
On Thu, Mar 14, 2019 at 10:02 AM Victor Stinner wrote: > Hi, > > Le lun. 11 mars 2019 à 13:26, Nick Coghlan a écrit : > > This is the smallest change to PEP 1 that we consider potentially > viable: handling all PEPs through the BDFL-Delegate model, with the > Steering Council's primary involveme

[Python-Dev] Typing Summit at PyCon?

2019-03-14 Thread Guido van Rossum
If you're going to PyCon and interested in static typing for Python (e.g. mypy, pytype, Pyre, PyCharm), I have something for you. I am hoping to organize a Typing Summit, on Thursday afternoon, May 2nd. If you're interested, please reply to me so I can gauge interest. -- --Guido van Rossum (pytho

Re: [Python-Dev] Initial updates to PEP 1 for Steering Council based governance

2019-03-14 Thread Victor Stinner
Hi, Le lun. 11 mars 2019 à 13:26, Nick Coghlan a écrit : > This is the smallest change to PEP 1 that we consider potentially viable: > handling all PEPs through the BDFL-Delegate model, with the Steering > Council's primary involvement being to appoint the delegates (or accept their > voluntee