[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+
jg added the comment: I forgot to mention I'm on Windows 10 PC and see the same thing under Edge and FireFox. John G. Gammon -. .. .. .-.. .- -.. -- .. .-. .- .-. .. This message and any attachments hereto may contain confidential and/or privileged information. If you are not the intended recipient or authorized to receive this for the intended recipient, please advise the sender immediately by reply e-mail and delete this message; you must not use, copy, disclose or take any other action based on this message or any information herein. Thank you for your cooperation. From: report=bugs.python@roundup.psfhosted.org on behalf of Serhiy Storchaka Sent: Thursday, October 7, 2021 01:47 To: jggam...@hotmail.com Subject: [issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+ Serhiy Storchaka added the comment: This looks like some Sphinx bug. In Python 3.8, using Sphinx: >>> from sphinx.pycode import ast >>> ast.unparse(ast.parse("('Arial', 8, 'normal')", 'eval').body) "'Arial', 8, 'normal'" For comparison, using builtin ast module in Python 3.9: >>> import ast >>> ast.unparse(ast.parse("('Arial', 8, 'normal')", 'eval').body) "('Arial', 8, 'normal')" -- nosy: +georg.brandl, serhiy.storchaka type: -> behavior versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue45397> ___ -- ___ Python tracker <https://bugs.python.org/issue45397> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+
New submission from jg : In the version 3.10 and 3.11 python turtle doc, the turtle.write line shows font without it's tuple parenthesis. Something change in 3.10 that makes it look like font='Arial' and 8 and 'normal' are 3 separate parameters, when it should be one tuple parameter font=(x,y,z). Ex. of wrong entry (URL=https://docs.python.org/3.11/library/turtle.html#turtle.write) line=turtle.write(arg, move=False, align='left', font='Arial', 8, 'normal') Ex. of correct entry (https://docs.python.org/3.9/library/turtle.html#turtle.write) line=turtle.write(arg, move=False, align="left", font=("Arial", 8, "normal")) -- assignee: docs@python components: Documentation messages: 403348 nosy: docs@python, jggammon priority: normal severity: normal status: open title: Doc for turtle.write missing the tuple part of the font param in 3.10+ versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue45397> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44627] Python terminal cmd line recall
jg added the comment: Thanks, I didn't know about the F7 or F8 commands. My 'Discard Old Duplicates' was already disabled (default?). John G. Gammon -. .. .. .-.. .- -.. -- .. .-. .- .-. .. This message and any attachments hereto may contain confidential and/or privileged information. If you are not the intended recipient or authorized to receive this for the intended recipient, please advise the sender immediately by reply e-mail and delete this message; you must not use, copy, disclose or take any other action based on this message or any information herein. Thank you for your cooperation. From: report=bugs.python@roundup.psfhosted.org on behalf of Eryk Sun Sent: Tuesday, July 13, 2021 16:55 To: jggam...@hotmail.com Subject: [issue44627] Python terminal cmd line recall Eryk Sun added the comment: By default, reading input from the console uses the console's built-in command-line editor. You can clear the console input history with Alt+F7; display the history list with F7; navigate in the history list with the up and down arrow keys, even when the list isn't displayed; recall the first and last entries of the list with page up and page down; and cycle through matching command completions with F8. Having said that, the new implementation of the console in Windows 10 has a bug in the "Discard Old Duplicates" history option [1]. Try disabling this option in the console's "Properties" dialog, which can be accessed from the Alt+Space control menu. --- [1] https://github.com/microsoft/terminal/issues/4186 -- nosy: +eryksun ___ Python tracker <https://bugs.python.org/issue44627> ___ -- ___ Python tracker <https://bugs.python.org/issue44627> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44627] Python terminal cmd line recall
New submission from jg : Command line recall in python terminal treats strings case insensitively. Example: Define a 'dummy' function that takes a string as input. If you run dummy twice with the same input string, but different cases, it only saves one. >>> dummy("This is a test") # run this >>> dummy("THIS IS A TEST") # run again w/ different string Now if you try cmd recall, it only recalls the first. I believe it should recall both. Maybe it's treating one as a duplicate - erroneously? -- components: Windows messages: 397435 nosy: jggammon, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python terminal cmd line recall type: behavior versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue44627> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31884] subprocess set priority on windows
Change by Mr JG Kent <james_...@hotmail.co.uk>: -- keywords: +patch pull_requests: +4117 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31884> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31884] subprocess set priority on windows
Change by Mr JG Kent <james_...@hotmail.co.uk>: -- components: Library (Lib) nosy: JamesGKent priority: normal severity: normal status: open title: subprocess set priority on windows type: enhancement ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31884> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
How to pass a boolean to a stored proc using Cx_Oracle?
Hi, I am using Python 2.4 and cx_Oracle. I have a stored proc that takes two arguments. First is an NUMBER, second is a BOOLEAN. How do you call that stored procedure? After properly extablishing a connection, I have something like this: cursor = con.cursor() cursor.callproc(testproc,[123,True]) The problem I have ran into is that I keep getting an error from Oracle stating I don't have the variables defined in with the proper type. I changed to proc just to test it, so that it would take two numbers. I was able to make it run properly. So, what is the trick to pass a boolean? Thanks, joe -- http://mail.python.org/mailman/listinfo/python-list
Re: Beginner Python OpenGL difficulties
Mike C. Fletcher wrote: [EMAIL PROTECTED] wrote: I'm beginning learning Python and OpenGL in Python. [...] ImportError: No module named OpenGL.GLUT [EMAIL PROTECTED]/etc/python$ echo $PYTHONPATH /usr/lib/python2.2/site-packages/OpenGL You should already have site-packages in your PythonPath. You want the directory *above* OpenGL in the path, not OpenGL itself. Yes, tried that: $ echo $PYTHONPATH /usr/lib/python2.2/site-packages/ and no improvement. Should there be a file or directory named GLUT* in /usr/lib/python2.2/site-packages/OpenGL/ ? All I can see are GL, GLU and GLX directories. I'm unsure why you're running a Python 2.2 instance on a modern Linux. [EMAIL PROTECTED]/etc/python$ python2 Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2 The OpenGL stuff was from an RPM that I sound on the web. Many thanks, Jon C. -- http://mail.python.org/mailman/listinfo/python-list
Beginner Python OpenGL difficulties
I'm beginning learning Python and OpenGL in Python. Python fine. But difficulties with OpenGL; presumably with the installation of OpenGL. OS = Linux FC5. Python program gl_test.py: from OpenGL.GLUT import * from OpenGL.GLU import * from OpenGL.GL import * name = Hello, World height = 400 etc. [EMAIL PROTECTED]/etc/python$ python2 gl_test.py Traceback (most recent call last): File gl_test.py, line 1, in ? from OpenGL.GLUT import * ImportError: No module named OpenGL.GLUT [EMAIL PROTECTED]/etc/python$ echo $PYTHONPATH /usr/lib/python2.2/site-packages/OpenGL [EMAIL PROTECTED]/usr/lib/python2.2/site-packages/OpenGL$ ll total 1076 drwxr-xr-x 13 root root 4096 May 28 15:17 Demo/ drwxr-xr-x 3 root root 4096 May 28 15:17 doc/ drwxr-xr-x 25 root root 4096 May 28 15:17 GL/ -rwxr-xr-x 1 root root 624927 Jan 2 2005 GLE.so* drwxr-xr-x 4 root root 4096 May 28 15:17 GLU/ -rwxr-xr-x 1 root root 312612 Jan 2 2005 GLUT.so* drwxr-xr-x 6 root root 4096 May 28 15:17 GLX/ -rw-r--r-- 1 root root868 Mar 12 2004 __init__.py -rw-r--r-- 1 root root 1466 Jan 2 2005 __init__.pyc etc ... Any suggestions. TIA, Jon C. -- http://mail.python.org/mailman/listinfo/python-list
Re: Fw: evidence john bokma al jazeera connection ?
William Baker wrote: please add forward to alt.security.terrorism if information p.p.s. john bokma shows long list in message boards, just in last month. lots of information to netherlands where muslem militants are. could some be coded cryption to aljazeera, so messages are in secret for the terror network? Do not forget his alter egos: Waldo Centini, Jerry Harper, Els... ;-) -- g -- http://mail.python.org/mailman/listinfo/python-list