andrei kulakov
andrei kulakov
The issue is here: https://github.com/cowrie/cowrie/blob/master/src/cowrie/commands/ftpget.py#L36 self.file is opened in binary mode but ftplib.FTP only supports regular (str) mode. For example see: https://github.com/python/cpython/blob/main/Lib/ftplib.py#L219 (this is dev branch but the same applies...
Unfortunately modern laptop keyboards have almost no key travel and barely any tactile feedback [*]. Users on such keyboards really do need feedback for each key pressed. Not providing an...
Note that `msg` argument to cancel() is deprecated in 3.11 and will be removed in the future, so once that happens it will be just that traceback is different -...
@gvanrossum in that case should I remove the deprecation warning from latest dev branch, or that's already planned to be done by someone?
I could not reproduce locally on MacOS 11.5.2 M1, I did a few hundred test runs on both Py 3.9 and latest dev version.
Only addressing the first example, with `quoting=csv.QUOTE_ALL` or with default quoting, I do get the original data back as expected (on latest dev version): ``` with open('a.csv') as f: reader...
`normalize()` doesn't have anything to do with what is available on current system. Instead it uses `locale.locale_alias` dict and some logic to return a normalized value, which doesn't mean it's...
Confirmed the issue on Python 3.9 and 3.12 on MacOS 11.5.2 .
I've looked into this and the hang happens on this line: https://github.com/python/cpython/blob/de3db1448b1b983eeb9f4498d07e3d2f1fb6d29d/Lib/test/test_builtin.py#L2030 So the issue is that on the second run, there's nothing to read on that fd. I've tried...