[issue12344] Add **kwargs to get_reinitialized_command

2011-10-14 Thread Thomas Holmes
Thomas Holmes added the comment: It's quite alright. Thanks for finishing it up. I realize I ended up a by out of my depth with regards to packaging's internals and the nuance involved in this fix. Thanks for all the help. -- ___ Pyth

[issue12344] Add **kwargs to get_reinitialized_command

2011-10-12 Thread Thomas Holmes
Thomas Holmes added the comment: Still working with Éric to determine the proper behavior of get_reinitialized_commands. Latest patch is known incorrect but a step closer to our destination. -- ___ Python tracker <http://bugs.python.

[issue12344] Add **kwargs to get_reinitialized_command

2011-10-12 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file23390/1bb1132840e6.diff ___ Python tracker <http://bugs.python.org/issue12344> ___ ___ Python-bugs-list m

[issue12344] Add **kwargs to get_reinitialized_command

2011-10-12 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file23388/7db732ac6796.diff ___ Python tracker <http://bugs.python.org/issue12344> ___ ___ Python-bugs-list m

[issue12344] Add **kwargs to get_reinitialized_command

2011-09-19 Thread Thomas Holmes
Thomas Holmes added the comment: I got a bit distracted and I think had some questions on the review. I will go back over the state of this patch and get some feedback to you tonight or tomorrow evening. -- ___ Python tracker <h

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-12 Thread Thomas Holmes
Thomas Holmes added the comment: I mean that msi is _not_ set as a valid format. I will verify this evening. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-12 Thread Thomas Holmes
Thomas Holmes added the comment: > > It also creates an exe installer, not an MSI. > Why would you think it creates an MSI? bdist_wininst is not bdist_msi. My concern for MSI is that this issue is referencing a change to MSI generation. I never had any expectation for wininst to ge

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22625/115c0c10b3ba.diff ___ Python tracker <http://bugs.python.org/issue12344> ___ ___ Python-bugs-list m

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22624/7c61eba07f3f.diff ___ Python tracker <http://bugs.python.org/issue12344> ___ ___ Python-bug

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22624/7c61eba07f3f.diff ___ Python tracker <http://bugs.python.org/issue12344> ___ ___ Python-bugs-list m

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Thomas Holmes added the comment: I have added a test and made some additional modifications. I had to modify the very simple MyCmd object in test_command_cmd.py so that it would have some user options with default values and support finalization

[issue12537] mailbox's _become_message is very fragile

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +thomas.holmes ___ Python tracker <http://bugs.python.org/issue12537> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Thomas Holmes added the comment: > See also three comments about style on > http://bugs.python.org/review/8668/diff2/2845:3011/7845 I'm not sure I follow? The patch I attached does not violate the style guidelines that you indicate in the comments. The only failing I

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-11 Thread Thomas Holmes
Thomas Holmes added the comment: I was having a separate difficulty with bdist. Apparently -m packaging.run and pysetup3 run don't perform identically, but that isn't relevant for this bug. Regarding bdist, I got bdist_wininst to work but I had to modify the code in place, it did n

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-08 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22615/d863f392c094.diff ___ Python tracker <http://bugs.python.org/issue12344> ___ ___ Python-bugs-list m

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-08 Thread Thomas Holmes
Thomas Holmes added the comment: I have made a patch based on your suggestions made to higery, Éric. I have two questions: 1) In Distributions.get_reinitialized_command should the reinitialization of the subcommands also get passed the kwargs? Unfortunately my understanding of the (sub

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-08 Thread Thomas Holmes
Thomas Holmes added the comment: bdist does not appear to be enabled in 3.3 development branch, is this correct? -- ___ Python tracker <http://bugs.python.org/issue12

[issue12504] packaging: fix uninstall and stop skipping its tests

2011-07-07 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22612/6e15ba060803.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bugs-list m

[issue12504] packaging: fix uninstall and stop skipping its tests

2011-07-07 Thread Thomas Holmes
Thomas Holmes added the comment: I have made the change you suggested, creating a new list and simply amending to minimize the diff. This new patch has been attached. I looked through the rest of database.py and did not see any other generators that appeared to erroneously hold a file handle

[issue12504] packaging: fix uninstall and stop skipping its tests

2011-07-07 Thread Thomas Holmes
Thomas Holmes added the comment: Oh and thank you very much for your input. My apologies for the initial 9 e-mail spam when I created the issue, I bumbled the remote HG repository patch generation :) -- ___ Python tracker <http://bugs.python.

[issue12504] packaging: fix uninstall and stop skipping its tests

2011-07-07 Thread Thomas Holmes
Thomas Holmes added the comment: The output in my initial message is the output of the tests with them enabled but pre database.py patch. Once the patch is applied all packaging tests that run on my system pass. I was 50/50 on whether or not to use the internal function and I just sort of

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22591/dcd66ae649b1-2.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bug

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22590/dcd66ae649b1.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bug

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22590/dcd66ae649b1.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bugs-list m

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22589/dd470b122f32.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bug

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22589/dd470b122f32.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bugs-list m

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22588/f333cd40cd56.diff ___ Python tracker <http://bugs.python.org/issue12504> ___ ___ Python-bug

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : -- keywords: +patch Added file: http://bugs.python.org/file22588/f333cd40cd56.diff ___ Python tracker <http://bugs.python.org/issue12

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
New submission from Thomas Holmes : Functions test_uninstall.test_uninstall and test_uninstall.test_remove_issue were disabled for win32. Upon enabling them they generated failures. I have worked up a patch that refactors a packaging.Distribution function _get_records from using a generator

[issue12504] Uninstall has disabled windows tests

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : -- assignee: tarek components: Distutils2 nosy: alexis, eric.araujo, tarek, thomas.holmes priority: normal severity: normal status: open title: Uninstall has disabled windows tests versions: Python 3.3 ___ Python tracker

[issue5342] packaging: add tests for old versions cleanup on update

2011-07-05 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +thomas.holmes ___ Python tracker <http://bugs.python.org/issue5342> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-03 Thread Thomas Holmes
Thomas Holmes added the comment: I setup a proxy and it seems to be working properly. This is on win7 x64 professional using Python 2.7.1 I didn't using any sniffing software but if I broke the proxy the code broke. When I enabled the proxy it started working again. My proxy log also

[issue828450] sdist generates bad MANIFEST on Windows

2011-06-30 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +thomas.holmes ___ Python tracker <http://bugs.python.org/issue828450> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8501] --dry-run option doesn't work

2011-06-30 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +thomas.holmes ___ Python tracker <http://bugs.python.org/issue8501> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-06-30 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +thomas.holmes ___ Python tracker <http://bugs.python.org/issue12449> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11873] test_regexp() of test_compileall fails occassionally

2011-06-30 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +Thomas.Holmes ___ Python tracker <http://bugs.python.org/issue11873> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-27 Thread Thomas Holmes
Thomas Holmes added the comment: I made a new patch off of the 2.7 trunk version. I think I have handled some of the issues more cleanly. Please see Py(27)7325.diff I addressed the issue of using a relative path in the tempdir to achieve the 'guaranteed' ability to write r

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: One other thing that crossed my mind while I was thinking over this today. Instead of just relative pathing to '.' I should probably change my path to gettempdir() and then relative path to it since the location of the python executable may not b

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: I agree, I do not feel like the precise changes to the tests feel completely ideal. I feel that this problem stems from the fact that the nameCheck function as originally written doesn't seem to completely serve its originally intended purpose. The ori

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-01-26 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: -Thomas.Holmes ___ Python tracker <http://bugs.python.org/issue1752919> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: Please disregard, I commented on the wrong issue. -- ___ Python tracker <http://bugs.python.org/issue1752919> ___ ___ Python-bug

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: I agree, I do not feel like the precise changes to the tests feel completely ideal. I feel that this problem stems from the fact that the nameCheck function as originally written doesn't seem to completely serve its originally intended purpose. The ori

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-25 Thread Thomas Holmes
Thomas Holmes added the comment: As a side note, this was done mostly as an exercise for myself and as a learning experience. Any feedback would be appreciated regardless of any decision on the status of this bug. -- ___ Python tracker <h

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-25 Thread Thomas Holmes
Thomas Holmes added the comment: I have created a patch for this for Python 3.1 and included an update to the unit tests. The tests were never checking for a relative path and if they did would pas it even when it would have failed due to liberal use of os.path.abspath() The test fix is