[issue40487] Unexpected exception handler behavior in Jupyter when returning task objects created with create_task

2020-05-03 Thread John Smith
John Smith added the comment: Additional note: In a almost identical set-up, the simple fact of assigning the task object to a variable: `task = loop.create_task(coroutine())` instead of just calling: `loop.create_task(coroutine())` ...results in the same unexpected behavior in exception

[issue40487] Unexpected exception handler behavior in Jupyter when returning task objects created with create_task

2020-05-03 Thread John Smith
Change by John Smith : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue40487> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40487] Unexpected exception handler behavior in Jupyter when returning task objects created with create_task

2020-05-03 Thread John Smith
New submission from John Smith : Hi, I'm running the following code in a Jupyter notebook (so there is already a running loop). `run_coro` (non-async function) adds given coroutines to the loop with `loop.create_task`. I want to return the task objects created by `loop.create_task

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-23 Thread John Smith
John Smith added the comment: Interesting finding. Just some thoughs: I have to disagree on the "the experience with input() in IDLE is more useful and less confusing, especially to beginners" part. Here are some reasons: 1. If a beginner starts with threading and expect a

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-22 Thread John Smith
John Smith added the comment: P.S. here (other computer but with same observed behavior) I have a 3.6 32bit as one can see from the output. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-22 Thread John Smith
Change by John Smith : Added file: https://bugs.python.org/file48901/IDLE_threading_issue_min_example1.py ___ Python tracker <https://bugs.python.org/issue39

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-22 Thread John Smith
John Smith added the comment: py -m idlelib -n path output: Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. No Subprocess WARNING: Run

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-22 Thread John Smith
New submission from John Smith : preamble: I am aware that I am not the first to encounter this issue but neither I could identify a preexisting ticket which fully matches nor is the commonly recommended "solution" (stay away from IDLE) satisfying. environment: win10, python 3

Re: The syntax of replacement fields in format strings

2017-10-31 Thread John Smith
If we keep the current implementation as is, perhaps the documentation should at least be altered ? -- https://mail.python.org/mailman/listinfo/python-list

MySQLdb Problem

2013-08-31 Thread John Smith
Hi; Since there is no list for MySQLdb, I'm hoping you can help me. I have installed, de-installed and reinstalled this s/w and MySQL itself on my Win8 box. However, when I go to use it from a script, I get the following error: C:\Python27\lib\site-packages\MySQLdb\__init.py__, line 27 in

Re: MySQLdb Problem

2013-08-31 Thread John Smith
On Sat, 31/8/13, Chris Angelico ros...@gmail.com wrote: Subject: Re: MySQLdb Problem To: python-list@python.org Date: Saturday, 31 August, 2013, 4:18 PM Do your Python and your MySQLdb match? I haven't confirmed, but I'm pretty sure you'll

Auto Logon to site and get page

2009-02-01 Thread John Smith
I'm trying to automatically log into a site and store the resulting html using python. The site uses a form and encrypts the password with some kind of md5 hash. This is the important parts of the form: script language=JavaScript src=/admin/javascript/md5.js/script script

[issue1706039] Added clearerr() to clear EOF state

2008-12-23 Thread John Smith
John Smith ebgs...@gmail.com added the comment: Sorry for inconvenience caused with the patch. I should've got more reviews before asking it checked in. I verified eof2.diff-applied-python gets Bus error and Scott Dial's fileobject.diff fixes this. (Test was on 9.6.0 Darwin Kernel Version 9.6.0

[issue1706039] Added clearerr() to clear EOF state

2008-11-29 Thread John Smith
John Smith [EMAIL PROTECTED] added the comment: Hi, when will this patch be checkedin? -- versions: +Python 2.5.3, Python 2.6, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1706039

replacing characters within a string

2008-11-08 Thread John Smith
Hi, I coded a python script that lets me parse a csv file into html code with a certain format, but I would like to replace every and character that appears within each column entry of the csv file (they are parsed as strings) with the html equivalents of lt; and gt;. example csv file

[issue1276] LookupError: unknown encoding: X-MAC-JAPANESE

2008-08-30 Thread John Smith
John Smith [EMAIL PROTECTED] added the comment: Confirmed now I can build Python on Mac OS X with Japanese locale. I tested the followings. Python 2.6b3+ trunk:66060 Python 3.0b3+ py3k:66060 Thank you very much. ___ Python tracker [EMAIL PROTECTED] http

[issue1706039] Added clearerr() to clear EOF state

2007-12-04 Thread John Smith
John Smith added the comment: What's in a name? :p Done, anyway. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1706039 _ ___ Python-bugs-list mailing list Unsubscribe

comp post

2007-02-26 Thread john smith
comp post -- http://mail.python.org/mailman/listinfo/python-list

test message

2006-11-26 Thread john . smith
This is a test message, please ignore. -- http://mail.python.org/mailman/listinfo/python-list

What kind of program is this

2006-10-03 Thread John Smith
what kind of program is this? I would like to know. import win32api from win32api import * import win32con from win32con import *; from string \ import split aJAPy = 'C:/Program Files/Python/Lib/ \ JAPy.py' if split(aJAPy,'.')[-1] in ('py','pyw'\ ): aJAPy = %s %s %s % ('J' 'A' 'Py'\

BitKeeper for Python?

2005-05-01 Thread John Smith
I am going to be working with some people on a project that is going to be done over the internet. I am looking for a good method of keeping everyone's code up to date and have everyone be able to access all the code including all the changes and be able to determine what parts of the code were

Whats the best Python Book for me

2005-05-01 Thread John Smith
I already know C/C++ programming and now wish to learn Python to do scripting for some games that are coming out. What book would you recommend. I am thinking Teach Your Self Python in 24 Hours is probably the best place to start... -- http://mail.python.org/mailman/listinfo/python-list