New submission from Feng :
my first time to report a bug here.
But it is so annoying, I have to report it.
Here is the demonstration of the errors I encounter:
>>> import numpy as np
>>> import pandas as pd
>>> np.__version__
'1.14.3'
>>> pd.
New submission from Lu Feng :
Run 1.1 + 3.2, result is 4.301
And when Run [x * 0.1 for x in range(0, 10)], the result is
[0.0, 0.1, 0.2, 0.30004, 0.4, 0.5, 0.6001,
0.7001, 0.8, 0.9]
--
messages: 130734
nosy: lufen...@gmail.com
priority
New submission from Yang Feng :
In documentation of random.getstate(), it says:
“random.getstate()
Return an object capturing the current internal state of the generator. This
object can be passed to setstate() to restore the state.”
random.getstate() takes 0 argument and return the current
Feng Yu added the comment:
Coming here from
https://github.com/astropy/astropy/issues/9832#issuecomment-570751353
Importing the named module during warning initialization is somewhat like code
injection. And it may introduce unintended side-effects -- for example if this
causes some 3rd
New submission from Yang Feng :
Seeing the following program, in the second assertRaises(), function
"test_invalid_adpcm_state()" is recursively called. Then a fatal Python error
shows up and the Python interpreter crashes.
++
import unitt
New submission from Yang Feng :
In following teststr.py, class MyString is nestedly instanced in method
__getattr__(). This script will lead to a "core dump" in Python interpreter.
My Python version is 3.9.1 and my operating system is Ubuntu 16.04.
New submission from Yang Feng :
In the following programs, dict is created in recursive calls. Then a core dump
is reported by Python interpreter.
+++
def test_equal_operator_modifying_operand():
class X():
def __del__(DictTest
New submission from Yang Feng :
In the following programs, we call check_reentrant_insertion("s") twice, after
multiple of update and clear of dict, the Python interpreter crashes.
+++
def check_reentrant_insertion(mutate):
clas
New submission from Yang Feng :
We use run_with_locale() as decorator function, then we recursively call
test_float__format__locale in the following example. Python interpreter crashes.
+++
from test.support import run_with_locale
@run_with_locale
New submission from Yang Feng :
In the following program, we call check_free_after_iterating( ) twice, in the
second time, we recursively call function test_free_after_iterating(). Python
interpreter crashes.
+++
import unittest
import test.support
Yang Feng added the comment:
Could you please tell me your secret method of getting the minimal script?
I will try to provide minimal ones in our following work.
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from liang feng <1590...@139.com>:
see log
--
files: Python 3.7.1 (32-bit)_20181127100820.log
messages: 330486
nosy: outofthink
priority: normal
severity: normal
status: open
title: Windows x86 executable installer can't install
versions: Python 3.7
Added
liang feng <1590...@139.com> added the comment:
the file didn't download complete,change other computer download, it's fine
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
New submission from feng liang:
when i read in document 3.5.1,run the example in ipaddress.address_exclude
function
>>> n1 = ip_network('192.0.2.0/28')
>>> n2 = ip_network('192.0.2.1/32')
>>> list(n1.address_exclude(n2))
I got:
Traceback
New submission from Feng A:
=
BUG:
run : urlparse.urlparse('http://google.com]')
then: raise ValueError("Invalid IPv6 URL")
=
SOURCE:
if url[:2] == '
Feng A added the comment:
I wish you could think twice if you hadn't use urlparse.py in practical
project.
1. Do you like the module to raise an exception?
2. The href in webpage is always standard format?
3. Should the parse module verify the ipv6 url format? If so, did the module
r
16 matches
Mail list logo