[Python-announce] CrossCompute Analytics Automation Framework 0.9.2.3

2022-04-21 Thread Roy Hyunjin Han
Turn your Jupyter notebook, Python script, Julia script, R script or Bash script into a web-based tool or runnable report by writing a configuration file. We are happy to announce the latest release of our CrossCompute Analytics Automation Framework. - crosscompute 0.9.2.3 is our development

[issue24070] Exceptions and arguments disappear when using argparse inside with statement

2015-05-06 Thread Roy Hyunjin Han
Roy Hyunjin Han added the comment: The behavior may not be surprising from a technical perspective, but it is unintuitive. I think exceptions inside a with statement should trigger a traceback, unless you are saying that it is the responsibility of the author to catch and raise the exception

[issue24070] Exceptions and arguments disappear when using argparse inside with statement

2015-04-28 Thread Roy Hyunjin Han
New submission from Roy Hyunjin Han: Exceptions and arguments disappear when using argparse inside a with statement. The behavior was confusing and frustrating because I could not pinpoint why certain arguments were missing or unrecognized. Unhandled exceptions inside the with statement

[issue1598] unexpected response in imaplib

2014-07-18 Thread Roy Hyunjin Han
Roy Hyunjin Han added the comment: Hi Lita, I no longer have access to a Domino server. I'm not sure whether there are enough users trying to access Domino with imaplib for this to warrant investigation. RHH -- ___ Python tracker rep

[issue1598] unexpected response in imaplib

2014-07-18 Thread Roy Hyunjin Han
Roy Hyunjin Han added the comment: Yes, I think closing this issue is reasonable. If the error reappears, we can just reopen it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1598

[issue1598] unexpected response in imaplib

2014-07-17 Thread Roy Hyunjin Han
Roy Hyunjin Han added the comment: Is imaplib choking on the IBM-specific X-MIMETrack header? Is Lotus Notes properly formatting the multi-line headers? Can RFC822 headers contain the PIPE | symbol? -- ___ Python tracker rep...@bugs.python.org

[issue10574] email.header.decode_header fails if the string contains multiple directives

2012-07-04 Thread Roy Hyunjin Han
Roy Hyunjin Han starsareblueandfara...@gmail.com added the comment: This is fixed by the fix to issue 1079, but we have decided that fix can't be backported because it is a behavior change that might break existing working programs. Thanks for this update

[issue10574] email.header.decode_header fails if the string contains multiple directives

2011-01-22 Thread Roy Hyunjin Han
Roy Hyunjin Han starsareblueandfara...@gmail.com added the comment: 2010/11/30 R. David Murray rep...@bugs.python.org: Out of curiosity, which email program is it that is producing these invalid headers? I lost the headers for the original email, so I don't know which email program created

[issue10574] email.header.decode_header fails if the string contains multiple directives

2010-11-28 Thread Roy Hyunjin Han
Roy Hyunjin Han starsareblueandfara...@gmail.com added the comment: Currently using the following workaround. import re import email.header def decodeSafely(x): match = re.search('(=\?.*?\?B\?)', x) if not match: return x encoding = match.group(1) return

[issue10574] email.header.decode_header fails if the string contains multiple directives

2010-11-28 Thread Roy Hyunjin Han
Roy Hyunjin Han starsareblueandfara...@gmail.com added the comment: Improved workaround to handle another degenerate case where the encoded string is in between non-encoded strings. import re import email.header pattern_ecre = re.compile(r'((=\?.*?\?[qb]\?).*\?=)', re.VERBOSE | re.IGNORECASE

[issue10574] email.header.decode_header fails if the string contains multiple directives

2010-11-28 Thread Roy Hyunjin Han
Roy Hyunjin Han starsareblueandfara...@gmail.com added the comment: The following code seems to solve the first case just as well. It seems that it is a problem of missing whitespace. email.header.decode_header('=?UTF-8?B?MjAxMSBBVVRNIENBTEwgZm9yIE5PTUlO?==?UTF-8?B

Re: Problem with multiprocessing

2009-09-02 Thread Roy Hyunjin Han
On 09/02/2009 04:51 AM, Peter Otten wrote: tleeuwenb...@gmail.com wrote: I have a problem using multiprocessing in a simple way. I created a file, testmp.py, with the following contents: --- import multiprocessing as mp p = mp.Pool(5) def

Python documentation servers

2009-08-10 Thread Roy Hyunjin Han
Are there issues with the python documentation servers? http://docs.python.org/ The site has been really slow to respond all weekend. -- http://mail.python.org/mailman/listinfo/python-list

Re: confused with subprocess.Popen

2009-05-12 Thread Roy Hyunjin Han
There's a great article by Doug Hellmann on subprocess. http://www.doughellmann.com/PyMOTW/subprocess/ On Sun, May 10, 2009 at 1:37 AM, Soumen banerjee soume...@gmail.com wrote: Thanks!, i have found that alternately setting shell=True also works --

Re: Man Bites Python

2009-04-16 Thread Roy Hyunjin Han
Hahaha! On Thu, Apr 16, 2009 at 10:27 AM, Aahz a...@pythoncraft.com wrote: http://news.yahoo.com/s/nm/20090415/od_nm/us_python_odd_1/print -- Aahz (a...@pythoncraft.com)           *         http://www.pythoncraft.com/ Why is this newsgroup different from all other newsgroups? --