New submission from Hamish :
Error shown in image
--
components: Interpreter Core
files: unknowasdasdasdn.png
messages: 399874
nosy: hamish555
priority: normal
severity: normal
status: open
title: Math
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file50226
Change by Hamish MacDonald :
--
pull_requests: +6571
___
Python tracker
<https://bugs.python.org/issue13474>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Hamish MacDonald :
--
keywords: +patch
pull_requests: +6570
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Hamish Campbell added the comment:
> Do you have a use case where `x == y`/`hash(x) == hash(y)` does not mean that
> `x` and `y` should be interchangeable? True and 1 are 100% interchangeable,
> minus their str() output, and my example is very unlikely to ever appear in
> actual
Hamish Campbell added the comment:
Note also the differences here:
>>> print(set([True, 1]))
{True}
>>> print({True, 1})
{1}
>>> print({x for x in [True, 1]})
{True}
--
___
Python tracker
<htt
Hamish Campbell added the comment:
Apologies, that first line should read "It looks like the documentation of set
displays do not match behaviour in some cases".
--
___
Python tracker
<http://bugs.python.o
New submission from Hamish Campbell:
It looks like the behaviour of set displays do not match behaviour in some
cases. The documentation states:
"A set display yields a new mutable set object, the contents being specified by
either a sequence of expressions or a comprehension. When a
Hamish Downer added the comment:
The bug affects me on python 2.7, as described by the original reporter.
I am using Ubuntu 12.04 which comes with python 2.7.3 - was this fixed for 2.7
quite recently?
However the python 3.2 that is packaged for Ubuntu 12.04 does not suffer from
this bug
New submission from hamish farrant :
Causes modification of an list object to change the values of the object
already inside the list.
Example code :
import random
a =[]
b = [1 , 2 , 3 , 4]
for i in range (15):
random.shuffle(b)
a.append(b)
for j in a:
print j
Expected Behaviour
Hamish Moffatt added the comment:
Understood.
Would it be appropriate to list this issue on the known bugs page?
http://www.python.org/download/releases/2.5.4/bugs/
I can't reproduce it on x86, but it's probably not ARM specific. It
might even be a compiler bug. I tried the same
Hamish Moffatt added the comment:
Thanks for your feedback, but I'm a bit confused by the note on the web
site:
"This is the last bugfix release of Python 2.5. Python 2.5 is now in
bugfix-only mode; no new features are being added."
This implies further bug fixes are possib
New submission from Hamish Moffatt :
As of 2.5.3, calling accept() on an AF_UNIX socket fails on arm. The
following exception occurs:
SystemError: Negative size passed to PyString_FromStringAndSize
I have attached a test program that creates a socket and connects to it.
It works on x86-64 but
12 matches
Mail list logo