[issue12445] dict view values objects are missing tp_richcmp and tp_as_number
Change by Peter Lovett : -- nosy: +PeterL777 ___ Python tracker <https://bugs.python.org/issue12445> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31140] Insufficient error message with incorrect formated string literal
Peter Lovett added the comment: Thanks Eric. -- ___ Python tracker <https://bugs.python.org/issue31140> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31140] Insufficient error message with incorrect formated string literal
Peter Lovett added the comment: I'm not getting the problem on 3.9.7 on Windows. Did get it on 3.7 (3.7.11?) on a different Windows machine last week. Not getting the problem on 3.10.4 The wrong line number is a problem for IDLE's syntax highlighter, that marks the first line as a Syntax Error, even if that line is a comment. This is an issue for ArcGIS Pro users, which is (I think) currently shipping with Python 3.7.11, so those users may come across it. Best solution would be for Esri to update their Python version to something newer. https://support.esri.com/en/technical-article/13224 -- ___ Python tracker <https://bugs.python.org/issue31140> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31140] Insufficient error message with incorrect formated string literal
Change by Peter Lovett : -- nosy: +PeterL777 ___ Python tracker <https://bugs.python.org/issue31140> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow
Peter Lovett added the comment: :-) -- ___ Python tracker <https://bugs.python.org/issue41526> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow
New submission from Peter Lovett : "Setup was successful" dialog box text overflows the box, and last line can't be read. -- components: Installation files: Python 3.9.0rc1 setup successful overflow dialog box.PNG messages: 375206 nosy: PeterL777 priority: normal severity: normal status: open title: Python 3.9.0rc1 "setup successful" dialog box overflow type: behavior versions: Python 3.9 Added file: https://bugs.python.org/file49383/Python 3.9.0rc1 setup successful overflow dialog box.PNG ___ Python tracker <https://bugs.python.org/issue41526> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41525] Python '--help' has corrupted text.
Peter Lovett added the comment: Also appearing in 3.9.0rc1 AMD64 I think it's transliterated Unicode, rather than an actual corruption. I'm on Win10, so it might be a Windows command shell issue (although it is showing bad in cmd, PS7 and PS5). Help messages should be plain ASCII to avoid this issue. -- nosy: +PeterL777 versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue41525> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39010] ProactorEventLoop raises unhandled ConnectionResetError
Change by Peter Lovett : -- nosy: +PeterL777 ___ Python tracker <https://bugs.python.org/issue39010> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31824] Missing default argument detail in documentation of StreamReaderWriter
New submission from Peter Lovett : Documentation of StreamReaderWriter at https://docs.python.org/3/library/codecs.html#codecs.StreamReaderWriter section 7.2.1.4.3 is missing the default value on the errors argument. Should change from: class codecs.StreamReaderWriter(stream, Reader, Writer, errors) to be: class codecs.StreamReaderWriter(stream, Reader, Writer, errors='strict') -- assignee: docs@python components: Documentation messages: 304646 nosy: PeterLovett, docs@python priority: normal severity: normal status: open title: Missing default argument detail in documentation of StreamReaderWriter type: behavior versions: Python 3.6 ___ Python tracker <https://bugs.python.org/issue31824> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use better HTML and separate CSS
Peter Lovett added the comment: I see that pydoc still useful, and have 6 points I'd like to work on with pydoc. Is this too much for one issue? Should I break bits out to another issue(s)? Although it would make sense to do it all in one go. --- Pydoc is a good way to get users (especially beginners) used to writing docstrings, and leads nicely into doctest and similar tools. Other languages, such as Perl and Java have similar tools that generate text or html documentation from code. Some have used pydoc classes for their own uses. It is not intended that pydoc would compete with Sphinx. Sphinx is not core. pydoc changes --- 1. Fix .\ (or ./) problem Currently, documenting a single module requires the prefix of .\ TODO: Change to check: If it's a directory, document all .py files in that directory. If it's a Python file, document that. If it's one of the special keywords, display that documentation. Otherwise, display an error. Currently: user@server:/mnt/c/course$ pydoc -w helloFunc.py no Python documentation found for 'helloFunc.py' user@server:/mnt/c/course$ pydoc -w ./helloFunc.py wrote helloFunc.html TODO: Update the help strings. 2. Fix command line run error message Currently, passing an argument (that is not a keyword and is not a filename that exists) displays an error message that isn't relevant to this context: C:\course> py -3 "C:\Program Files (x86)\Python35-32\Lib\pydoc.py" notthere.py No Python documentation found for 'notthere.py'. Use help() to get the interactive help utility. Use help(str) for help on the str class. This changed from Python2: C:\course> py -2 "C:\Python27\Lib\pydoc.py" notthere.py No Python documentation found for 'notthere.py'. TODO: Remove the last two lines of the help output from Py3 pydoc when run from the command line. 3. Add "-h" command-line argument. TODO: Add "-h This help summary" to the output of pydoc -h All the existing options are single letter, so make it just -h Continue the current behaviour of "no command arguments or switches" displays help. 4. TODO: Unknown command line option should give an error. Currently, pydoc with an unknown command line option doesn't give an error, but just displays the standard help: C:\course> py -3 "C:\Program Files (x86)\Python35-32\Lib\pydoc.py" -j pydoc - the Python documentation tool pydoc ... Show text documentation on something. may be the name of a Python keyword, topic, function, module, or package, or a dotte ... This can add confusion. It would be more useful to display a specific error, and refer users to more help, like ls does: user@server:~$ ls -j ls: invalid option -- 'j' Try 'ls --help' for more information. 5. TODO: Improve HTML output Oh yes. There's a few good contributions on this, but I think Frédéric Jolliton's summary is the most succinct. 6. Additional command line argument To allow certain command line arguments. Sidenote: Both pod (http://perldoc.perl.org/pod2html.html) and javadoc (http://download.java.net/jdk7u2/docs/technotes/tools/solaris/javadoc.html) have many command line arguments. I'm not proposing for significant changes, but I think the below options would add significantly to the usability, and are modeled on pod and javadoc. It is not intended that pydoc would compete with Sphinx. TODO: + --helpSame as -h for help + --css=Override the built-in stylesheet + --output or -d or --dir Output directory name + --verbose More verbose output -- ___ Python tracker <http://bugs.python.org/issue10716> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use better HTML and separate CSS
Changes by Peter Lovett : -- nosy: +PeterLovett ___ Python tracker <http://bugs.python.org/issue10716> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17570] Improve devguide Windows instructions
Peter Lovett added the comment: Also a similar change to patch.rst ./python.exe should be: PCbuild\\python.exe -- Added file: http://bugs.python.org/file40124/issue17570-2.patch ___ Python tracker <http://bugs.python.org/issue17570> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17570] Improve devguide Windows instructions
Peter Lovett added the comment: Tiny change on case of Windows file 'mercurial.ini' Although Windows is case-insensitive on filenames, the file itself is named in lowercase (I'm using TortoiseHg v3.4.2; I'm assuming older versions of TortoiseHg also name it in this way.) -- nosy: +PeterLovett Added file: http://bugs.python.org/file40123/issue17570.patch ___ Python tracker <http://bugs.python.org/issue17570> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24021] Add docstring to urllib.urlretrieve
Peter Lovett added the comment: Updated patch to 3.6 urlretrieve now has a decent docstring; this patch just adds a docstring to urlcleanup. -- nosy: +PeterLovett versions: +Python 3.6 -Python 2.7 Added file: http://bugs.python.org/file40121/issue-24021.patch ___ Python tracker <http://bugs.python.org/issue24021> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com