From freesoftware.ipython at user.fastmail.fm Wed Jul 5 13:15:56 2017 From: freesoftware.ipython at user.fastmail.fm (Hugo Gagnon) Date: Wed, 05 Jul 2017 13:15:56 -0400 Subject: [IPython-dev] IPCompleter.limit_to__all__ = True alternative Message-ID: <1499274956.399896.1031345552.6F8FF3DA@webmail.messagingengine.com> Hello, What is the alternative to "IPCompleter.limit_to__all__ = True"? I use IPython 5.3.0. Thanks, -- Hugo Gagnon From takowl at gmail.com Wed Jul 12 10:24:57 2017 From: takowl at gmail.com (Thomas Kluyver) Date: Wed, 12 Jul 2017 16:24:57 +0200 Subject: [IPython-dev] IPCompleter.limit_to__all__ = True alternative In-Reply-To: <1499274956.399896.1031345552.6F8FF3DA@webmail.messagingengine.com> References: <1499274956.399896.1031345552.6F8FF3DA@webmail.messagingengine.com> Message-ID: Hi Hugo, I don't think there is one; the idea is that with the new completion machinery, we can do smarter prioritisation of completions, and therefore we don't need as much complexity for showing and hiding different bits. I know the completion improvements are still a bit ropey at present, though. Best wishes, Thomas On 5 July 2017 at 19:15, Hugo Gagnon wrote: > Hello, > > What is the alternative to "IPCompleter.limit_to__all__ = True"? I use > IPython 5.3.0. > > Thanks, > > -- > Hugo Gagnon > _______________________________________________ > IPython-dev mailing list > IPython-dev at python.org > https://mail.python.org/mailman/listinfo/ipython-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From freesoftware.ipython at user.fastmail.fm Wed Jul 12 16:33:52 2017 From: freesoftware.ipython at user.fastmail.fm (Hugo Gagnon) Date: Wed, 12 Jul 2017 16:33:52 -0400 Subject: [IPython-dev] start_ipython() and multiprocessing Message-ID: <1499891632.2679499.1038989280.310CB592@webmail.messagingengine.com> Hi, When I do "import multiprocessing; p = multiprocessing.Pool()" in IPython everything works fine. However when I put "import IPython; IPython.start_ipython()" in say "test.py" and then do "$python test.py" and try starting a pool with the above command the prompt starts "multiplying itself" and sometimes crashes. I use Anaconda 4.4.0 Python 2.7.13 IPython 5.3.0 on Windows 7. -- Hugo Gagnon From freesoftware.ipython at user.fastmail.fm Wed Jul 12 16:47:04 2017 From: freesoftware.ipython at user.fastmail.fm (Hugo Gagnon) Date: Wed, 12 Jul 2017 16:47:04 -0400 Subject: [IPython-dev] IPCompleter.limit_to__all__ = True alternative In-Reply-To: References: <1499274956.399896.1031345552.6F8FF3DA@webmail.messagingengine.com> Message-ID: <1499892424.1394182.1039002912.1CB2772D@webmail.messagingengine.com> Okay. I'd just like to point out that I find a use to it and unless the new completion machinery offers an alternative I see no reason to deprecate it. -- Hugo Gagnon On Wed, Jul 12, 2017, at 10:24, Thomas Kluyver wrote: > Hi Hugo, > > I don't think there is one; the idea is that with the new completion > machinery, we can do smarter prioritisation of completions, and therefore > we don't need as much complexity for showing and hiding different bits. I > know the completion improvements are still a bit ropey at present, though. > > Best wishes, > Thomas > > On 5 July 2017 at 19:15, Hugo Gagnon > wrote: > > > Hello, > > > > What is the alternative to "IPCompleter.limit_to__all__ = True"? I use > > IPython 5.3.0. > > > > Thanks, > > > > -- > > Hugo Gagnon > > _______________________________________________ > > IPython-dev mailing list > > IPython-dev at python.org > > https://mail.python.org/mailman/listinfo/ipython-dev > > > _______________________________________________ > IPython-dev mailing list > IPython-dev at python.org > https://mail.python.org/mailman/listinfo/ipython-dev From takowl at gmail.com Thu Jul 13 03:23:49 2017 From: takowl at gmail.com (Thomas Kluyver) Date: Thu, 13 Jul 2017 09:23:49 +0200 Subject: [IPython-dev] start_ipython() and multiprocessing In-Reply-To: <1499891632.2679499.1038989280.310CB592@webmail.messagingengine.com> References: <1499891632.2679499.1038989280.310CB592@webmail.messagingengine.com> Message-ID: Hi Hugo, See the 'safe importing of main module' section here: https://docs.python.org/3/library/multiprocessing.html#the-spawn-and-forkserver-start-methods Best wishes, Thomas On 12 July 2017 at 22:33, Hugo Gagnon wrote: > Hi, > > When I do "import multiprocessing; p = multiprocessing.Pool()" in IPython > everything works fine. However when I put "import IPython; > IPython.start_ipython()" in say "test.py" and then do "$python test.py" and > try starting a pool with the above command the prompt starts "multiplying > itself" and sometimes crashes. > > I use Anaconda 4.4.0 Python 2.7.13 IPython 5.3.0 on Windows 7. > > -- > Hugo Gagnon > _______________________________________________ > IPython-dev mailing list > IPython-dev at python.org > https://mail.python.org/mailman/listinfo/ipython-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: