Change by Galen Han :
--
nosy: +Galen Han
___
Python tracker
<https://bugs.python.org/issue36054>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Han You :
It says "New in version 3.4." so I put `urllib3>=3.4` in my requirements.txt.
Turned out it is referring to the Python version.
https://docs.python.org/3.7/library/urllib.error.html#urllib.error.HTTPError.headers
--
assignee: docs@pyth
Shen Han added the comment:
Yes, I think so.
--
___
Python tracker
<https://bugs.python.org/issue37248>
___
___
Python-bugs-list mailing list
Unsubscribe:
Shen Han added the comment:
This PR https://github.com/python/cpython/pull/12703 solves this problem. But
haven't been merged.
--
___
Python tracker
<https://bugs.python.org/is
Shen Han added the comment:
The 2to3 tool cannot convert the following code:
1. `func(**{} if a else b)`
2. `func(*[] if a else b)`
I think that problem is rooted the outdated Grammar.txt.
--
___
Python tracker
<https://bugs.python.
Change by Shen Han :
--
components: 2to3 (2.x to 3.x conversion tool)
nosy: Shen Han
priority: normal
severity: normal
status: open
title: support conversion of `func(**{} if a else b)`
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Han added the comment:
Thanks, I didn't notice the Deprecated sign on the Sets page.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.
New submission from Han :
Doc/library/sets.rst said operation s.update(t)'s result is "return set s with
elements added from t".
But update()'s return value is None.
I think change it to "set s with elements added from t" would be better.
So are
Han Shaowen added the comment:
Hohoho, I found the full-version doc. This issue over. Thanks Tim, Ned and
Brett. And sorry about something improper I said, I respect female Pythonista.
--
___
Python tracker
<https://bugs.python.org/issue33
Han Shaowen added the comment:
Guys, what I said is the doc in help(datetime.timestamp) is 'Return POSIX
timestamp as float.' So I assumed it is irrelevant to time zone, considering
POSIX timestamp's definition. If it is then datetime.now and datetime.utcnow
should return the
New submission from Han Shaowen :
What I am talking is like:
Python 3.6.0 (default, Feb 28 2018, 15:41:04)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Changes by Han Lee :
--
title: Travis CI mac test broken: -> Travis CI mac test broken: ./python: is a
directory
___
Python tracker
<http://bugs.python.org/issu
New submission from Han Lee:
CPython: master branch
In mac and window create python.exe not python
https://github.com/python/cpython/blob/master/Makefile.pre.in#L154
But Travis CI and docs use ./python command for test
https://docs.python.org/devguide/
https://travis-ci.org/python/cpython
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
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
Changes by Han Choongwoo :
--
nosy: +tunz
___
Python tracker
<http://bugs.python.org/issue23388>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
<http://bugs.python.org/issue1
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
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
<http://bugs.python.
Han-Wen Nienhuys added the comment:
yeah, whatever.
(only 7 years to close an issue. Yay for open-source.)
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue1
Roy Hyunjin Han 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.
--
Ji Han added the comment:
@amaury.forgeotdarc
It says 'python.exe has stopped working'. Details:
Problem Event Name: APPCRASH
Application Name: python.exe
Application Version: 0.0.0.0
Application Timestamp:4df4b010
Fault Module Name:MSVCR90.dll
Fa
New submission from Ji Han :
The following code snippet will crash IDLE:
>>> import sys
>>> sys.setrecursionlimit((1<<31)-1)
The crash happens immediately and is consistently reproducible (environment:
Windows 7 SP1 64-bit, Python 2.7.2 for Windows X86_64).
---
Roy Hyunjin Han added the comment:
2010/11/30 R. David Murray :
> 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 the invalid headers.
On searching for me
Roy Hyunjin Han 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?QVRJT05TIG9mIFZQIGZvciBNZW1iZXJz?==?UTF-8?B?aGlw?=
Roy Hyunjin Han 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 | re.MULTI
Roy Hyunjin Han 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 email.header.decode_he
New submission from Roy H. Han :
email.header.decode_header fails for the following message subject:
::
email.header.decode_header('=?UTF-8?B?MjAxMSBBVVRNIENBTEwgZm9yIE5PTUlO?==?UTF-8?B?QVRJT05TIG9mIFZQIGZvciBNZW1iZXJz?==?UTF-8?B?aGlw?=')
If the directives are removed and t
Alex Shih-Han Lin added the comment:
yes, I have already installed VS 2008 (but it is Express Edition for VC,
VB ,C#...I have no money to buy standard edition.)
--
___
Python tracker
<http://bugs.python.org/issue6
New submission from Alex Shih-Han Lin :
OS is Windows 7 x64, python using 2.6.2 amd64, SDK installed, but when I
build some module by setup.py, it always traceback ValueError.
running build
running build_py
running build_ext
building 'genshi._speedups' extension
Traceback (most recent
New submission from Wentao Han :
On Windows, if you extract all files from a zip file which containing
subdirectories by zipfile.ZipFile's extractall method, a WindowsError will
be raised.
--
components: Library (Lib)
messages: 88400
nosy: aerodonkey
severity: normal
status:
New submission from Wentao Han :
The invocation of socket.getfqdn to get FQDN of the host may delay for
several seconds on some platforms when no appropriate host name is found.
This causes lag when using SimpleXMLRPCServer and other class derived from
BaseHTTPServer for every request
Roy H. Han added the comment:
Using a different format, it seems the message involves cryptographic
keys signed by Lotus Notes?
>>> server.fetch(407, '(BODY.PEEK[HEADER] FLAGS)')
To: pers...@place.com
Subject: subject
Message-ID:
Date: Tue, 28 Oct 2008 17:53:22 -0400
Fro
Roy H. Han added the comment:
I'm also getting the same error retrieving a message through IMAP from a
Lotus Notes server.
Traceback (most recent call last):
File "mail.py", line 152, in
if 'setup' == argument: setup()
File "mail.py", lin
Han-Wen Nienhuys <[EMAIL PROTECTED]> added the comment:
@Luke
the compiling strategy for Python (IIRC) is to compile everything,
including modules that will never work, and use compiler errors as a
signal to not include a module in the result.
this is what I end up with for 2.4
./u
Han-Wen Nienhuys <[EMAIL PROTECTED]> added the comment:
I'm still interested in this, but the last time I did anything, I jumped
through all the hoops (see conversation here), and not a single change
was put into trunk. I'm not very enthousiastic about spending a lot ti
New submission from Luyang Han <[EMAIL PROTECTED]>:
when use xml.dom.pulldom module to parse a large xml file, if all the
information is saved in one xml file, the module can handle it in the
following way without construction the whole DOM:
events = xml.dom.pulldom.parse('fil
37 matches
Mail list logo