Nico added the comment:
Had same problem today for my website (https://www.bonus4casino.fr/), following
for a fix
--
nosy: +nico.bonefato
___
Python tracker
<https://bugs.python.org/issue36
Nico Schlömer added the comment:
Thanks very much, Steven, for the feedback and the suggestion.
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Nico Schlömer :
I stumbled upon this when dealing with NumPy arrays:
```
slice(None) is slice(None)
```
```
False
```
This came up when trying to check if a variable `a` equals `slice(None)`. The
comparison
```
a = slice(None)
a == slice(None)
```
```
True
```
works, but
Nico added the comment:
Yeah I see the point.
To me it does make no sense because even in the windows API they seam to not
know whether to use a ulong or a uint nor does this reflect the actual
depiction within the program.
However it is probably not worth implementing a flag for that nor
Nico added the comment:
We apparently need a flag to ensure compatibility with the windows return codes
==
FAIL: test_disable_windows_exc_handler
(test.test_faulthandler.FaultHandlerTests
Nico added the comment:
I don't know if it should be a good idea to add a flag to turn off the negative
conversation?
--
___
Python tracker
<https://bugs.python.org/is
Change by Nico :
--
versions: -Python 3.8
___
Python tracker
<https://bugs.python.org/issue41386>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Nico :
--
components: +Library (Lib) -Windows
___
Python tracker
<https://bugs.python.org/issue41386>
___
___
Python-bugs-list mailing list
Unsub
Nico added the comment:
I suggest implementing a singed conversation into _wait
--
keywords: +patch
message_count: 1.0 -> 2.0
pull_requests: +20749
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21607
___
New submission from Nico :
Following problem occurred.
A C style program can have negative return codes. However this is not correctly
implemented in the Windows API. Therefore it is being returned as unsigned long
by the API hence it leads to ambiguity while comparing return codes.
For
Nico Schlömer added the comment:
I just updated tuna [1] to support import time profiles as well.
Install with
```
pip install tuna
```
and use with
```
python -X importprofile yourfile.py 2> import.log
tuna import.log
```
See screenshot for example output.
Cheers,
Nico
[1] https://github.
Nico Schlömer added the comment:
Okay, thanks for the info.
As a stop-gap measure, I've created pyfma [1, 2]. Install with
```
pip install pyfma
```
and use with
```
pyfma.fma(3.0, 2.0, 1.0)
```
Only works on Unix reliable then, but that's all I care about. :)
Cheers,
Nico
Nico Schlömer added the comment:
> Existing libm implementations don't work,
Okay. Is this because of the inf/NaN discrimination hiccups mentioned above or
are there any other pitfalls?
--
___
Python tracker
<https://bugs.python.org
Nico Schlömer added the comment:
Do I read this thread correctly assuming that this hasn't been implemented yet?
If not, I would probably make my own little library for this -- I really need
the feature for the precision.
--
nosy: +ns
New submission from nico:
I'm using the pre-installed version of Python 2.7.12 on Ubuntu 16.04. Pretty
straight forward error the following code:
PyObject * intobj = PyInt_FromLong(10);
double d1 = (double)PyLong_AsLong(intobj);
double d2 = PyLong_AsDouble(intobj);
printf("Should b
Nico Möller added the comment:
I most definitely need a patch for 2.7.3
Would be awesome if you could provide a patch for that version.
--
nosy: +Nico.Möller
___
Python tracker
<http://bugs.python.org/issue9
Nico added the comment:
Okay, thanks for the hint.
Closing as invalid.
--
___
Python tracker
<http://bugs.python.org/issue8609>
___
___
Python-bugs-list mailin
New submission from Nico :
Hi,
I ran into a bit of an unexpected issue here with itertools.
I need to say that I discovered itertools only recently, and that maybe my way
of approaching the problem is "not what I want to do". If you think this may be
the case, please let me kno
18 matches
Mail list logo