[issue2248] quit() method of SMTP instance (of smtplib) doesn't return it's result

2008-03-20 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Kei: The documentation does not say that quit() returns a value, so the current behavior is correct. However, SMTP defines a return value for QUIT, so there is a case for smtplib.quit() returning that value. This patch does

[issue2250] rlcompleter raises Exception on bad input

2008-03-20 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: Is a straightforward patch, but I'd like NAS to comment on the change in behavior. Probably would also need a documentation change, are you up for doing that Lorenz? -- assignee: -> nascheme keywords: +ea

[issue2222] Memory leak in os.rename?

2008-03-20 Thread Sean Reifschneider
Changes by Sean Reifschneider <[EMAIL PROTECTED]>: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue> __ ___ Python-b

[issue4247] Docs: Provide some examples of "pass" use in the tutorial.

2008-11-01 Thread Sean Reifschneider
New submission from Sean Reifschneider <[EMAIL PROTECTED]>: I'm giving a Python tutorial to a bunch of local people and have decided to use the Python.org tutorial to go by. One of the things I found I wanted in the section on the "pass" statement was more information a

[issue4247] Docs: Provide some examples of "pass" use in the tutorial.

2008-11-02 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: I originally had that, but then I realized that if I make it a comment I can then do something like "dw." on that line when I start filling in the code to keep the comment around. Because I find that when I fill i

[issue4247] Docs: Provide some examples of "pass" use in the tutorial.

2008-11-05 Thread Sean Reifschneider
Sean Reifschneider <[EMAIL PROTECTED]> added the comment: I'm attaching a new version here, which addresses the object call type comments. Added file: http://bugs.python.org/file11948/pass-examples-2.patch ___ Python tracker <[EMAIL PRO

[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

[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

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

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

[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

[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

[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

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

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Working on this. -- nosy: +jafo ___ Python tracker <http://bugs.python.org/issue14259> ___ ___ Python-bugs-list mailin

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Attached is a patch which implements this, including updated tests. I would appreciate a review of this patch. -- assignee: -> ezio.melotti keywords: +needs review, patch stage: -> patch review Added file: http://bugs.python.org/fil

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Michele: Do you know what needs to be done to determine the resolution to the _warnings/pgen question? If not, maybe asking the question on python-dev could get some advice. -- nosy: +jafo ___ Python tracker

[issue10037] multiprocessing.pool processes started by worker handler stops working

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: The attached patch does change the semantics somewhat, but I don't fully understand how much. In particular: It changes the "get()" call to be turned into "get(timeout=1.0)" if inqueue doesn't have a _reader attribute. In

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Martin: They are looking for you to review this, in particular see: http://bugs.python.org/issue7511#msg106420 -- assignee: tarek -> loewis nosy: +jafo ___ Python tracker <http://bugs.python.org/iss

[issue8954] wininst regression: errors when building on linux

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Éric: In http://bugs.python.org/issue8954#msg135902 are you saying: This issue needs to be re-targeted to a newer Python. Close -- won't fix. Something else? This issue seems to be stuck here, any ideas on what needs to be done to move this fo

[issue14311] ConfigParser does not parse utf-8 files with BOM bytes

2012-03-14 Thread Sean Wang
New submission from Sean Wang : ConfigParser failed to parse a utf-8 file with BOM bytes('\xef\xbb\xbf'), it would raise ConfigParser.MissingSectionHeaderError. I think that other files with BOM would have the same problem; because the argument "SECTCRE" does not conside

[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

[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

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

[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

[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

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

[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

[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

[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

[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

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

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

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

[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

[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

[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

[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

[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

[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

[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

[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-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-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-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-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
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
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/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: 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
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-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-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
Changes by Sean Rodman : Removed file: http://bugs.python.org/file34141/DictReader_DictWriter_python2_NewWording.patch ___ Python tracker <http://bugs.python.org/issue20

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[issue6624] PyArg_ParseTuple with "s" format and NUL: Bogus TypeError detail string.

2009-08-01 Thread Sean Reifschneider
New submission from Sean Reifschneider : As detailed in the python-dev post: http://mail.python.org/pipermail/python-dev/2009-July/090791.html I have found a bug in the handling of PyArg_ParseTuple where a NUL in an argument causes a message like this: syslog.syslog('hello\0

[issue6624] PyArg_ParseTuple with "s" format and NUL: Bogus TypeError detail string.

2009-08-01 Thread Sean Reifschneider
Sean Reifschneider added the comment: Fixed in python trunk commit 74277. Fixed in py3k trunk commit 74278. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
New submission from Sean Soria : I seem to have a rather unique setup that causes this crash to be 100% reproducible. My application embeds python in order to execute user code. It is constantly loading and unloading the libraries so that they're only in memory during execution of user

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
Sean Soria added the comment: Because Python is not cleaning up after itself. I don't see how a multi-threaded app could work around this issue. The only solution I can think of at the app level is to reset those callbacks once python exits, but a different thread could call an SSL fun

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
Sean Soria added the comment: The issue was debugged on AMD64 Linux, but I was seeing similar crashing on OSX but could not debug because I wasn't getting a proper stack trace (probably because something else was being loaded into that memory space). I have yet to test if not setting

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
Sean Soria added the comment: You've got init_* that Python calls whenever it loads a library, you could just as easily have destroy_*. But that would probably be overkill. How would the application know that Python has created callbacks? This is just one instance. Who knows where else

[issue7672] _ssl module causes segfault

2010-01-11 Thread Sean Soria
Sean Soria added the comment: Okay, what if I attack this problem from a "it's not thread-safe" point of view? If the callbacks are already loaded, then who knows what state the locks are in. If you replace the locking_callback while a thread already has the lock, and another

[issue7672] _ssl module causes segfault

2010-01-11 Thread Sean Soria
Sean Soria added the comment: Yea, I've given up on getting this fixed based on the crash. Now I'm going for it not being thread safe. -- ___ Python tracker <http://bugs.python.

[issue7672] _ssl module causes segfault

2010-01-11 Thread Sean Soria
Sean Soria added the comment: For an app that makes use of SSL itself it better set the callbacks before spawning threads or it's going to be in trouble anyway. For an app not making use of SSL my patch doesn't make the situation any worse. That sounds like an overall

[issue7672] _ssl module causes segfault

2010-01-12 Thread Sean Soria
Sean Soria added the comment: Simply unloading the callbacks wouldn't be wise. Callbacks are necessary for proper thread safety with libcrypto (man pages says random crashing could occur without them). So setting them to NULL could cause random crashing which is even worse than what&#x

[issue7672] _ssl module causes segfault

2010-01-12 Thread Sean Soria
Sean Soria added the comment: You are correct, dlclose is called on libpythonXY.so and all .so modules loaded by it. -- ___ Python tracker <http://bugs.python.org/issue7

[issue5063] python-2.6.spec doesn't build properly

2010-01-15 Thread Sean Reifschneider
Sean Reifschneider added the comment: Committed to release26-maint as 77514. Committed to trunk as 77515. Committed to 3k as 77516. -- resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python track

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: In this case, the docs.python.org link you point to seems to be correct, saying that it returns a timedelta. It is the docstring that says it's minutes east of UTC. I've attached a patch which changes this wording to: timedelta() showing o

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: Alternately, here is a patch that just takes the docs.python.org description. -- Added file: http://bugs.python.org/file17496/python-utcoffsetdoc2.patch ___ Python tracker <http://bugs.python.org/issue8

<    1   2   3   4   5   >