[RELEASE] Python 3.6.1 is now available

2017-03-21 Thread Ned Deily
On behalf of the Python development community and the Python 3.6 release team, I would like to announce the availability of Python 3.6.1, the first maintenance release of Python 3.6. 3.6.0 was released on 2016-12-22 to great interest and now, three months later, we are providing the first set of b

Re: Who are the "spacists"?

2017-03-21 Thread Ben Finney
Grant Edwards writes: > Question: is it still successfull trolling if we all knew that was the > intent and are just playing along for the entertainment value? Yes, it creates more noise and drives away signal from people who don't want to be in a noisy environment. That is success for the troll

Re: Who are the "spacists"?

2017-03-21 Thread Mikhail V
On 21 March 2017 at 16:42, Michael Torrie wrote: > On 03/21/2017 08:15 AM, Mikhail V wrote: >> Didn't want to say this, but you know it was quite predictable from >> the beginning that >> the arguments will end up somewhere in "linux console is the center of the >> universe, e-macs is mother of al

Re: Who are the "spacists"?

2017-03-21 Thread Mikhail V
On 21 March 2017 at 22:40, Chris Angelico wrote: > On Wed, Mar 22, 2017 at 8:27 AM, Mikhail V wrote: >> I'd just tell one thing since I am a bit tired: if you wish, >> take an advice: avoid *any* monospaced fonts as plague if you are >> reading a lot of information, this includes coding. >> Avoid

Re: Who are the "spacists"?

2017-03-21 Thread Chris Angelico
On Wed, Mar 22, 2017 at 8:27 AM, Mikhail V wrote: > I'd just tell one thing since I am a bit tired: if you wish, > take an advice: avoid *any* monospaced fonts as plague if you are > reading a lot of information, this includes coding. > Avoid *any* sepia color schemes as plague. > Avoid *any* sans

Re: Who are the "spacists"?

2017-03-21 Thread Mikhail V
On 21 March 2017 at 17:41, Gene Heskett wrote: > On Tuesday 21 March 2017 11:04:58 Mikhail V wrote: > >> On 21 March 2017 at 15:49, Grant Edwards > wrote: >> > On 2017-03-21, Mikhail V wrote: >> > >> >> I don't know how to help, probably if there is an important >> >> document which you want dif

Re: Python.NET question?

2017-03-21 Thread MRAB
On 2017-03-21 07:27, Tristan B. Kildaire wrote: Is Python.NET a version of Python that compiles Python source code to Microsoft's IR for running by a MS runtime? Is this what you're talking about? https://github.com/pythonnet/pythonnet It says """Python for .NET is a package that gives Python

Re: PyPy2.7 and PyPy3.5 v5.7 - two in one release

2017-03-21 Thread Robert O'Shea
Been meaning to give Pypy a try for a while, tonight may be the time On Tue 21 Mar 2017, 20:32 , wrote: > Hopefully this > https://morepypy.blogspot.co.uk/2017/03/pypy27-and-pypy35-v57-two-in-one-release.html > is rather more interesting for some than blatant trolling about spaces vs > tabs. > >

PyPy2.7 and PyPy3.5 v5.7 - two in one release

2017-03-21 Thread breamoreboy
Hopefully this https://morepypy.blogspot.co.uk/2017/03/pypy27-and-pypy35-v57-two-in-one-release.html is rather more interesting for some than blatant trolling about spaces vs tabs. Kindest regards. Mark Lawrence. -- https://mail.python.org/mailman/listinfo/python-list

Re: __del__ is not called after creating a new reference

2017-03-21 Thread Oleg Nesterov
On 03/21, Steve D'Aprano wrote: > > I changed the code to run: > > c = C() > del c > > and now I'm seeing the same thing as you: DEL is only printed once. Yes, I've forwared this question to python-dev, please see https://mail.python.org/pipermail/python-dev/2017-March/147631.html so the implemen

Re: Exporting Tensorflow inceptionv3 graph for weight and bias extraction

2017-03-21 Thread jladasky
On Tuesday, March 21, 2017 at 6:27:43 AM UTC-7, Zizwan wrote: > Anyone can help me with this? TensorFlow has a Python wrapper, but it isn't Python. Do you require Python for what you are trying to do? You might try looking for more information in the TensorFlow tutorial newsgroup: https://gr

Re: Who are the "spacists"?

2017-03-21 Thread Gene Heskett
On Tuesday 21 March 2017 11:04:58 Mikhail V wrote: > On 21 March 2017 at 15:49, Grant Edwards wrote: > > On 2017-03-21, Mikhail V wrote: > >> Didn't want to say this, but you know it was quite predictable from > >> the beginning that the arguments will end up somewhere in "linux > >> console is

Re: Who are the "spacists"?

2017-03-21 Thread Grant Edwards
On 2017-03-21, Jon Ribbens wrote: > On 2017-03-21, Michael Torrie wrote: >> On 03/21/2017 08:15 AM, Mikhail V wrote: >>> Didn't want to say this, but you know it was quite predictable from >>> the beginning that the arguments will end up somewhere in "linux >>> console is the center of the univer

Re: Who are the "spacists"?

2017-03-21 Thread Jon Ribbens
On 2017-03-21, Michael Torrie wrote: > On 03/21/2017 08:15 AM, Mikhail V wrote: >> Didn't want to say this, but you know it was quite predictable from >> the beginning that the arguments will end up somewhere in "linux >> console is the center of the universe, e-macs is mother of all apps >> and m

Re: Who are the "spacists"?

2017-03-21 Thread Rhodri James
On 21/03/17 15:04, Mikhail V wrote: On 21 March 2017 at 15:49, Grant Edwards wrote: On 2017-03-21, Mikhail V wrote: Didn't want to say this, but you know it was quite predictable from the beginning that the arguments will end up somewhere in "linux console is the center of the universe, e-ma

Re: Who are the "spacists"?

2017-03-21 Thread Michael Torrie
On 03/21/2017 08:15 AM, Mikhail V wrote: > Didn't want to say this, but you know it was quite predictable from > the beginning that > the arguments will end up somewhere in "linux console is the center of the > universe, e-macs is mother of all apps and monospaced text is peak of > human evolution"

Re: Who are the "spacists"?

2017-03-21 Thread Chris Angelico
On Wed, Mar 22, 2017 at 1:38 AM, Marko Rauhamaa wrote: > State of the art. Thankfully, the editor of the RFC chose not to use > tabs. Exactly. Because tabs are the wrong character to use for this kind of thing. So you see, this is not any fault of tabs - what you're pointing out is that misusing

Re: Who are the "spacists"?

2017-03-21 Thread Mikhail V
On 21 March 2017 at 15:49, Grant Edwards wrote: > On 2017-03-21, Mikhail V wrote: > >> Didn't want to say this, but you know it was quite predictable from >> the beginning that the arguments will end up somewhere in "linux >> console is the center of the universe, e-macs is mother of all apps >>

Re: Who are the "spacists"?

2017-03-21 Thread Marko Rauhamaa
Mikhail V : > On 21 March 2017 at 14:42, Marko Rauhamaa wrote: >> - Draw this box starting from the top left corner and circling >> clockwise: >> >> +--+ >> | | >> | | >> +-

Manager for project templates, that allows "incremental" feature addition

2017-03-21 Thread Paul Moore
I'm looking for a utility that is something like cookiecutter, in that it generates a "template" project for me. However, I would like the ability to have a template add content based on runtime questions, something like Do you want to include a C extension? [yes/no] ... adds Extension() t

Re: Who are the "spacists"?

2017-03-21 Thread Jussi Piitulainen
Grant Edwards writes: > Well written code _is_ ASCII-art. :) -- https://mail.python.org/mailman/listinfo/python-list

Re: Who are the "spacists"?

2017-03-21 Thread Grant Edwards
On 2017-03-21, Mikhail V wrote: > Didn't want to say this, but you know it was quite predictable from > the beginning that the arguments will end up somewhere in "linux > console is the center of the universe, e-macs is mother of all apps > and monospaced text is peak of human evolution". Well,

Re: Who are the "spacists"?

2017-03-21 Thread Grant Edwards
On 2017-03-21, Wildman via Python-list wrote: > I would love to hear also. I've been using Linux for about > 10 years and I have never had anything "break" because of a > tab. Sounds like a case of Chicken Little to me. The main problem is that when you display/print a program that uses tabs o

Re: Who are the "spacists"?

2017-03-21 Thread Mikhail V
On 21 March 2017 at 14:42, Marko Rauhamaa wrote: > Wildman : > >> On Tue, 21 Mar 2017 06:01:26 +1100, Chris Angelico wrote: >>> Can you ask your workmates to elaborate? I'd love to hear. >> >> I would love to hear also. I've been using Linux for about 10 years >> and I have never had anything "bre

Re: Who are the "spacists"?

2017-03-21 Thread Marko Rauhamaa
Wildman : > On Tue, 21 Mar 2017 06:01:26 +1100, Chris Angelico wrote: >> Can you ask your workmates to elaborate? I'd love to hear. > > I would love to hear also. I've been using Linux for about 10 years > and I have never had anything "break" because of a tab. Sounds like a > case of Chicken Litt

Exporting Tensorflow inceptionv3 graph for weight and bias extraction

2017-03-21 Thread Zizwan
Anyone can help me with this? -- https://mail.python.org/mailman/listinfo/python-list

Re: Who are the "spacists"?

2017-03-21 Thread Wildman via Python-list
On Tue, 21 Mar 2017 06:01:26 +1100, Chris Angelico wrote: > On Tue, Mar 21, 2017 at 4:39 AM, Steve D'Aprano > wrote: >> And yet I'm forever being told by my Linux sys admin work mates "don't use >> tabs, because they break everything". For another example, see JMZ's essay >> (its already been lin

Re: Python.NET question?

2017-03-21 Thread Tristan B. Kildaire
On 2017/03/21 1:46 PM, Steve D'Aprano wrote: On Tue, 21 Mar 2017 08:39 pm, Tristan B. Kildaire wrote: On 2017/03/21 11:07 AM, Ivo Bellin Salarin wrote: IronPython? Le mar. 21 mars 2017 08:52, Tristan B. Kildaire a écrit : Is Python.NET a version of Python that compiles Python source code t

Re: How to package my project and make it ready to be installed by using pip

2017-03-21 Thread Daiyue Weng
the problem has been solved, as I forgot to define py_modules=[...] for a few python files needed to be installed. cheers On 21 March 2017 at 08:09, Glenn Hutchings wrote: > On Monday, 20 March 2017 17:21:04 UTC, Daiyue Weng wrote: > > If I tried > > > > pip3 install git+https://user_n...@bi

Re: cross python version randomness

2017-03-21 Thread Robin Becker
On 21/03/2017 09:43, Pavol Lisy wrote: On 3/21/17, Kev Dwyer wrote: Robin Becker wrote: Is there a way to get the same sequences of random numbers in python 2.7 and python >= 3.3? I notice that this simple script produces different values in python 2.7 and >=3.3 C:\code\hg-repos\reportlab>c

Re: cross python version randomness

2017-03-21 Thread Steve D'Aprano
On Tue, 21 Mar 2017 08:30 pm, Robin Becker wrote: > Looking in random.py it sesms to be true. Pity no backwards compatibility > mode. I don't actually care about the quality of the ints produced, but I > do care about reproducibility, luckily I think it's feasible to monkey > patch the 2.7 method

Re: Python.NET question?

2017-03-21 Thread Steve D'Aprano
On Tue, 21 Mar 2017 08:39 pm, Tristan B. Kildaire wrote: > On 2017/03/21 11:07 AM, Ivo Bellin Salarin wrote: >> IronPython? >> >> Le mar. 21 mars 2017 08:52, Tristan B. Kildaire a >> écrit : >> >>> Is Python.NET a version of Python that compiles Python source code to >>> Microsoft's IR for runnin

Re: cross python version randomness

2017-03-21 Thread Pavol Lisy
On 3/21/17, Kev Dwyer wrote: > Robin Becker wrote: > >> Is there a way to get the same sequences of random numbers in python 2.7 >> and python >= 3.3? >> >> I notice that this simple script produces different values in python 2.7 >> and >=3.3 >> >> C:\code\hg-repos\reportlab>cat s.py >> import sys

Re: numpy indexing performance

2017-03-21 Thread Olaf Dietrich
Olaf Dietrich : > This is a simplified example of a Monte Carlo > simulation where random vectors (here 2D vectors, > which are all zero) are summed (the result is in > r1 and r2 or r, respectively): > > def case1(): > import numpy as np > M = 10 > N = 1 > r1 = np.zeros(M)

Re: Python.NET question?

2017-03-21 Thread Tristan B. Kildaire
On 2017/03/21 11:07 AM, Ivo Bellin Salarin wrote: IronPython? Le mar. 21 mars 2017 08:52, Tristan B. Kildaire a écrit : Is Python.NET a version of Python that compiles Python source code to Microsoft's IR for running by a MS runtime? -- https://mail.python.org/mailman/listinfo/python-list I

Re: cross python version randomness

2017-03-21 Thread Robin Becker
.. presumably randint is doing something different to get its values. The docs [https://docs.python.org/3/library/random.html#random.randrange] for randrange have this note: Changed in version 3.2: randrange() is more sophisticated about producing equally distributed values. Formerly

Re: Python.NET question?

2017-03-21 Thread Ivo Bellin Salarin
IronPython? Le mar. 21 mars 2017 08:52, Tristan B. Kildaire a écrit : > Is Python.NET a version of Python that compiles Python source code to > Microsoft's IR for running by a MS runtime? > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/p

Re: How to package my project and make it ready to be installed by using pip

2017-03-21 Thread Glenn Hutchings
On Monday, 20 March 2017 17:21:04 UTC, Daiyue Weng wrote: > If I tried > > pip3 install git+https://user_n...@bitbucket.org/user_name/project_name.git > > the package would get installed, but there are no python files that have > been installed in /usr/local/lib/python3.5/dist-packages/project_n

Python.NET question?

2017-03-21 Thread Tristan B. Kildaire
Is Python.NET a version of Python that compiles Python source code to Microsoft's IR for running by a MS runtime? -- https://mail.python.org/mailman/listinfo/python-list

Python.NET question?

2017-03-21 Thread Tristan B. Kildaire
Is Python.NET a version of Python that compiles Python source code to Microsoft's IR for running by a MS runtime? -- https://mail.python.org/mailman/listinfo/python-list