[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-23 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4661 ___ ___ Python-bugs-list

[issue917120] imaplib: incorrect quoting in commands

2010-08-03 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: I'm attaching a patch which does exactly what dmbaggett recommended w.r.t. the mustquote regex. All current tests pass, but I'm not sure if the current tests even cover this code (how is coverage measured in the stdlib tests?) On a related

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: just updating the patch -- nosy: +meatballhat versions: +Python 3.2, Python 3.3 -Python 2.5, Python 2.6 Added file: http://bugs.python.org/file18290/doctest-support-unicode-file-paths.patch

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: seems to be okay with py3k's unicode StringIO adding test to show as much (although I'm sure the test could be more elegant than what I've done.) -- Added file: http://bugs.python.org/file18291/ensuring-doctest-file-suite-works

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Removed file: http://bugs.python.org/file18290/doctest-support-unicode-file-paths.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1274

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: @haypo - I'm not in favor of using the attached bug_3740_1.patch but instead adding a test to assert that unicode file paths are now handled correctly. I can't remove @bear's original patch myself, though, so ... not sure what to do about

[issue1985] Bug/Patch: Problem with xml/__init__.py when using freeze.py

2010-07-31 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: can this be closed? I'd do it myself if I had the triage bit :) -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1985

[issue1158490] locale fails if LANGUAGE has multiple locales

2010-07-31 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: I first verified that the relevant parts of ``locale:getdefaultlocale`` have been unchanged since 2005-10-17. I'm adding a patch to remove default support for the LANGUAGE variable and tests to assert that values like 'en_DK:en_GB:en_US' raise

[issue803422] gmllib doesn't support hex or Unicode character references

2010-07-31 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- title: sgmllib doesn't support hex or Unicode character references - gmllib doesn't support hex or Unicode character references ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue803422] sgmllib doesn't support hex or Unicode character references

2010-07-31 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: gads ... didn't mean to submit a title change there Since this is removed from Python 3, should the status be changed to Rejected? -- nosy: +meatballhat title: gmllib doesn't support hex or Unicode character references - sgmllib

[issue626452] Support RFC 2111 in email package

2010-07-31 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue626452

[issue8591] update mkpkg to latest coding standards

2010-06-01 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: @merwok much thanks for the feedback. After seeing how you're working via bitbucket I've decided to create a fresh fork from tarek and recreate my patch in multiple changesets all within the default branch. I'll update the issue when

[issue8796] Deprecate codecs.open()

2010-05-24 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8796 ___ ___ Python-bugs-list

[issue4769] b64decode should accept strings or bytes

2010-05-22 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: @haypo - what patch? :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4769 ___ ___ Python

[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- title: 0xe7 in ``heapq.__about__`` causes badness - tabnanny improperly handles non-ascii source files ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8774

[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Removed file: http://bugs.python.org/file17413/françois-pinard-killed-my-tabnanny.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8774

[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: removed patch because the fix should be made to tabnanny itself -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8774

[issue8591] update mkpkg to latest coding standards

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Removed file: http://bugs.python.org/file17385/mkpkg-round-of-pylinting.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue8591] update mkpkg to latest coding standards

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Added file: http://bugs.python.org/file17406/mkpkg-round-of-pylinting.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue8591] update mkpkg to latest coding standards

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Added file: http://bugs.python.org/file17407/mkpkg-round-of-pylinting.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue8591] update mkpkg to latest coding standards

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Removed file: http://bugs.python.org/file17406/mkpkg-round-of-pylinting.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue8591] update mkpkg to latest coding standards

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Added file: http://bugs.python.org/file17408/mkpkg-round-of-pylinting.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue444582] Finding programs in PATH, addition to os

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list

[issue4769] b64decode should accept strings or bytes

2010-05-19 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: This appears to still be an issue in py3k. I've attached the command and output when running ``python3 -m base64`` with various options and inputs. If there's consensus on a solution, I'd be happy to take a crack at making a patch

[issue8773] mailbox module is needlessly executable

2010-05-19 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: While running various modules with the ``-m`` flag to check for command-line behavior, I noticed that the mailbox module currently has svn:executable set. The module contains no ``if __name__ == '__main__'`` magic and, as one would expect

[issue8774] 0xe7 in ``heapq.__about__`` causes badness

2010-05-19 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: I noticed while running ``python3 -m tabnanny -v Lib/*.py`` that the process died at heapq.py. The 0x37 char in François Pinard (in the ``__about__`` attr) was the culprit. The attached patch replaces it with '\xe7'. Changing the encoding

[issue8774] 0xe7 in ``heapq.__about__`` causes badness

2010-05-19 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8774 ___ ___ Python-bugs-list

[issue8591] update mkpkg to latest coding standards

2010-05-17 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file17385/mkpkg-round-of-pylinting.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue8591] update mkpkg to latest coding standards

2010-05-17 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: The attached mkpkg-round-of-pylinting.patch is known to cleanly apply to tarek's branch @ 541f90ef0636 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8591

[issue8698] PEP 391: Adding documentation of logging.config.dictConfig

2010-05-13 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8698 ___ ___ Python-bugs-list

[issue2142] difflib.unified_diff(...) produces invalid patches

2010-05-13 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2142 ___ ___ Python-bugs-list

[issue8704] cgitb sends a bogus HTTP header if the app crashes before finishing headers

2010-05-13 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8704 ___ ___ Python-bugs-list

[issue8706] accept keyword arguments on all base type methods and builtins

2010-05-13 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8706 ___ ___ Python-bugs-list

[issue8591] update mkpkg to latest coding standards

2010-05-12 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: I've started work on cleanup of ``mkpkg.py`` per instruction from jafo, am pushing to a branch 'mbh/mkpkg-cleanup' of my distutils2 fork: http://bitbucket.org/meatballhat/distutils2/changeset/be40174c59e2 I'll attach patch(es) when

[issue8679] write a distutils to distutils2 converter

2010-05-11 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8679 ___ ___ Python-bugs-list

[issue8680] Add a sandbox in Distutils2

2010-05-11 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8680 ___ ___ Python-bugs-list

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-11 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___ ___ Python-bugs-list

[issue8324] add a distutils test command

2010-05-09 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: Should I assume that unittest2 is an installation requirement of distutils2, or is it preferable to try using unittest2 and falling back to a custom TestLoader? Sorry if I'm reading too much

[issue8324] add a distutils test command

2010-05-09 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: @merwok I know ;-) ... should I assume that it's an installation requirement a la `install_requires=['unittest2']`, or do:: try: load_tests_with_unittest2() except ImportError: load_tests_with_custom_test_loader

[issue8324] add a distutils test command

2010-05-09 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: @mfoord thank you for the clarification! :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8324

[issue8657] urlparse.urlunsplit should be smarter about +

2010-05-08 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: Is simply adding 'git+' entries comprehensive enough? I'd have said the same thing about the addition of the 'svn+' entries, fwiw :) Is adding hardcoded entries like this the preferred way to extend urlparse? -- nosy: +meatballhat

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8666 ___ ___ Python-bugs-list

[issue8668] add a 'develop' command

2010-05-08 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: make a 'develop' command in distutils2 a la setuptools (unless, of course, this has already been unilaterally refused via distutils-sig or other communication) -- assignee: tarek components: Distutils2 messages: 105359 nosy

[issue8669] lack of bdist_rpm module raises error on 'setup.py --help-commands'

2010-05-08 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: Running 'python setup.py --help-commands' in the distutils2 package raises an error because there is no 'bdist_rpm' module. Should references to 'bdist_rpm' be removed, or should the 'bdist_rpm' module be (re?)introduced

[issue8669] lack of bdist_rpm module raises error on 'setup.py --help-commands'

2010-05-08 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Added file: http://bugs.python.org/file17269/distutils2-bdist-rpm-error.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8669

[issue8324] add a distutils test command

2010-05-08 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: For what it's worth, I'm trying to adapt the setuptools command of the same name in a feature branch called mbh/adding-test-command -- http://bitbucket.org/meatballhat/distutils2/ Not sure how the roundup/external tracker split is usually

[issue8653] urlparse.urlparse/urlsplit doc missing

2010-05-07 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8653 ___ ___ Python-bugs-list

[issue8591] update mkpkg to latest coding standards

2010-05-06 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: bump. Would it be more helpful if I were to submit a patch, too, or is doing so prior to guidance from the driver (Tarek) frowned upon? -- ___ Python tracker rep...@bugs.python.org http

[issue8638] Remove suggestion for name mangling from the tutorial

2010-05-06 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8638 ___ ___ Python-bugs-list

[issue8604] Alias for distutils.file_util.write_file in e.g. shutils

2010-05-03 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8604 ___ ___ Python-bugs-list

[issue8591] update mkpkg to latest coding standards

2010-05-01 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: On first glance, `distutils2.mkpkg` does not reflect the latest and greatest in Python coding standards. I'd like to take a stab at PEP-(7|8)'ing the whole thing, although I know there are other issues open to add features to the module, so

[issue8591] update mkpkg to latest coding standards

2010-05-01 Thread Dan Buch
Dan Buch daniel.b...@gmail.com added the comment: I probably shouldn't have dropped the PEP8 bomb so much as stated that I feel the module could use some updating. It's my (very much potentially wrong) understanding that `distutils2.mkpkg` isn't considered library code so much as the guts

[issue4908] Implement PEP 376

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4908 ___ ___ Python-bugs-list

[issue8312] Add post/pre hooks for distutils commands

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8312 ___ ___ Python-bugs-list

[issue8324] add a distutils test command

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8324 ___ ___ Python-bugs-list

[issue8255] step-by-step tutorial

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8255 ___ ___ Python-bugs-list

[issue8254] write a configure command

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8254 ___ ___ Python-bugs-list

[issue8252] add a metadata section in setup.cfg

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list

[issue8250] Implement pkgutil APIs as described in PEP 376

2010-04-30 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: is this a dupe of 4908? -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8250

[issue5302] Allow package_data globs match directories

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5302 ___ ___ Python-bugs-list

[issue8253] add a resource+files section in setup.cfg

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___ ___ Python-bugs-list

[issue8357] Add a --show-installation-paths in the install command

2010-04-30 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8357 ___ ___ Python-bugs-list