[issue45131] `venv` → `ensurepip` may read local `setup.cfg` and fail mysteriously

2021-09-07 Thread Sean Kelly
New submission from Sean Kelly : Creating a new virtual environment with the `venv` module reads any local `setup.cfg` file that may be found; if such a file has garbage, the `venv` fails with a mysterious message. Reproduce: ``` $ date -u Tue Sep 7 18:12:27 UTC 2021 $ mkdir /tmp/demo $ cd

[issue42543] case sensitivity in open() arguments

2020-12-02 Thread Sean Grogan
New submission from Sean Grogan : I was stuck on a problem today using an open statement where I was trying to open a file for writing e.g. with open("RESULTS.CSV", "W") as csvfile: csvwriter = csv.writer(csvfile) csvwrit

[issue41723] doc: issue in a sentence in py_compile

2020-09-04 Thread Sean Chao
New submission from Sean Chao : I think in https://docs.python.org/3.10/library/py_compile.html#py_compile.compile the sentence: > If dfile is specified, it is used as the name of the source file in error > messages when instead of file. should not have the 'when'. -

[issue39000] Range causing unstable output(Windows64)

2019-12-08 Thread Sean Moss
New submission from Sean Moss : I was doing this year's Advent of Code and found that the following program produces unstable output when run using the given file as input: """ from itertools import permutations import gc def runProgram(amp_input, program, counter): w

[issue38050] open('file.txt') path not found

2019-09-07 Thread Sean Frazier
Sean Frazier added the comment: If you are running a program and an the program crashes, then doesn't work properly afterward, what would you call that? -- ___ Python tracker <https://bugs.python.org/is

[issue38050] open('file.txt') path not found

2019-09-07 Thread Sean Frazier
New submission from Sean Frazier : I am running a problem in 'Think Python' and was having no issues with: fin = open('words.txt') Then when I was working with the reference file, running a function, my IDLE crashed and is no longer able to locate files using [var =

[issue38040] Typo: "Writeable" Should be "Writable" in IO Library Documentation

2019-09-05 Thread Sean Happenny
Sean Happenny added the comment: It is a minor issue and I understand that there are many, much more important fixes and features the whole Python dev team is working on. But reading the documentation for these classes indicates that these classes may have a "writeable" member.

[issue38040] Typo: "Writeable" Should be "Writable" in IO Library Documentation

2019-09-05 Thread Sean Happenny
New submission from Sean Happenny : Problem: There are 4 instances of the typo "writeable" in the documentation for the IO library affecting, at least, versions 3.7, 3.8, 3.9, and the latest master of the documentation (https://docs.python.org/[3.7,3.8,3.9]/library/io.html

[issue37932] ConfigParser.items(section) with allow_no_value returns empty strings

2019-08-23 Thread Sean Robertson
New submission from Sean Robertson : Hello and thanks for reading. I've also experienced this in Python 3.7, and I believe it to be around since 3.2. The allow_no_value option of ConfigParser allows None values when (de)serializing configuration files. Yet calling the "ite

[issue37678] Incorrect behaviour for user@password URI pattern in urlparse

2019-07-25 Thread Sean Wang
New submission from Sean Wang : When an IPV4 URL with 'username:password' in it, and the password contains special characters like #[]?, urlparse would act as unexcepted. example: urlparse('http://user:pass#?[w...@example.com:80/path') -- components: Library (L

[issue34837] Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals

2018-09-28 Thread Sean Harrington
Change by Sean Harrington : -- title: Multiprocessing.pool API Extension - Non-Global Initialization of Workers -> Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals ___ Python tracker <https://bugs.python.org/issu

[issue34837] Multiprocessing.pool API Extension - Non-Global Initialization of Workers

2018-09-28 Thread Sean Harrington
Change by Sean Harrington : -- keywords: +patch pull_requests: +9025 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34837> ___ ___ Py

[issue34837] Multiprocessing.pool API Extension - Non-Global Initialization of Workers

2018-09-28 Thread Sean Harrington
Change by Sean Harrington : -- components: Library (Lib) nosy: seanharr11 priority: normal severity: normal status: open title: Multiprocessing.pool API Extension - Non-Global Initialization of Workers type: enhancement versions: Python 3.6, Python 3.7, Python 3.8

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread Sean McCully
Sean McCully added the comment: ok,  is this a valid fix then? On Saturday, May 20, 2017 1:34 AM, STINNER Victor wrote: STINNER Victor added the comment: > In fact, it seems like I introduced a regression in bpo-6393, commit > 94a3694c3dda97e3bcb51264bf47d948c5424d84. I back

[issue30409] locale.getpreferredencoding doesn't return result

2017-05-19 Thread Sean McCully
New submission from Sean McCully: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py"

[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

[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

[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

[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

[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

[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

[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.

[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: 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

[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

[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

[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

[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:

[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

[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

[issue22494] default logging time string is not localized

2014-09-25 Thread Sean Dague
New submission from Sean Dague: The default time string is not localized for using locale specific formatting, but is instead hardcoded to a ','. https://hg.python.org/cpython/file/c87e00a6258d/Lib/logging/__init__.py#l483 demonstrates this. Instead I think we should set that to

[issue22024] Add to shutil the ability to wait until files are definitely deleted

2014-08-21 Thread Sean McCully
Sean McCully added the comment: Is this closer to what Zachary.Ware suggested, patch implements a wait_until_deleted method in C Api using inotify for Linux/FreeBSD. -- nosy: +seanmccully Added file: http://bugs.python.org/file36433/issue22024.patch

[issue22171] stack smash when using ctypes/libffi to access union

2014-08-12 Thread Sean McCully
Sean McCully added the comment: For what it is worth, I was not able to reproduce, on the current Python 2.7.8 branch and Mac OS X. ./python2 Python 2.7.8+ (2.7:ba90bd01c5f1, Aug 12 2014, 12:21:58) gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with

[issue22138] patch.object doesn't restore function defaults

2014-08-10 Thread Sean McCully
Sean McCully added the comment: So the changes submitted, take into the attributes that are part of the standard Python Data Model/Descriptors and defined as editable per documentation. https://docs.python.org/3/reference/datamodel.html The thought is if a user is needing to support outside

[issue1011113] Make “install” find the build_base directory

2014-08-10 Thread Sean McCully
Sean McCully added the comment: Attaching Python 2.7 patch. -- Added file: http://bugs.python.org/file36338/issue103-py27.patch ___ Python tracker <http://bugs.python.org/issue1011

[issue1011113] Make “install” find the build_base directory

2014-08-10 Thread Sean McCully
Sean McCully added the comment: Attachng Python 3.5/default branch patch. -- Added file: http://bugs.python.org/file36337/issue103-default.patch ___ Python tracker <http://bugs.python.org/issue1011

[issue1011113] Make “install” find the build_base directory

2014-08-10 Thread Sean McCully
Sean McCully added the comment: Please advise any changes that need to be made, this is technically my second patch submission to cpython. I also had trouble running the unittests when backporting to 2.7. Look at distutils, there wasn't a clear method for linking commands to share c

[issue22138] patch.object doesn't restore function defaults

2014-08-06 Thread Sean McCully
Sean McCully added the comment: Is special casing the special attrs a permament enough solution? -- keywords: +patch nosy: +seanmccully Added file: http://bugs.python.org/file36286/issue22138.patch ___ Python tracker <http://bugs.python.

[issue20986] test_startup_imports fails in test_site when executed inside venv

2014-03-19 Thread Sean McGrail
Changes by Sean McGrail : -- title: test_startup_imports fails in test_site while executed inside venv -> test_startup_imports fails in test_site when executed inside venv ___ Python tracker <http://bugs.python.org/issu

[issue20986] test_startup_imports fails in test_site while executed inside venv

2014-03-19 Thread Sean McGrail
New submission from Sean McGrail: test_startup_imports fails in test_site when executed from within a virtual environment (venv). Test passes when not executed within a venv. $ python -m test test_site [1/1] test_site test test_site failed -- Traceback (most recent call last): File

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-03-14 Thread Sean Rodman
Sean Rodman added the comment: Is there anything else I can do for this? -- ___ Python tracker <http://bugs.python.org/issue16484> ___ ___ Python-bugs-list mailin

[issue19614] support.temp_cwd should use support.rmtree

2014-03-12 Thread Sean Rodman
Sean Rodman added the comment: Thank you for reviewing it. -- ___ Python tracker <http://bugs.python.org/issue19614> ___ ___ Python-bugs-list mailing list Unsub

[issue694339] IDLE: Dedenting with Shift+Tab

2014-03-07 Thread Sean Wolfe
Sean Wolfe added the comment: I did a couple tests and the shift-tab and tab work pretty much as expected. There's a small quirk for a single-line edit: * place cursor on beginning of line * tab forward --> the text indents as expected * shift-tab --> the entire line is highligh

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

2014-03-05 Thread Sean Wolfe
Sean Wolfe added the comment: installation steps for me: * apply PyShell.py patch (I had to do some bits manually) * add Terminal.py to idlelib directory * add changes to config-extensions.def as detailed in Terminal.py comments This was in the osx 10.9 system python directories, so there was

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

2014-03-05 Thread Sean Wolfe
Sean Wolfe added the comment: I just tried this out on osx 10.9.0 and python 2.7.5 : * cursor persisting on the input line works * up/down history works This is much better! A big irritation gone for me and makes things much easier for beginners IMO -- one less thing to get surprised by

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Changes by Sean Rodman : Added file: http://bugs.python.org/file34238/issue16484_python3.3.patch ___ Python tracker <http://bugs.python.org/issue16484> ___ ___ Python-bug

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Sean Rodman added the comment: Here are the python3.2 and python3.3 patches. Please let me know if there is anything I need to change on these. -- Added file: http://bugs.python.org/file34237/issue16484_python3.2.patch ___ Python tracker <h

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Sean Rodman added the comment: Sorry guys, I missed a place I needed to add the lower() fuction to the module.__name__. Here is a fixed patch for python2.7. -- Added file: http://bugs.python.org/file34236/issue16484_python2.7.patch ___ Python

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34233/issue16484.patch ___ Python tracker <http://bugs.python.org/issue16484> ___ ___ Python-bugs-list m

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34234/issue16484_python3.2.patch ___ Python tracker <http://bugs.python.org/issue16484> ___ ___ Pytho

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Sean Rodman added the comment: Here is the patch for python 3.2. It implements the same fix that the 2.7 patch does. -- Added file: http://bugs.python.org/file34234/issue16484_python3.2.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Sean Rodman added the comment: Note: It doesn't change the actual module name. Just how it is represented in the link. -- ___ Python tracker <http://bugs.python.org/is

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-26 Thread Sean Rodman
Sean Rodman added the comment: Here is a working patch for python 2.7. all it does is lowercase the module name, but once I did that and clicked the link it worked correctly. -- keywords: +patch Added file: http://bugs.python.org/file34233/issue16484.patch

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-24 Thread Sean Rodman
Sean Rodman added the comment: To display my ignorance, I have run the pydoc command listed in the original message but I can't actually see where it lists the url. Or even where it has a link. -- ___ Python tracker <http://bugs.py

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-02-24 Thread Sean Rodman
Sean Rodman added the comment: I could try to create the patch for pydoc if you would like for me to. -- nosy: +sean.rodman ___ Python tracker <http://bugs.python.org/issue16

[issue19614] support.temp_cwd should use support.rmtree

2014-02-24 Thread Sean Rodman
Sean Rodman added the comment: I don't see where temp_cwd uses shutil.rmtree, but I do see where temp_dir uses shutil.rmtree. Here is a patch to change that to support.rmtree. If I am way off base on this patch please let me know and I will change it to fix whatever needs to be fixed. I

[issue19614] support.temp_cwd should use support.rmtree

2014-02-24 Thread Sean Rodman
Sean Rodman added the comment: Hey r.david.murray, so should this change be made in the test? -- nosy: +sean.rodman ___ Python tracker <http://bugs.python.org/issue19

[issue20146] UserDict module docs link is obsolete

2014-02-24 Thread Sean Rodman
Sean Rodman added the comment: Hey drunax, I would like to create a patch for this and upload, but I don't see the link you are talking about. Is it in the documentation or is it in the file UserDict.py? -- nosy: +sean.rodman ___ Python tr

[issue20628] Improve doc for csv.DictReader 'fieldnames' parameter

2014-02-24 Thread Sean Rodman
Sean Rodman added the comment: Is there anything else that should be added to this patch? I don't mean to bug you guys just want to make sure that everything is right with it so that if and or when it is applied it will apply without any problems. Also, if there is anything else I s

[issue20628] csv.DictReader

2014-02-20 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34141/DictReader_DictWriter_python2_NewWording.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20628] csv.DictReader

2014-02-20 Thread Sean Rodman
Sean Rodman added the comment: Great! Thank you for the reference name. I have changed the patch to use a ref link. Here is the new patch. -- Added file: http://bugs.python.org/file34155/DictReader_DictWriter_python2_ref.patch ___ Python tracker

[issue20628] csv.DictReader

2014-02-20 Thread Sean Rodman
Sean Rodman added the comment: I just realized that my two last updates on this ticket could be sort of confusing. So here is what I did for the 2.7 patch. First I copied the wording that I used for the 3.3/4 patch and then I created a relative link using the syntax `sequence `_ because I

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: That is supposed to say I couldn't find the subsection that I needed to reference in the documentation. -- ___ Python tracker <http://bugs.python.org/is

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: Here is the equivalent 2.7 patch. I used a relative link with the format `sequence `_ in order to link to the collections page. I tried to use the reference syntax but I could find the subsection that I needed to reference in the documentation. If you would like

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34136/DictReader_DictWriter_python3.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: What about if I put "The *fieldnames* parameter is a :mod:`sequence ` whose elements are associated with the fields of the input data in order. These elements become the keys of the resulting dictionary." It contains all of the information that you h

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: Ok, I have take the approach I used with the original patch and applied it to this one, listing that fieldnames is a sequence. Then, I added a link to the collections abstract on that instance of the word sequence. I did this for both DictReader and DictWriter

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34135/DictReader_python3.patch ___ Python tracker <http://bugs.python.org/issue20628> ___ ___ Python-bug

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34109/DictReader_DictWriter_2.patch ___ Python tracker <http://bugs.python.org/issue20628> ___ ___ Pytho

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: Here is a patch for DictReader that adds a mod link to the sequence abstract as requested. Please review this if you could and let me know what you think. Note: This patch is for python 3 and if you like how I have done it on here I will go ahead and create a

[issue20628] csv.DictReader

2014-02-16 Thread Sean Rodman
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34084/DictReader_DictWriter.patch ___ Python tracker <http://bugs.python.org/issue20628> ___ ___ Pytho

[issue20628] csv.DictReader

2014-02-16 Thread Sean Rodman
Sean Rodman added the comment: It looks like you are right. I have updated the patch to reflect that it could be a list or a tuple. -- Added file: http://bugs.python.org/file34109/DictReader_DictWriter_2.patch ___ Python tracker <h

[issue20628] csv.DictReader

2014-02-14 Thread Sean Rodman
Sean Rodman added the comment: I have created a patch for this documentation issue. Could you please review this for me and tell me what you think? -- keywords: +patch Added file: http://bugs.python.org/file34084/DictReader_DictWriter.patch

[issue20628] csv.DictReader

2014-02-14 Thread Sean Rodman
Sean Rodman added the comment: I am new to contributing to python, and I would like to take a shot a creating a patch for this. -- nosy: +sean.rodman ___ Python tracker <http://bugs.python.org/issue20

[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

[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

[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-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

[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?

[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

[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

[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-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

[issue16963] module html.parser HTMLParser's strict mode don't work

2013-01-14 Thread sean
sean added the comment: SAME AS #issue13273 http://bugs.python.org/issue13273 -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue16963] module html.parser HTMLParser's strict mode don't work

2013-01-14 Thread sean
New submission from sean: NOTE: SAME AS Python 3.2.2, Python 3.3 from python.org/download Python 3.2.2 Stackless 3.1b3 060516 (default, Feb 20 2012, 13:36:12) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more informatio

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2012-12-08 Thread Sean Ochoa
Changes by Sean Ochoa : -- nosy: +Sean.Ochoa ___ Python tracker <http://bugs.python.org/issue7330> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13349] Non-informative error message in index() and remove() functions

2012-12-08 Thread Sean Ochoa
Sean Ochoa added the comment: * Fixed issue with test name in Lib/test/test_tuple.py * Fixed issue with test_remove in Lib/test/test_list.py to assertNotIn instead of assertIn for positive case. Confirmed with Ezio that issue #7330 will need to be fixed/approved before this issue can be

[issue13349] Non-informative error message in index() and remove() functions

2012-12-08 Thread Sean Ochoa
Sean Ochoa added the comment: Update based on Taggnostr's (Ezio on IRC, if I recall correctly) feedback from 11/12/2012 around 11:57 PST. * Added check for index result in positive tests. * Added assertIn check for remove result in positive tests. * Removed extra whitespace. * Form

[issue13349] Non-informative error message in index() and remove() functions

2012-11-12 Thread Sean Ochoa
Sean Ochoa added the comment: Lib/test/test_array.py -- Moved index test (for this issue) to test_index (existing test method). -- Added remove test (for this issue) to test_remove (existing test method) Lib/test/test_deque.py -- Moved remove test (for this issue) to test_index (existing

[issue13349] Non-informative error message in index() and remove() functions

2012-11-10 Thread Sean Ochoa
Sean Ochoa added the comment: Updates after feedback from Serhiy. -- Added file: http://bugs.python.org/file27949/issue13349.patch.3 ___ Python tracker <http://bugs.python.org/issue13

[issue13349] Non-informative error message in index() and remove() functions

2012-11-09 Thread Sean Ochoa
Sean Ochoa added the comment: Updated patch after taking into account Ezio's (aka Taggnostr on #python-dev) latest feedback. -- Added file: http://bugs.python.org/file27940/issue13349.patch.2 ___ Python tracker <http://bugs.python.org/is

[issue13349] Non-informative error message in index() and remove() functions

2012-11-09 Thread Sean Ochoa
Sean Ochoa added the comment: Truncating repr strings to 100chars will require the patch from #7330. After applying the patch from that issue, my tests work fine. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13349] Non-informative error message in index() and remove() functions

2012-11-07 Thread Sean Ochoa
Sean Ochoa added the comment: >From Taggnostr on #python-dev: 1.) Use assertRaises+assertIn instead of assertRaisesRegex 2.) Add or change an existing test that you've already updated to use elements with a repr longer than 1

[issue13349] Non-informative error message in index() and remove() functions

2012-11-05 Thread Sean Ochoa
Sean Ochoa added the comment: Tests updated for coverage and to use assertRaisesRegex. -- Added file: http://bugs.python.org/file27907/issue13349.patch.1 ___ Python tracker <http://bugs.python.org/issue13

[issue13349] Non-informative error message in index() and remove() functions

2012-11-04 Thread Sean Ochoa
Sean Ochoa added the comment: Ready for review. -- keywords: +patch Added file: http://bugs.python.org/file27884/issue-13349.patch ___ Python tracker <http://bugs.python.org/issue13

[issue13349] Non-informative error message in index() and remove() functions

2012-11-03 Thread Sean Ochoa
Sean Ochoa added the comment: After discussing with folks on the #python-dev tonight, I learned that I was testing with a list and I should've been using a set. I'm working on a patch now, and I'm almost ready to have it reviewed. -- ___

[issue13349] Non-informative error message in index() and remove() functions

2012-11-03 Thread Sean Ochoa
Sean Ochoa added the comment: It seems that this has been fixed. Using simple tests from msg147215: ~/hg/cpython/working $ env-py3.3/bin/python Python 3.3.0 (default, Nov 3 2012, 15:28:29) [GCC 4.7.2] on linux Type "help", "copyright", "credits" or

[issue13349] Non-informative error message in index() and remove() functions

2012-11-03 Thread Sean Ochoa
Sean Ochoa added the comment: Working on issue as part of Python Bug Day, Oct 2012. -- nosy: +Sean.Ochoa ___ Python tracker <http://bugs.python.org/issue13

[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

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

2012-04-03 Thread Sean Grider
New submission from Sean Grider : I have a custom parser that generates html files to describe what python scripts do depending on their source comments. I use inspect.getsourcelines to parse out different comments styles (I use #@, #@@ and #$ to signal custom comments) I recently found that

  1   2   3   4   5   >