[issue38441] failing to build the Documentation
New submission from Aurora : I'm failing to build the cpython/Doc dir. The full build log is as follows: mkdir -p build Building NEWS from Misc/NEWS.d with blurb PATH=./venv/bin:$PATH sphinx-build -b epub -d build/doctrees -D latex_elements.papersize= -W . build/epub Running Sphinx v2.2.0 making output directory... done building [mo]: targets for 0 po files that are out of date building [epub]: targets for 476 source files that are out of date updating environment: [new config] 476 added, 0 changed, 0 removed reading sources... [100%] whatsnew/index Warning, treated as error: /home/aurora/A.Code/Python/Reference/python/cpython/Doc/library/email.message.rst:4:duplicate object description of email.message, other instance in library/email.compat32-message, use :noindex: for one of them make: *** [Makefile:46: build] Error 2 Running on Debian Experimental kernel v5.3 -- assignee: docs@python components: Documentation messages: 354425 nosy: aurora, docs@python priority: normal severity: normal status: open title: failing to build the Documentation type: compile error versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue38441> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] Improved the site module's permission handling while writing .python_history
Change by Aurora : -- pull_requests: +24543 status: pending -> open pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39304] Don't accept a negative number for the count argument in str.replace(old, new[, count])
New submission from Aurora : It's meaningless for the count argument to have a negative value, since there's no such thing as negative count for something. -- components: Library (Lib) messages: 359795 nosy: opensource-assist priority: normal severity: normal status: open title: Don't accept a negative number for the count argument in str.replace(old, new[,count]) type: behavior versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39304> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39314] Autofill the closing paraenthesis during auto-completion for functions which accept no arguments
New submission from Aurora : If Python is compiled with the GNU readline headers, it will provide autocompletion for Python functions and etc. In the Python interpreter environment, if a function is typed partially, Python will fill in the rest if a tab character is typed. If a function accepts no arguments, Python still doesn't fill in the last closing paraenthesis during autocompletion, in the hope that the user will provide arguments, but in such a case it's pointless. -- components: Interpreter Core messages: 359855 nosy: opensource-assist priority: normal severity: normal status: open title: Autofill the closing paraenthesis during auto-completion for functions which accept no arguments type: enhancement versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39314> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39304] Don't accept a negative number for the count argument in str.replace(old, new[, count])
Aurora added the comment: @xtreak Understood, just as an aftermath: I still disagree a little with such an implementation because it's riding way into terse-coding that it's going against the principles of mathematics, which is the basis of computer science and programming. Python can use another special keyword or something(e.g. the Ellipsis notation) for this and all similar cases. You'll get into trouble if you wanna explain such a thing to a mathematician or if you wanna write some pseudo-code based on it, which in both cases they're not gonna look at the underlying implementation. A bad practice in C, followed by CPython spreaded to others. -- ___ Python tracker <https://bugs.python.org/issue39304> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39314] Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all
Change by Aurora : -- title: Autofill the closing paraenthesis during auto-completion for functions which accept no arguments -> Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all ___ Python tracker <https://bugs.python.org/issue39314> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39319] ntpath module must not be available on POSIX platforms
Change by Aurora : -- components: +Library (Lib) -Interpreter Core type: behavior -> ___ Python tracker <https://bugs.python.org/issue39319> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39319] ntpath module must not be available on POSIX platforms
New submission from Aurora : According to https://docs.python.org/dev/library/undoc.html the 'ntpath' module is an "Implementation of os.path on Win32 and Win64 platforms". Just like all other Windows-specific modules(like winreg),'ntpath' must not be available for use on a POSIX system like Linux. I guess that 'posixpath' is also available on Windows, that if it is, it must not be available too. -- components: Interpreter Core messages: 359897 nosy: opensource-assist priority: normal severity: normal status: open title: ntpath module must not be available on POSIX platforms type: behavior versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39319> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39319] ntpath module must not be available on POSIX platforms
Aurora added the comment: @eryksun So modify the documentation to note that they're operable on both platforms. I've seen that ntpath worked on my Linux system, but the documentation was misleading. -- ___ Python tracker <https://bugs.python.org/issue39319> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39314] Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all
Change by Aurora : -- versions: -Python 3.9 ___ Python tracker <https://bugs.python.org/issue39314> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39449] New Assignment operator
Aurora added the comment: That's a nice simple idea. -- nosy: +opensource-assist ___ Python tracker <https://bugs.python.org/issue39449> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39455] Update the documentation for linecache module
New submission from Aurora : Added the definitions for two undocumented functions. -- assignee: docs@python components: Documentation messages: 360709 nosy: docs@python, opensource-assist priority: normal pull_requests: 17572 severity: normal status: open title: Update the documentation for linecache module type: enhancement versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39455> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
New submission from Aurora : On a typical Linux system, if you run 'chattr +i /home/user/.python_history', and then run python, then exit, the following error message will be printed out: Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/local/lib/python3.9/site.py", line 446, in write_history readline.write_history_file(history) OSError: [Errno -1] Unknown error -1 With a simple improvement, the site module can check and suggest the user to run 'chattr -i' on the .python_history file. Additionaly, I don't know if it's a good idea to automatically run 'chattr -i' in such a situation or not. -- components: Library (Lib) messages: 360790 nosy: opensource-assist priority: normal severity: normal status: open title: .python_history write permission improvements type: enhancement versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Aurora added the comment: https://github.com/opensource-assist/cpython/blob/opensource-assist-patch-sitepy-1/Lib/site.py -- ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- keywords: +patch pull_requests: +17586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: -17586 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: +17589 pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39480] referendum reference is needlessly annoying
Aurora added the comment: This example is practically against Python's diversity statement. -- nosy: +opensource-assist ___ Python tracker <https://bugs.python.org/issue39480> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39455] Update the documentation for the linecache module
Change by Aurora : -- title: Update the documentation for linecache module -> Update the documentation for the linecache module ___ Python tracker <https://bugs.python.org/issue39455> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39314] (readline) Autofill the closing parenthesis during auto-completion for functions which accept no arguments at all
Change by Aurora : -- title: Autofill the closing paraenthesis during auto-completion for functions which accept no arguments at all -> (readline) Autofill the closing parenthesis during auto-completion for functions which accept no arguments at all ___ Python tracker <https://bugs.python.org/issue39314> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39455] Update the documentation for the linecache module
Change by Aurora : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39455> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: +17674 pull_request: https://github.com/python/cpython/pull/18299 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: +17675 pull_request: https://github.com/python/cpython/pull/39468 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: -17589 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: -17674 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: +17677 pull_request: https://github.com/python/cpython/pull/18299 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] .python_history write permission improvements
Change by Aurora : -- pull_requests: -17675 ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] Improved the site module's permission handling while writing .python_history
Change by Aurora : -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39468] Improved the site module's permission handling while writing .python_history
Change by Aurora : -- title: .python_history write permission improvements -> Improved the site module's permission handling while writing .python_history ___ Python tracker <https://bugs.python.org/issue39468> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39480] referendum reference is needlessly annoying
Change by Aurora : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue39480> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com