Szymon added the comment:
I'm experiencing the same exact issue. The bug manifests with all combinations:
SelectorEventLoop and ProactorEventLoop, python 3.9 and 3.10, on Windows 10.
Python 3.8 on Linux seems to not be affected. Can we get a fix or at least an
update?
--
Szymon added the comment:
One more thing: It's worth mentioning that by default, you'll get only 28
significant digits of precision, so doing
f"{Decimal('1234567890123456789012.12345678').normalize():f}" will produce
'1234567890123456789012.1
Szymon added the comment:
Thanks for the replies. The use of format works great. Maybe it's worth
mentioning in the documentation because using "%f" % Decimal("0.0001") leds
to loosing precision (cast to float64 I guess) while using
f"{"Decimal('0
New submission from Szymon :
str(Decimal("0.0001")) always returns "1E-8" and there is no way to
directly get the "0.0001" string back without writting custom method for
converting DecimalTuple to string. This is caused by arbitrary choice of `and
leftdi
New submission from Szymon Kuliński:
Many obfuscators use simple technice for block disasemblation. Add broken
instructions (for example unknown op codes) and use flow control (SETUP_EXCEPT
or JUMP_FORWARD) to skip broken instructions. Interpreter work in right way
skipping broken instruction
New submission from Szymon Trapp:
Added a new function to unit tests for abc.py to increase the test coverage,
specifically for the usage of __subclasshook__.
This will cover lines 209-214.
Note: this is my first submission to Python and I'm following the advice to
start with the unit
Szymon Sobik added the comment:
Ok I found this out too on my own.
It might be better to add examples using the MIME* classes to nntplib
documentation.
--
___
Python tracker
<http://bugs.python.org/issue19
Szymon Sobik added the comment:
Traceback (most recent call last):
File "./nntp_test.py", line 23, in
s.post(msg)
File "/usr/lib/python3.3/nntplib.py", line 909, in post
return self._post('POST', data)
File "/usr/lib/python3.3/nntplib
New submission from Szymon Sobik:
post method fails because string methods have bytesrting arguments
ie.
line = line.rstrip(b"\r\n") + _CRLF
--
components: Library (Lib)
messages: 204331
nosy: sobczyk
priority: normal
severity: normal
status: open
title: NNTP.post broken
type