[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: Then how about: timedelta() showing offset from UTC, negative values indicating West of UTC ? -- ___ Python tracker <http://bugs.python.org/issue8

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: I'm fine without (). I thought the direction was generally initial-capped, but I may be wrong there. Let's go with "west". -- ___ Python tracker <http://bu

[issue8810] TZ offset description is unclear in docs

2010-06-03 Thread Sean Reifschneider
Sean Reifschneider added the comment: Committed to 2.7 in 81681 and 3.x in 81682. -- keywords: +needs review -patch resolution: -> accepted stage: -> committed/rejected status: open -> closed type: -> feature request ___ Python tr

[issue28965] Multiprocessing spawn/forkserver fails to pass Queues

2016-12-13 Thread Sean Murphy
New submission from Sean Murphy: Python fails to pass a Queue when calling Process with multiprocessing.set_start_method set to "spawn" or "forkserver". Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.5/multiprocessing

[issue14483] inspect.getsource fails to read a file of only comments

2016-12-23 Thread Sean Grider
Sean Grider added the comment: I had forgotten all about this bug until I saw an email from Pam today. The appears to still be some delay. -- ___ Python tracker <http://bugs.python.org/issue14

[issue27159] Python 3.5.1's websocket's lib crashes in event that internet connection stops.

2016-05-30 Thread Sean Hunt
New submission from Sean Hunt: I know that websockets has a issue with when a internet connection is dropped and prints a bad traceback. However I have to manually recreate it when the exception happens which is a pain as when it does it crashes aiohttp sessions as well. Also I wonder how I

[issue25566] asyncio reference cycles after ConnectionResetError

2016-05-30 Thread Sean Hunt
Sean Hunt added the comment: I am 1 of those people who want to handle the error with reconnect code as it happens when using discord.py when the stupid connection is aborted due to Cloudflare being stupid and them thinking a bot made in python is a DDoS like litterally. So, I know of this

[issue17424] help() should use the class signature

2013-03-14 Thread Sean Reifschneider
New submission from Sean Reifschneider: David Beazley in his tutorial pointed out that you could use a metaclass to create function signatures for the common use case of: class foo: def __init__(self, name, value, high, low): self.name = name self.value = value [...] The

[issue17053] pydoc should use inspect.signature instead of inspect.getfullargspec

2013-03-18 Thread Sean Reifschneider
Sean Reifschneider added the comment: This may be related to: http://bugs.python.org/issue17424 Perhaps there is a common fix that can address this for both? -- nosy: +jafo ___ Python tracker <http://bugs.python.org/issue17

[issue17424] help() should use the class signature

2013-03-18 Thread Sean Reifschneider
Sean Reifschneider added the comment: This might be a duplicate of issue17053, but the patch provided there doesn't resolve the issue, at least as far as I know it. Here is an example, from David Beazley's talk at PyCon 2013: from inspect import Parameter, Signature def make_signa

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2013-03-18 Thread Sean Reifschneider
Sean Reifschneider added the comment: I've tried to test this but v4 doesn't apply cleanly after pure2 is applied, and v4 doesn't include enough to test it (applying v4 only causes test failures). I reviewed v4 and it looks fine in general. I do see that there are changes in

[issue16754] Incorrect shared library extension on linux

2013-03-20 Thread Sean Reifschneider
Sean Reifschneider added the comment: Toshio and Matthias: This approach seems sane to me, Nick asked me to review this ticket. I'm not coming up with any objections. +1 for retiring SO at some point after 3.2, and EXT_SUFFIX and SHLIB_SUFFIX. What documentation needs to be changed?

[issue17553] python setup.py bdist_rpm is broken

2013-03-26 Thread Sean Carolan
New submission from Sean Carolan: I'm attempting to build a Python 2.7.3 RPM but the build command from the documentation fails. My platform is RHEL 5.9, x86_64 http://docs.python.org/2/distutils/builtdist.html#creating-rpm-packages Steps to reproduce: 1. Download latest Python tarba

[issue17553] python setup.py bdist_rpm is broken

2013-03-27 Thread Sean Carolan
Sean Carolan added the comment: Éric Araujo, if that is the case then why does it build what looks like a *.spec file for Python itself? [scarolan@titania:~/Python-2.7.3]$ head -10 ./build/bdist.linux-x86_64/rpm/SPECS/Python.spec %define name Python %define version 2.7.3 %define

[issue17553] python setup.py bdist_rpm is broken

2013-03-27 Thread Sean Carolan
Sean Carolan added the comment: Ok, thanks for clearing that up. Maybe the documentation could be updated to explicitly state this to avoid confusion, eg: "NOTE: You cannot use setup.py to build a Python RPM. It is only for building Python mo

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-02 Thread Sean Wolfe
Sean Wolfe added the comment: fwiw, I like the configuration option. I tend to set idle to editor only, but the configuration option is useful to me. -- nosy: +seanfelipewolfe ___ Python tracker <http://bugs.python.org/issue17

[issue6839] zipfile can't extract file

2015-06-18 Thread Sean Goodwin
Changes by Sean Goodwin : -- nosy: +Sean Goodwin ___ Python tracker <http://bugs.python.org/issue6839> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25239] HTMLParser handle_starttag replaces entity references in attribute value even without semicolon

2015-09-26 Thread Sean Liu
New submission from Sean Liu: In the document of HTMLParser.handle_starttag, it states "All entity references from html.entities are replaced in the attribute values." However it will replace the string if it matches ampersand followed by the entity name without the semicolon. F

[issue25534] SimpleHTTPServer throwed an exception due to negtive st_mtime attr in file

2015-11-02 Thread Sean Wang
New submission from Sean Wang: I transfered a file from remote Debian host to my local Windows 10 host using SecureFX. I found that the file's last modifed date was ‎1900‎/‎1‎/1‎,‏‎0:00:00 on Windows. I tried to serve this file to be downloaded, and it crashed as follows: Exception hap

[issue25534] SimpleHTTPServer throwed an exception due to negtive st_mtime attr in file

2015-11-02 Thread Sean Wang
Sean Wang added the comment: upload a sample test file -- Added file: http://bugs.python.org/file40929/test ___ Python tracker <http://bugs.python.org/issue25

[issue2931] optparse: various problems with unicode and gettext

2016-01-21 Thread Sean Wang
Sean Wang added the comment: This bug still exists in Python 2.7.10 with optparse version 1.5.3. When the default_value is not ASCII encoded, it would raise `UnicodeEncodeError: 'ascii' codec can't encode characters` this error is due to the `str` usage in `expand_default` m

[issue2931] optparse: various problems with unicode and gettext

2016-01-21 Thread Sean Wang
Sean Wang added the comment: Sorry, missed one condition: I used `unicode_literals` in Python 2.7.10, example below: >>> from __future__ import unicode_literals >>> str('api名称') Traceback (most recent call last): File "", line 1, in UnicodeEncodeError:

[issue2931] optparse: various problems with unicode and gettext

2016-01-21 Thread Sean Wang
Sean Wang added the comment: when an unicode option.default_value could not be ascii encoded, it would throw exception, detailed logs below: File "/Users/seanwang/Documents/dev/foo/bar.py", line 119, in main parser.print_help() File "/usr/local/Cellar/python/2.7.

[issue26000] Crash in Tokenizer - Heap-use-after-free

2016-02-20 Thread Sean Gillespie
Sean Gillespie added the comment: Is anyone currently working on this? If not, I'd like to try and fix this. I've debugged this a little and think I have an idea of what's going on. -- nosy: +swgillespie ___ Python tracker <http

[issue26000] Crash in Tokenizer - Heap-use-after-free

2016-02-21 Thread Sean Gillespie
Sean Gillespie added the comment: Went ahead and did it since I had the time - the issue is that when doing a token of lookahead to see whether an 'async' at a top-level begins an 'async def' function or if it is an identifier. A shallow copy of the current token is made

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2015-05-12 Thread Sean Wolfe
Sean Wolfe added the comment: Windows 7 patch test successful: https://bugs.python.org/issue2704 * install python 2.7.8 fresh on W7 * check idle terminal functionality --> should not show terminal changes from 2704: - up arrows move cursor - typing out of focus has no effect - clicking ab

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2015-05-12 Thread Sean Wolfe
Sean Wolfe added the comment: successfully tested on Linux in 2014 Hello folks, FYI I also installed this patch on Lubuntu linux in 2014 on a series of computers at a lab where I mentor. I don't have the documentation for those specific tests, but I did follow the outline above, and i

[issue1477] UnicodeDecodeError that cannot be caught in narrow unicode builds

2007-11-20 Thread Sean B. Palmer
New submission from Sean B. Palmer: The following error is uncatchable: >>> try: ur'\U0010' ... except UnicodeDecodeError: pass ... UnicodeDecodeError: 'rawunicodeescape' codec can't decode byte 0x5c in position 0: \U out of range

[issue2079] UserDict documentation typo

2008-02-12 Thread Gabriel Sean Farrell
New submission from Gabriel Sean Farrell: 2nd paragraph of documentation at http://docs.python.org/lib/module-UserDict.html should read as follows: This module also defines a class... The "also" is out of place. -- components: Documentation messages: 62322 nosy: gsf sever

[issue15914] multiprocessing.SyncManager connection hang

2012-09-10 Thread Sean B. Palmer
New submission from Sean B. Palmer: create.py: import multiprocessing manager = multiprocessing.Manager() namespace = manager.Namespace() print("create.py complete") run.py: import create print("run.py complete") Correct behaviour occurs for create.py: $ python3 create.p

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2009-03-06 Thread Gabriel Sean Farrell
Gabriel Sean Farrell added the comment: Now that BeautifulSoup uses HTMLParser, more people are seeing these errors. See http://groups.google.com/group/beautifulsoup/msg/d5a7540620538d14 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516824 -- nosy: +gsf

<    1   2   3   4   5