Re: [Python-ideas] New PEP proposal -- Pathlib Module Should Contain All File Operations

2018-03-21 Thread Barry Scott
On Tuesday, 20 March 2018 16:22:57 GMT Brett Cannon wrote: > On Mon, 19 Mar 2018 at 18:08 Chris Barker wrote: > > [SNIP] > > PS: does shutil really still not work with Path objects? aarrgg! > > Did you verify this or are you just guessing? If this is true then file a > bug and optionally submit a

Re: [Python-ideas] Disallow importing the same module under multiple names

2018-03-21 Thread Nick Coghlan
On 20 March 2018 at 16:25, Gregory P. Smith wrote: > On Thu, Mar 15, 2018 at 3:26 AM Nick Coghlan wrote: > >> If we did head in this direction, then we'd also need to accept & >> implement PEP 499 [1] (which proposes aliasing __main__ as >> __main__.__spec__.name in sys.modules when executed wit

Re: [Python-ideas] Disallow importing the same module under multiple names

2018-03-21 Thread Nick Coghlan
On 21 March 2018 at 10:01, Chris Billington wrote: > > > On Wed, Mar 21, 2018 at 10:58 AM, Chris Billington < > chrisjbilling...@gmail.com> wrote: > >> I don't think that's true: >> >> >> >> On Wed, Mar 21, 2018 at 10:51 AM, Greg Ewing > > wrote: >> >>> Chris Billington wrote: >>> I wonder h