2014-04-08 3:04 GMT+02:00 Steven D'Aprano st...@pearwood.info:
Python used to have an alias for != and I for one miss in 3.x. I
don't think TOOWTDI should be the last word in this debate.
PEP 401 to the rescue:
It occurs to me that since that Aprils' Fools joke is many years old
now,
2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com:
So, I guess as far as I'm concerned, this is ready to go. Feedback welcome:
http://legacy.python.org/dev/peps/pep-0465/
Couldn't you please have made your motivation example actually runnable?
import numpy as np
from numpy.linalg
Björn Lindqvist bjou...@gmail.com wrote:
import numpy as np
from numpy.linalg import inv, solve
# Using dot function:
S = np.dot((np.dot(H, beta) - r).T,
np.dot(inv(np.dot(np.dot(H, V), H.T)), np.dot(H, beta) - r))
# Using dot method:
S = (H.dot(beta) -
2014-04-08 12:23 GMT+02:00 Sturla Molden sturla.mol...@gmail.com:
Björn Lindqvist bjou...@gmail.com wrote:
import numpy as np
from numpy.linalg import inv, solve
# Using dot function:
S = np.dot((np.dot(H, beta) - r).T,
np.dot(inv(np.dot(np.dot(H, V), H.T)), np.dot(H, beta) -
On Tue, Apr 8, 2014 at 12:08 AM, Nick Coghlan ncogh...@gmail.com wrote:
On 7 Apr 2014 21:58, MRAB pyt...@mrabarnett.plus.com wrote:
On 2014-04-08 02:45, Guido van Rossum wrote:
So what? Aren't we allowed to have fun? :-)
Next thing you know, he'll be threatening people with The Comfy
On 8 April 2014 21:24, Björn Lindqvist bjou...@gmail.com wrote:
2014-04-08 12:23 GMT+02:00 Sturla Molden sturla.mol...@gmail.com:
Björn Lindqvist bjou...@gmail.com wrote:
import numpy as np
from numpy.linalg import inv, solve
# Using dot function:
S = np.dot((np.dot(H, beta) - r).T,
On Apr 8, 2014 2:39 PM, Nick Coghlan ncogh...@gmail.com wrote:
On 8 April 2014 21:24, Björn Lindqvist bjou...@gmail.com wrote:
2014-04-08 12:23 GMT+02:00 Sturla Molden sturla.mol...@gmail.com:
Björn Lindqvist bjou...@gmail.com wrote:
import numpy as np
from numpy.linalg import inv,
issue with itertools leads the crash
The following code leads to system failure and crash on Ubuntu 12.04.3 with
Python 2.7.6.
import itertools
r = range (1,10)
r[1:9:2] = itertools.cycle([0])
Kirill .
___
Python-Dev mailing list
On Tue, Apr 8, 2014 at 9:58 AM, Björn Lindqvist bjou...@gmail.com wrote:
2014-04-07 3:41 GMT+02:00 Nathaniel Smith n...@pobox.com:
So, I guess as far as I'm concerned, this is ready to go. Feedback welcome:
http://legacy.python.org/dev/peps/pep-0465/
Couldn't you please have made your
Please a file a bug at bugs.python.org, otherwise this is most likely going
to get lost track of.
On Tue Apr 08 2014 at 11:30:15 AM, Kirill kir_...@rambler.ru wrote:
issue with itertools leads the crash
The following code leads to system failure and crash on Ubuntu 12.04.3
with Python
Ooooh...that stings.
Victor Stinner victor.stin...@gmail.com wrote:
2014-04-08 3:04 GMT+02:00 Steven D'Aprano st...@pearwood.info:
Python used to have an alias for != and I for one miss in
3.x. I
don't think TOOWTDI should be the last word in this debate.
PEP 401 to the rescue:
It
On 2014-04-08 16:31, Brett Cannon wrote:
Please a file a bug at bugs.python.org http://bugs.python.org,
otherwise this is most likely going to get lost track of.
On Tue Apr 08 2014 at 11:30:15 AM, Kirill kir_...@rambler.ru
mailto:kir_...@rambler.ru wrote:
issue with itertools leads the
On Apr 8, 2014 10:31 AM, MRAB pyt...@mrabarnett.plus.com wrote:
If the RHS yields too few, e.g. 3, you'll get:
ValueError: attempt to assign sequence of size 3 to extended slice of size 4
If it yields too many, e.g. 10, you'll get:
ValueError: attempt to assign sequence of size 10 to
Le 08/04/2014 04:02, Steven D'Aprano a écrit :
Many, many more people take part in the CPython core developer culture
than just the core developers themselves. Look at the readership of this
mailing list, which is open to the public and has regular posters who
aren't core developers. In-jokes
On Wed, Apr 9, 2014 at 2:40 AM, Eric Snow ericsnowcurren...@gmail.com wrote:
On Apr 8, 2014 10:31 AM, MRAB pyt...@mrabarnett.plus.com wrote:
If the RHS yields too few, e.g. 3, you'll get:
ValueError: attempt to assign sequence of size 3 to extended slice of size 4
If it yields too many, e.g.
On Wed, Apr 9, 2014 at 2:49 AM, Antoine Pitrou solip...@pitrou.net wrote:
Le 08/04/2014 04:02, Steven D'Aprano a écrit :
Many, many more people take part in the CPython core developer culture
than just the core developers themselves. Look at the readership of this
mailing list, which is open
On Tue, Apr 08, 2014 at 06:49:13PM +0200, Antoine Pitrou wrote:
Le 08/04/2014 04:02, Steven D'Aprano a écrit :
Many, many more people take part in the CPython core developer culture
than just the core developers themselves. Look at the readership of this
mailing list, which is open to the
On 04/08/2014 12:50 PM, Chris Angelico wrote:
It would be nice to have a simple notation that fetches what it needs
and ignores any extras.
a, b, c, * = x.split(-)
Bomb if there aren't two hyphens in x, but if there are more, just
take the first three and ignore the rest. Would work with
On Wed, Apr 9, 2014 at 3:30 AM, Larry Hastings la...@hastings.org wrote:
On 04/08/2014 12:50 PM, Chris Angelico wrote:
It would be nice to have a simple notation that fetches what it needs
and ignores any extras.
a, b, c, * = x.split(-)
Bomb if there aren't two hyphens in x, but if there
Sorry, posted to wrong list the first time.
On 04/08/2014 09:33 AM, Ethan Furman wrote:
On 04/08/2014 09:07 AM, yury.selivanov wrote:
http://hg.python.org/cpython/rev/0973d45197cc
+The :attr:`__objclass__` is interpreted by the :mod:`inspect` module as
+specifying the class where this
Thank you, Ethan.
Fixed.
On 2014-04-08, 1:57 PM, Ethan Furman wrote:
Sorry, posted to wrong list the first time.
On 04/08/2014 09:33 AM, Ethan Furman wrote:
On 04/08/2014 09:07 AM, yury.selivanov wrote:
http://hg.python.org/cpython/rev/0973d45197cc
+The :attr:`__objclass__` is interpreted
On Mon, Apr 7, 2014 at 4:37 AM, Victor Stinner victor.stin...@gmail.com wrote:
Hi,
Unit tests are failing on Windows because of this issue:
http://bugs.python.org/issue21059
It looks like a regression in test_idlelib introduced with this issue:
http://bugs.python.org/issue15968
Zachary
Victor Stinner wrote:
I started to implement the RFC 1924 to have a full support.
3 days later, when my code was working, I saw the date of the RFC...
Do you still have the code? It needn't go to waste -- this
would make a fine addition to Python's easter egg basket!
--
Greg
Thanks !
2014-04-08 22:39 GMT+02:00 Zachary Ware zachary.ware+py...@gmail.com:
On Mon, Apr 7, 2014 at 4:37 AM, Victor Stinner victor.stin...@gmail.com
wrote:
Hi,
Unit tests are failing on Windows because of this issue:
http://bugs.python.org/issue21059
It looks like a regression in
2014-04-09 1:13 GMT+02:00 Greg Ewing greg.ew...@canterbury.ac.nz:
Victor Stinner wrote:
I started to implement the RFC 1924 to have a full support.
3 days later, when my code was working, I saw the date of the RFC...
Do you still have the code? It needn't go to waste -- this
would make a
Guido,
I am sorry to read this.
I shall be responding more completely in a day or two.
In my view, @ and @@ are completely redundant. Both operations are
already provided, * and **, in numpy.matrix.
PEP 465 provides no clear indication as to how
On 9 Apr 2014 00:15, Greg Ewing greg.ew...@canterbury.ac.nz wrote:
Victor Stinner wrote:
I started to implement the RFC 1924 to have a full support.
3 days later, when my code was working, I saw the date of the RFC...
Do you still have the code? It needn't go to waste -- this
would make
27 matches
Mail list logo