[issue14848] Use shutil.move instead of os.rename in packaging

2012-06-13 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: glad to help -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15040] stdlib compatability with pypy: mailbox.py

2012-06-13 Thread mattip
mattip added the comment: What is the next stage in moving this forward? I am new here... -- ___ Python tracker ___ ___ Python-bugs-l

[issue14848] Use shutil.move instead of os.rename in packaging

2012-06-13 Thread Éric Araujo
Éric Araujo added the comment: Thanks! As your message shows the problem is in the install module, I propose to close this bug as a duplicate of Alexis’ bug about improving d2.install. The new FileMover class should use shutil.move, and we’ll make sure to test install+remove as you did to s

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread John Nagle
John Nagle added the comment: The current convention is that domains go into DNS lookup as punycode, and the port, query, and fragment fields of the URL are encoded with percent-escapes. See http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/0155.html Python needs to get with the p

[issue14848] Use shutil.move instead of os.rename in packaging

2012-06-13 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Sorry, no traceback by default, had to augment with "raise" :) Now output looks like this: nekto0n@ya-darkstar /var/tmp/mypackage $ pysetup remove pygraphviz u'workflow': u'1.01' is not a valid version (field 'Version') u'zc-zookeeper-static': u'3.4.3-3' is

[issue15063] Source code links for JSON documentation

2012-06-13 Thread Bryce Verdier
New submission from Bryce Verdier : In some parts of the documentation there are links to the source code. While looking in the JSON documentation that link isn't there. Not sure if this is wanted or if it's complete. But I'm submitting it anyway in the hopes of feedback. -- assignee:

[issue12982] Document that importing .pyo files needs python -O

2012-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The response from pydev is that running .pyc with -O or running .pyo without is not officially supported. Even if mixing usually works now, it does not always work properly for code with __debug__, assert, or __doc__. The scope of possible malfunctions may in

[issue15008] PEP 362 "Signature Objects" reference implementation

2012-06-13 Thread Yury Selivanov
Yury Selivanov added the comment: Attaching a patch that implements the latest version of the PEP. Quick summary: 1. Ditched Signature.name & Signature.qualname 2. Added Signature.__eq__ and __ne__ 3. signature() supports classes, metaclasses, decorated stuff, partials, methods, classmethods,

[issue1667546] Time zone-capable variant of time.localtime

2012-06-13 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue1667546] Time zone-capable variant of time.localtime

2012-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b5545ba6432 by Alexander Belopolsky in branch 'default': Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields http://hg.python.org/cpython/rev/3b5545ba6432 -- nosy: +python-dev ___ Pytho

[issue15062] argparse: option for a positional argument

2012-06-13 Thread R. David Murray
R. David Murray added the comment: Well, if you can figure out how to add it, please do suggest a patch :) It occurs to me that 'find' is a sort-of similar example, where options can be repeated but the order in which they appear relative to other options matters. So I can see that there cou

[issue15062] argparse: option for a positional argument

2012-06-13 Thread wrobell
wrobell added the comment: an example would be a pdf merger accepting multiple files and allowing to specify list of pages for each input. at the moment, you can do the following with argparse pdfmerge [pages] input [[pages] input ...] output of course, above is not perfect as you need a

[issue1667546] Time zone-capable variant of time.localtime

2012-06-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Jun 13, 2012 at 7:08 PM, Paul Boddie wrote: > I think you may have forgotten to remove docstring references to those > functions. Good catch. BTW, did you write the additional tests for strptime? This is the only thing that I want to add before

[issue15062] argparse: option for a positional argument

2012-06-13 Thread R. David Murray
R. David Murray added the comment: It took me a while to make any sense out of your example, but having done so I don't think it makes any sense in the argparse context. It is certainly not the way argparse handles options or arguments. In argparse, if you have an option 'k', you get 'k' map

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-06-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch "issue13241-configure-version1.txt" implements a number of changes to configure (although only configure.ac is present in the patch) 1) Autodetect the compiler on OSX, in particular - detect llvm-gcc and use clang instead - use clang

[issue15062] argparse: option for a positional argument

2012-06-13 Thread wrobell
New submission from wrobell : it would be great if argparse allowed to specify options for multiple positional arguments, i.e. usage: ascript [-h] [-k value] input [[-k value] input ...] output then $ ascript pos1 pos2 -k 1 pos3 -k 2 pos4 pos5 pos6 out would give Namespace(input=[(N

[issue1667546] Time zone-capable variant of time.localtime

2012-06-13 Thread Paul Boddie
Paul Boddie added the comment: On Wednesday 13 June 2012 23:51:25 Alexander Belopolsky wrote: > Alexander Belopolsky added the comment: > > I've simplified Paul's patch by removing timegm and mktimetz functions. > Also, platforms that don't support tm_zone are unaffected. I think you may have

[issue15061] hmac.secure_compare() leaks information of length of strings

2012-06-13 Thread Christian Heimes
New submission from Christian Heimes : The secure_compare() function immediately returns False when both strings don't have equal length. With the patch the run time of secure_compare() always depends on the length of the right side. It no longer gives away information about the length of the

[issue8668] Packaging: add a 'develop' command

2012-06-13 Thread Alex Grönholm
Alex Grönholm added the comment: Python 3.3 is entering beta soon. The develop command is a must have, especially now that virtualenv is part of the official Python distribution. Can someone summarize what still needs to be done to get this feature merged? -- nosy: +agronholm ___

[issue14955] hmac.secure_compare() is not time-independent for unicode strings

2012-06-13 Thread Christian Heimes
Christian Heimes added the comment: The second patch looks fine. -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-li

[issue15060] docs: socket typo

2012-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 412c7daed0db by Sandro Tosi in branch '2.7': Issue #15060: better fix, thanks to review on #python-dev http://hg.python.org/cpython/rev/412c7daed0db New changeset e616985284cd by Sandro Tosi in branch '3.2': Issue #15060: better fix, thanks to revi

[issue15060] docs: socket typo

2012-06-13 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks! -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue15060] docs: socket typo

2012-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 744fb52ffdf0 by Sandro Tosi in branch '2.7': Issue #15060: fix typo in socket doc; Patch by anatoly techtonik http://hg.python.org/cpython/rev/744fb52ffdf0 New changeset 4d755a711823 by Sandro Tosi in branch '3.2': Issue #15060: fix typo in socket

[issue1667546] Time zone-capable variant of time.localtime

2012-06-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I've simplified Paul's patch by removing timegm and mktimetz functions. Also, platforms that don't support tm_zone are unaffected. -- stage: patch review -> commit review Added file: http://bugs.python.org/file26002/issue1667546.diff __

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-06-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Bumping priority to get this in before beta. -- priority: normal -> high ___ Python tracker ___ ___

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2012-06-13 Thread R. David Murray
R. David Murray added the comment: email.utils.format_datetime implements RFC 5322 date format, which is very different from RFC 3339. I don't remember enough about what I read in RFC 3339 to answer your question about isoformat. -- ___ Python tra

[issue13556] When tzinfo.utcoffset is out-of-bounds, the exception message is misleading

2012-06-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Does anyone still care about this issue? I think the error message in 3.2 is good enough and fixing this in 2.x is not worth the trouble. I am inclined to close this as "won't fix". -- versions: +Python 3.3 -Python 3.4

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2012-06-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: David, Isn't the requested feature now implemented as email.utils.format_datetime()? Also, what is the difference between RFC 3339 format and the one provided by datetime.isoformat? >>> print(datetime(2000,1,1, tzinfo=timezone.utc).isoformat('T')) 200

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-06-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached configure.ac is a fragment of a configure script that tries to detect if AC_PROG_CC would pick llvm-gcc when clang is also available and then explicitly picks clang. This would avoid "python3.3 won't build on OSX 10.7" bug reports. This is not

[issue14599] Windows test_import failure thanks to ImportError.path

2012-06-13 Thread Roumen Petrov
Roumen Petrov added the comment: The issue is related to MAXPATHLEN limit and how is implemented . One part of request are already closed , another part wait . Some people port patches other wrote that would not use very long path. I'm in the second group. This buildbot use path with length 5

[issue4442] document immutable type subclassing via __new__

2012-06-13 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14674] Link to & explain deviations from RFC 4627 in json module docs

2012-06-13 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file25606/json.rst.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file26000/pec48.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25998/pec47.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14674] Link to & explain deviations from RFC 4627 in json module docs

2012-06-13 Thread Chris Rebert
Chris Rebert added the comment: Any further comments now that the matter of encodings is covered more thoroughly? -- Added file: http://bugs.python.org/file25999/json.rst.patch ___ Python tracker

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25997/pec46.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25996/pec45.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25995/pec44.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25994/pec43.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25993/pec42.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25992/pec41.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25991/pec40.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25990/pec39.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25989/pec38.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25988/pec37.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25987/pec36.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25986/pec35.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25985/pec34.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14674] Link to & explain deviations from RFC 4627 in json module docs

2012-06-13 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file25594/json.rst.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25984/pec33.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25983/pec32.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25982/pec31.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25981/pec30.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25980/pec29.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25973/pec22.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25979/pec28.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25971/pec20.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25978/pec27.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25970/pec19.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25977/pec26.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25969/pec18.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25966/pec15.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25976/pec25.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25965/pec14.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25975/pec24.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25964/pec13.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25974/pec23.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25962/pec11.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25959/pec8.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25958/pec7.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25972/pec21.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25957/pec6.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25955/pec4.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25954/pec3.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25952/pec1.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25968/pec17.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25967/pec16.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25963/pec12.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25961/pec10.html ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25960/pec9.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25956/pec5.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1054] scriptsinstall target fails in alternate build dir

2012-06-13 Thread Gukas Artunyan
Changes by Gukas Artunyan : Added file: http://bugs.python.org/file25953/pec2.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15052] Outdated comments in build_ssl.py

2012-06-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: The comment is correct. The sources are not. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue3955] maybe doctest doesn't understand unicode_literals?

2012-06-13 Thread Georg Brandl
Georg Brandl added the comment: Yeah, I don't really remember now what my point was. -- status: pending -> closed ___ Python tracker ___ _

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread R. David Murray
R. David Murray added the comment: I doubt that unicode domain support in urllib would be of much use without full IRI support. I would think that a domain that uses unicode is highly likely to have URLs that use unicode. However that doesn't mean a patch along the lines you suggest would be

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread John Nagle
John Nagle added the comment: A "IRI library" is not needed to fix this problem. It's already fixed in the sockets library and the http library. We just need consistency in urllib2. urllib2 functions which take a "url" parameter should apply "encodings.idna.ToASCII" to each label of the d

[issue15058] Potential Bug in dlpvalloc and dlvalloc

2012-06-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Well, this bitwise operation is exactly why there are two functions: dlvpalloc rounds up to the nearest page size, and dlvalloc does not. -- resolution: -> works for me status: open -> closed ___ Python track

[issue15059] Potential Bug in mpd_qresize and mpd_qresize_zero

2012-06-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15058] Potential Bug in dlpvalloc and dlvalloc

2012-06-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +amaury.forgeotdarc, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue15060] docs: socket typo

2012-06-13 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/socket.html s/integral/integer/ -- assignee: docs@python components: Documentation messages: 162720 nosy: docs@python, techtonik priority: normal severity: normal status: open title: docs: socket typo __

[issue15056] Have imp.cache_from_source() raise NotImplementedError when cache tag not available

2012-06-13 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue15057] Potential Bug in mpd_qdivint and mpd_qrem

2012-06-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue15059] Potential Bug in mpd_qresize and mpd_qresize_zero

2012-06-13 Thread Ken Cheung
New submission from Ken Cheung : I observed a code clone from the following files. function : mpd_qresize @ (file: "Python-3.3.0a2/Modules/_decimal/libmpdec/mpdecimal.c", line: 481)~493 function : mpd_qresize_zero @ (file: "Python-3.3.0a2/Modules/_decimal/libmpdec/mpdecimal.c", line: 501)~517

[issue15058] Potential Bug in dlpvalloc and dlvalloc

2012-06-13 Thread Ken Cheung
Changes by Ken Cheung : -- title: Potential Bugs in dlpvalloc and dlvalloc -> Potential Bug in dlpvalloc and dlvalloc ___ Python tracker ___

[issue15058] Potential Bugs in dlpvalloc and dlvalloc

2012-06-13 Thread Ken Cheung
New submission from Ken Cheung : I observed a code clone from the following files. function : dlpvalloc @ (file: "Python-3.3.0a2/Modules/_ctypes/libffi/src/dlmalloc.c", line: 4360)~4362 function : dlvalloc @ (file: "Python-3.3.0a2/Modules/_ctypes/libffi/src/dlmalloc.c", line: 4353)~4355 The f

[issue15057] Potential Bug in mpd_qdivint and mpd_qrem

2012-06-13 Thread Ken Cheung
Changes by Ken Cheung : -- title: Potential Bugs in mpd_qdivint and mpd_qrem -> Potential Bug in mpd_qdivint and mpd_qrem ___ Python tracker ___

[issue15057] Potential Bugs in mpd_qdivint and mpd_qrem

2012-06-13 Thread Ken Cheung
New submission from Ken Cheung : I observed a code clone from the following files. function : mpd_qdivint @ (file: "Python-3.3.0a2/Modules/_decimal/libmpdec/mpdecimal.c", line: 3727)~3763 function : mpd_qrem @ (file: "Python-3.3.0a2/Modules/_decimal/libmpdec/mpdecimal.c", line: 6331)~6361 The

[issue13841] multiprocessing should use sys.exit() where possible

2012-06-13 Thread Richard Oudkerk
Richard Oudkerk added the comment: The trivial patch of replacing exit() by sys.exit() caused manager processes to be terminated after a short timeout. (It is inconvenient that in Python there is no way for a non-main thread to request immediate shutdown of the process.) This new patch makes

[issue15050] Python 3.2.3 fail to make

2012-06-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is a misconfiguration of your system. Take a look at line 29538 of config.log. It says configure:13701: ./conftest ld.so.1: ./conftest: ÖÂÃüµÄ: libintl.so.8: ´ò¿ªÊ§°Ü: ÎÞ´ËÎļþ»òĿ¼ ./configure: line -1756: 8400 Killed ./conftest$ac_ex

  1   2   >