[issue15156] Refactor HTMLParser.unescape to use html.entities.html5

2012-06-24 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Patch updated after the review. -- Added file: http://bugs.python.org/file26131/issue15156-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15156

[issue11728] mbox parser incorrect behaviour

2012-06-24 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: It seems to me that ^From is the correct way to match the start of each message. This is also what the qmail manual page (linked in the previous message) says. So closing as invalid. -- nosy: +petri.lehtinen resolution: - invalid

[issue14315] zipfile.ZipFile() unable to open zip File

2012-06-24 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This issue is currently marked as a bugfix for current releases also. Since the proposal seems to be to introduce a new flag, should it be re-classified as enhancement (for 3.4)? -- ___ Python

[issue15157] venvs should include pydoc

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9cf4dc975a32 by Éric Araujo in branch 'default': Restore test that was using pysetup and can now (#15157) use pydoc http://hg.python.org/cpython/rev/9cf4dc975a32 -- ___

[issue15157] venvs should include pydoc

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Great to get this for 3.3, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15157 ___ ___

[issue13512] ~/.pypirc created insecurely

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: And I see that doko has applied the same patch for Debian and derivatives: http://patch-tracker.debian.org/patch/series/view/python2.7/2.7.3~rc2-2.1/pypirc-secure.diff Will commit today. Release managers: there are CVE and ocert numbers for

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12188/poplib_03_SSL_refactor.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12172/poplib.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12187/poplib_02_sock_shutdown.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12189/poplib_04_STLS.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Added file: http://bugs.python.org/file26132/poplib_01_socket_shutdown.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Added file: http://bugs.python.org/file26134/poplib_03_starttls.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12192/poplib_01_CAPA.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12965/test_popnet.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file12966/test_popnet.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Added file: http://bugs.python.org/file26133/poplib_02_server_capabilities.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Lorenzo M. Catucci
Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it added the comment: I've refreshed the patches to apply on 3.3, and adapted the to the unit-test framework by giampaolo.rodola. -- ___ Python tracker rep...@bugs.python.org

[issue15147] Remove packaging from the stdlib

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What is sysconfig.cfg? A file containing the install schemes for packaging (not for distutils, these are still in distutils.commands.install) and the categories for data files, to allow installation to various directories for scripts, doc, etc

[issue15003] make PyNamespace_New() public

2012-06-24 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: -1 for the reasons Nick stated. -- nosy: +Mark.Shannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15003 ___

[issue15055] dictnotes.txt is out of date

2012-06-24 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: Is there any reason not to commit this patch? The docs are out of sync with the code and need to be updated. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15055

[issue15055] dictnotes.txt is out of date

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1120041f2df4 by Antoine Pitrou in branch 'default': Issue #15055: update dictnotes.txt. Patch by Mark Shannon. http://hg.python.org/cpython/rev/1120041f2df4 -- nosy: +python-dev

[issue15055] dictnotes.txt is out of date

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Sorry, Mark. This is committed now. -- assignee: rhettinger - nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue15055] dictnotes.txt is out of date

2012-06-24 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: No apology needed :) Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15055 ___ ___

[issue15133] tkinter.BooleanVar.get() behavior and docstring disagree

2012-06-24 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Mark: Variable.get(self) returns self._tk.globalgetvar(self._name). String/Int/Double/Var call str/int/float as appropriate. was meant to say that String/Int/Double/Var.get(self) already call str/int/float on the result of

[issue15137] Cleaned source of `cmd` module

2012-06-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15137 ___ ___ Python-bugs-list

[issue15137] Cleaned source of `cmd` module

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Just wanted to offer a comment on this: Last point. Please use .diff or .patch for diff/patch files as that extension works better for people Depending on OS and file association settings, yes. and, I believe, hg. Mercurial does not care about

[issue15102] Fix 64-bit building for buildbot scripts (issue 15102)

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Note that there also appears to be a compile error on the 3.2 and 2.7 branches: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.2 http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%202.7 Build started: Project:

[issue15090] Add etag support to urllib.request.urlopen

2012-06-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo stage: - needs patch title: Add etag support to urllib.request.urlretrieve() - Add etag support to urllib.request.urlopen versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue15137] Cleaned source of `cmd` module

2012-06-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15137 ___

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: I'm getting this failure in test_email (Windows 64-bit build): == ERROR: test_localtime_epoch_notz_daylight_false

[issue15102] Fix 64-bit building for buildbot scripts (issue 15102)

2012-06-24 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Note that there also appears to be a compile error on the 3.2 and 2.7 branches: Can we please, pretty pretty please, deal with one issue at a time? If you want to keep this issue open until everything works, you will probably see a dozen

[issue15166] Implement imp.get_tag() using sys.implementation

2012-06-24 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: Title says it all. This also implies updating importlib to use sys.implementation directly. -- components: Library (Lib) keywords: easy messages: 163829 nosy: brett.cannon, eric.snow priority: deferred blocker severity: normal stage:

[issue13959] Re-implement parts of imp in pure Python

2012-06-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Implement imp.get_tag() using sys.implementation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13959 ___

[issue15167] Re-implement imp.get_magic() in pure Python

2012-06-24 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: Title says it all. Issue #13959 has a patch. -- messages: 163830 nosy: brett.cannon, eric.snow priority: normal severity: normal status: open title: Re-implement imp.get_magic() in pure Python ___

[issue13959] Re-implement parts of imp in pure Python

2012-06-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Re-implement imp.get_magic() in pure Python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13959 ___

[issue14315] zipfile.ZipFile() unable to open zip File

2012-06-24 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I think this is a bugfix. I also don't think that strict attribute makes sense if we can't guarantee strong validity (see issue15114). -- ___ Python tracker rep...@bugs.python.org

[issue8371] Add options to distutils2.install and pysetup install to only download

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: downloading a distribution is not a final goal, imho. Wouldn't it be simpler to have a simple function that provides this feature ? The reasoning behind my request was that providing a way to do steps from the command-line is good. pysetup

[issue15168] Move importlib.test to test.importlib

2012-06-24 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: Should also update to use unittest discovery. Might also need to update tests to use both _frozen_importlib and importlib._bootstrap. -- messages: 163833 nosy: brett.cannon priority: normal severity: normal status: open title: Move

[issue15168] Move importlib.test to test.importlib

2012-06-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15168 ___

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-06-24 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: import.c:PyImport_ExecCodeModuleObject() is holding on to a ton of C code thanks to get_sourcefile(). Should have PyImport_ExecCodeModuleWithPathnames() use get_sourcefile() only. And then get_sourcefile() should get re-implemented in Python

[issue14315] zipfile.ZipFile() unable to open zip File

2012-06-24 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I still don't see the bug; the module is behaving correctly - it is the zipfile that is buggy. Supporting this specific kind of buggy zipfiles is a new feature. For reasons discussed, I also disagree with the proposed patch (file24902). If

[issue15169] Clear C code under PyImport_ExecCodeModuleObject()

2012-06-24 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I propose to defer this to 3.4. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15169 ___

[issue15156] Refactor HTMLParser.unescape to use html.entities.html5

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0d53703b1a99 by Ezio Melotti in branch 'default': #15156: HTMLParser now uses the new html.entities.html5 dictionary. http://hg.python.org/cpython/rev/0d53703b1a99 -- nosy: +python-dev

[issue15156] Refactor HTMLParser.unescape to use html.entities.html5

2012-06-24 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the reviews! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15156

[issue5302] Allow package_data specs/globs to match directories

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Cannot block a release anymore, since packaging has gone. -- nosy: +pitrou priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5302

[issue14446] Remove deprecated tkinter functions

2012-06-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14446 ___

[issue2919] Merge profile/cProfile in 3.n+1

2012-06-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- title: Merge profile/cProfile in 3.0 - Merge profile/cProfile in 3.n+1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2919 ___

[issue11205] Evaluation order of dictionary display is different from reference manual.

2012-06-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11205 ___ ___ Python-bugs-list

[issue4473] POP3 missing support for starttls

2012-06-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___ ___

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Feature freeze just came by; sorry we missed this. Given our recent-ish discussion about additions to mimetypes (and the consensus (IIRC) that matching the IANA database can be considered a bug fix), I wonder if detecting more OSes in platform

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 97a098aa4205 by Georg Brandl in branch 'default': Closes #11678: support Arch linux in the platform module. http://hg.python.org/cpython/rev/97a098aa4205 -- nosy: +python-dev resolution: - fixed stage:

[issue5067] Error msg from using wrong quotes in JSON is unhelpful

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I would say this is a bugfix, so it can go in after the beta. Georg? -- assignee: bob.ippolito - components: -Documentation nosy: +georg.brandl, pitrou stage: - patch review ___ Python tracker

[issue5302] Allow package_data specs/globs to match directories

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I explained in another issue that I had been using priority release blocker + version third-party to keep track of distutils2 release blockers. This can be distracting for CPython devs and RMs so I’ll just use high now. -- priority:

[issue15124] _thread.LockType: Optimize lock deletion, acquisition of uncontested lock and release of lock.

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Closing as fixed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15124 ___

[issue5067] Error msg from using wrong quotes in JSON is unhelpful

2012-06-24 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Agreed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5067 ___ ___ Python-bugs-list mailing

[issue5067] Error msg from using wrong quotes in JSON is unhelpful

2012-06-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5067 ___ ___ Python-bugs-list

[issue5302] Allow package_data specs/globs to match directories

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I explained in another issue that I had been using priority release blocker + version third-party to keep track of distutils2 release blockers. This can be distracting for CPython devs and RMs so I’ll just use high now. Woops, sorry.

[issue15170] Fix 64-bit building for buildbot scripts (2.7)

2012-06-24 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: [from #15102] http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%202.7 -- components: Build messages: 163847 nosy: brian.curtin, jeremy.kloth, jkloth, loewis, pitrou, python-dev, skrah, zach.ware priority: normal

[issue15171] Fix 64-bit building for buildbot scripts (3.2)

2012-06-24 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: [from #15102] http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.2 -- messages: 163848 nosy: brian.curtin, jeremy.kloth, jkloth, loewis, pitrou, skrah, zach.ware priority: normal severity: normal status: open

[issue15172] SHA1 failures on the 64-bit Windows buildbot

2012-06-24 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: [Antoine] Ouch. The test failures on the buildbot now seem to point to problems with OpenSSL's SHA1 implementation. Jeremy, perhaps you can try to run the OpenSSL self-tests? -- components: Tests keywords: buildbot messages:

[issue15173] Copyright/licensing statement in new venv module

2012-06-24 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: While reading the venv source I noticed a typo in the copyright/license line (“20011”); I propose a patch that removes that line in favor of the customary “Licensed to the PSF” line, which is IMO much clearer (I never understand what the

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Same here with VS 2008. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15165 ___

[issue15102] Fix 64-bit building for buildbot scripts (3.3)

2012-06-24 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: As far as I can see, the 3.3 buildbot scripts are fixed: After af1d98b7ca80 I can run Tools/buildbot/build.bat and Tools/buildbot/build-amd64.bat successfully in any order. I've run the tests, too, and I'm not getting the SHA1 failures.

[issue13173] Default values for string.Template

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It looks like a doc update to mention the excellent ChainMap class would be a good thing. Bfontaine, are you happy with using a Template subclass or changing your code slightly to have defaults outside of the Template objects, or do you still

[issue15172] SHA1 failures on the 64-bit Windows buildbot

2012-06-24 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Well, as I said in the other issue, I can't reproduce. Apart from running the self tests, perhaps delete the openssl directory and start afresh? -- ___ Python tracker rep...@bugs.python.org

[issue14315] zipfile.ZipFile() unable to open zip File

2012-06-24 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Given that the overall trend in the stdlib seems to be to be more lenient in parsing, as with htmlparser, and that the not-really-strict 'strict' parameter for that is being removed, (#15114) I do not understand the objection to accepting one

[issue14315] zipfile.ZipFile() unable to open zip File

2012-06-24 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I still don't see the bug; the module is behaving correctly - it is the zipfile that is buggy. Supporting this specific kind of buggy zipfiles is a new feature. I agree. The module is behaving correctly. --

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I haven't touched localtime since pycon, so I presume this hasn't been detected before due to our lack of a windows 64bit buildbot. -- components: +email nosy: +barry, belopolsky priority: normal - high

[issue8916] Move PEP 362 (function signature objects) into inspect

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This may be closed as superseded by #15008, or become a new bug to deprecate getargspec with signature, or a bug for a doc-only deprecation. (Can’t add Yuri to nosy?!) -- nosy: +larry ___ Python

[issue8355] diff.py to produce unified format by default

2012-06-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: All of them, especially the last one by Benjamin. -- stage: patch review - committed/rejected status: open - closed title: diff.py produce unified format by default - diff.py to produce unified format by default

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Patch isn't ready, no doc changes. But code review can happen. -- keywords: +patch Added file: http://bugs.python.org/file26136/larry.platform.unamedtuple.1.diff ___ Python tracker

[issue15102] Fix 64-bit building for buildbot scripts (3.3)

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm, the buildbot fails compiling again after af1d98b7ca801049803d83a85bb8558f6e59f2a1: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/139 -- ___ Python tracker

[issue1160] Medium size regexp crashes python

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This has probably been fixed in 3.3 in c67b7e0c818a. -- assignee: effbot - versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1160

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Docs fixed, new unit tests for namedtuple interface added. -- Added file: http://bugs.python.org/file26137/larry.platform.unamedtuple.2.diff ___ Python tracker rep...@bugs.python.org

[issue15102] Fix 64-bit building for buildbot scripts (3.3)

2012-06-24 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Antoine Pitrou rep...@bugs.python.org wrote: Hmm, the buildbot fails compiling again after af1d98b7ca801049803d83a85bb8558f6e59f2a1: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/139 I think it's

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I don't have a Win 64 setup, but I think replacing 1970 with say 1990 in the tests should fix the problem. -- nosy: +Alexander.Belopolsky ___ Python tracker

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Third diff, incorporating all of Georg's suggestions. -- Added file: http://bugs.python.org/file26138/larry.platform.unamedtuple.3.diff ___ Python tracker rep...@bugs.python.org

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 344b06318aca by Larry Hastings in branch 'default': Issue #15164: Change return value of platform.uname() from a http://hg.python.org/cpython/rev/344b06318aca -- nosy: +python-dev

[issue15164] add platform.uname() namedtuple interface?

2012-06-24 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Done! And just in time for... something! -- resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org

[issue8355] diff.py to produce unified format by default

2012-06-24 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Eric, you're refering to argument: -1 Even if diff.py is not exaclty a diff replacement, it still makes sense to emulate what's in people's minds. Could you explain it in your own words, because I don't posess the skills to read

[issue1250] Building external modules using Sun Studio 12

2012-06-24 Thread Maciej Bliziński
Maciej Bliziński maciej.blizin...@gmail.com added the comment: I just hit this issue when trying to build matplotlib. The setup script indeed tries to run the C compiler (/opt/SUNWspro/bin/cc) instead of the C++ compiler (/opt/SUNWspro/bin/CC) and fails. This was with Python 2.6.7. Could the

[issue15174] amd64\python_d.exe -m test fails

2012-06-24 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: I'm quite sure this worked before, but fails now: C:\Users\stefan\pydev\cpython\PCbuildamd64\python_d.exe -m test test_ssl Traceback (most recent call last):

[issue15168] Move importlib.test to test.importlib

2012-06-24 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15168 ___ ___ Python-bugs-list

[issue11728] mbox parser incorrect behaviour

2012-06-24 Thread valera
valera vmasu...@apache.org added the comment: Hello Petri Qmail manpage does not sound as a valid reference for me, I've pointed relevant RFC (which dictates correct behaviour) as a reference, python mbox parser does not conform to it. Best regards, Valery Masiutsin On Sun, Jun 24, 2012 at

[issue15039] module/ found before module.py when both are in the CWD

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2051fead1933 by Eric V. Smith in branch 'default': Fixes issue 15039: namespace packages are no longer imported in preference to modules of the same name. http://hg.python.org/cpython/rev/2051fead1933 --

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-06-24 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: The fix for this issue broke support for bytes in shutil.rmtree: $ mkdir -p /tmp/a/b $ python3.2 -c 'import shutil; shutil.rmtree(b/tmp/a)' $ mkdir -p /tmp/a/b $ python3.3 -c 'import shutil; shutil.rmtree(b/tmp/a)'

[issue15175] pydoc -k zip throws segmentation fault

2012-06-24 Thread Shanker
New submission from Shanker shan...@gmail.com: user@test:~/learn/python$ pydoc -k zip zipimport - zipimport provides support for importing Python modules from Zip archives. gzip - Functions that read and write gzipped files. lib2to3.fixes.fix_itertools - Fixer for itertools.(imap|ifilter|izip)

[issue15173] Copyright/licensing statement in new venv module

2012-06-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c96dd645825e by Vinay Sajip in branch 'default': Closes #15173: Tidied up copyright statements and removed pythonv references. http://hg.python.org/cpython/rev/c96dd645825e -- nosy: +python-dev resolution:

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-06-24 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: The fix for this issue broke support for bytes in shutil.rmtree: What platform? Windows, or non-Windows? It'll probably be obvious regardless, but that might help. -- ___ Python tracker

[issue14657] Avoid two importlib copies

2012-06-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Given Antoine's other change to the build process to fix the bootstrapping problem, I'm OK with leaving it up to anyone hacking on _bootstrap.py to remember that they need to run make if they want the interpreter to see any of their changes.

[issue8355] diff.py to produce unified format by default

2012-06-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Status quo wins a stalemate (and this isn't even really a stalemate. Languishing is for bugs/enhancements no one has stepped up to implement. This one is rejected. -- status: languishing - closed

[issue15175] pydoc -k zip throws segmentation fault

2012-06-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This works fine for me. It is almost certain to be a case of something on your pythonpath crashing when pydoc imports it while looking for things that match the keyword. There is unfortunately no way to bullet proof pydoc against this.

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2012-06-24 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1820 ___ ___ Python-bugs-list

[issue15175] pydoc -k zip throws segmentation fault

2012-06-24 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Which version of Python 2.7.x are you running? If it is less than Python 2.7.3, this is likely a duplicate of Issue7425, the fix for which improved the robustness of pydoc -k as of 2.7.3. -- nosy: +ned.deily

[issue15175] pydoc -k zip throws segmentation fault

2012-06-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Ned: since it is a core dump, I doubt the patch for ignoring exceptions during import will fix this. Note that 'pyg_register_boxed' is not a string that appears in the python source, so it is pretty certainly a third party extension

[issue15063] Source code links for JSON documentation

2012-06-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: rejected - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15063 ___ ___ Python-bugs-list

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-06-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Tinkering with os.path.join, that traceback means that name is a str instance, while path is a bytes instance. The culprit actually appears to be the fact that the type returned by os.listdir (et al) when handed a file descriptor is always a

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-06-24 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Your deduction is correct. listdir can't tell what the original argument type was based on the output--path_converter abstracts away those details. So it separately tests the type of the first argument. Staring at it again it's about as

[issue15176] Clarify the behavior of listdir(fd) in both code and documentation

2012-06-24 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: When you pass in a file descriptor as the first argument to listdir, its output is a list of strings, not a list of bytes. This should be mentioned in the documentation. It's also worth making a pass over the other functions accepting

[issue15176] Clarify the behavior of listdir(fd) in both code and documentation

2012-06-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15176 ___

<    1   2   3   >