[issue44950] Math

2021-08-18 Thread Hamish
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

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2018-05-16 Thread Hamish MacDonald
Change by Hamish MacDonald : -- pull_requests: +6571 ___ Python tracker <https://bugs.python.org/issue13474> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2018-05-16 Thread Hamish MacDonald
Change by Hamish MacDonald : -- keywords: +patch pull_requests: +6570 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-06 Thread Hamish Campbell
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

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-05 Thread Hamish Campbell
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

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-05 Thread Hamish Campbell
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

[issue26020] set_display evaluation order doesn't match documented behaviour

2016-01-05 Thread Hamish Campbell
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

[issue15565] pdb displays runt Exception strings

2012-12-19 Thread Hamish Downer
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

[issue8081] a.append appends reference , causing unexpected behaviour

2010-03-06 Thread hamish farrant
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

[issue4942] accept() on AF_UNIX sockets broken on arm as of 2.5.3

2009-01-13 Thread Hamish Moffatt
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

[issue4942] accept() on AF_UNIX sockets broken on arm as of 2.5.3

2009-01-13 Thread Hamish Moffatt
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

[issue4942] accept() on AF_UNIX sockets broken on arm as of 2.5.3

2009-01-13 Thread Hamish Moffatt
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