Yoong Hor Meng added the comment:
There is a real requirement for csv to handle an empty field vs a empty string
"""". csv.QUOTE_NOTNULL could be useful.
--
nosy: +yoonghm
versions: +Python 3.8 -Python 3.6
___
Py
Yoong Hor Meng added the comment:
I just find it strange that libncursesw5-dev is used during compilation but
libncurses5-dev is used for testing.
--
stage: -> resolved
status: open -> closed
type: -> compile error
___
Python tracke
Yoong Hor Meng added the comment:
I installed libncurses5-dev and ran configure again:
./configure \
--with-openssl=/usr
--enable-optimizations
It could be build without skipping test_curses. It seems that regrtest.py looks
for libncurses5-dev during configure state.
...
Run tests
Yoong Hor Meng added the comment:
https://bugs.python.org/issue5356 mentioned that one has to pass
-ucurses to regrtest.py
It works. However the Makefile does not pass the information to regrtest.py
when calling test_curses.py
--
___
Python
New submission from Yoong Hor Meng :
test_curses.py was skipped during unit test. I manually ran the test via
debugger:
python3 -m pdb /home/s/lib/python3.8/test/regrtest.py test_curses
It showed error at
../lib/python3.8/test/libregrtest/runtest.py(215)_runtest_inner2():
210
Yoong Hor Meng added the comment:
I did some checks, I discovered the following:
logging.handlers.DatagramHandler() sends data in the following format:
1. message length
2. message itself which consists of
a. Creation time in ASCII format
b. Creation time in seconds, ms
c. Filename
New submission from Yoong Hor Meng :
`pysyslog.py`
- A UDP server listens at 0.0.0.0:514 for syslog messages.
`syslogmsg_gen.py`
- Send syslog message to local syslog server via 127.0.0.1:514
Error:
Exception has occurred: UnicodeDecodeError
'utf-8' codec can't decode byte 0
New submission from Yoong Hor Meng :
def f():
print('-- Start --')
yield 1
print('-- Middle --')
yield 2
print('-- Finished --')
yield 3
gen = f()
for x in gen:
print('Another things ...')
next(gen)
The output:
Change by Yoong Hor Meng :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue35703>
___
___
Python-bugs-
New submission from Yoong Hor Meng :
s = 1_234.567_8
print(float(s)) # It works
s = 1_234._567
print(float(s)) # It does not work
s = 1_234_.567
print(float(s)) # It does not work too
--
components: Interpreter Core
messages: 68
nosy: yoonghm
priority: normal
severity: normal
10 matches
Mail list logo