[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: PyPI requests do not use this tracker; see PyPI for the link to the right place. In this case anyway a request would certainly be rejected: the projects you’ve seen do not come from a high demand, but from one teaching book. Search the catalog-sig archives for

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: distutils indeed supports 2.5-2.7. The first proposed fix should be fine, what’s needed is a unit test (more info in the devguide). -- stage: needs patch -> test needed ___ Python tracker

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-05-25 Thread Larry Hastings
Larry Hastings added the comment: Here's my first pass at a patch. For this patch, I took the proposal to its logical extreme: I removed every function in os that was both mildly redundant with an existing function *and* has been added since 3.2, and moved that functionality to the equivalent e

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2012-05-25 Thread R. David Murray
R. David Murray added the comment: We ended up deciding to keep backward compatibility and add datetime support as a new API. All of these changes are now checked in to default. (See issue 665194, as well as issue 12586.) -- resolution: -> duplicate stage: needs patch -> committed/

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue665194] datetime-RFC2822 roundtripping

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset df12ce0c96eb by R David Murray in branch 'default': #665194: Add a localtime function to email.utils. http://hg.python.org/cpython/rev/df12ce0c96eb -- ___ Python tracker

[issue9527] Add aware local time support to datetime module

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset df12ce0c96eb by R David Murray in branch 'default': #665194: Add a localtime function to email.utils. http://hg.python.org/cpython/rev/df12ce0c96eb -- nosy: +python-dev ___ Python tracker

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are other paramaters that take optional 'files'. Whatever change is made should be done uniformly for all. 'File' is unfortunately vague, as it could mean file object or file name or both. If file name, it could be str only or (for 2.7), str and unicode

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b6f183091b9 by R David Murray in branch 'default': #12586: Fix a small oversight in the new email policy header setting code. http://hg.python.org/cpython/rev/2b6f183091b9 -- ___ Python tracker

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09e97829ed1e by R David Murray in branch 'default': Add news entries for #14731 and #12586. http://hg.python.org/cpython/rev/09e97829ed1e -- ___ Python tracker __

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09e97829ed1e by R David Murray in branch 'default': Add news entries for #14731 and #12586. http://hg.python.org/cpython/rev/09e97829ed1e -- ___ Python tracker __

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 331cceee3b45 by R David Murray in branch 'default': #12586: Expand What's New email entry with provisional policy features. http://hg.python.org/cpython/rev/331cceee3b45 -- ___ Python tracker

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Todd DeLuca
Todd DeLuca added the comment: That was my first thought, but if python2.5 compatibility is important, I don't think using the start parameter is an option. http://docs.python.org/library/functions.html#enumerate "Changed in version 2.6: The start parameter was added." Regards, Todd On Fri,

[issue14919] what disables one from adding self to the "nosy" list

2012-05-25 Thread Ezio Melotti
Ezio Melotti added the comment: > I thought everybody who is logged in had such permissions. That part of the sentence refers to users that are not logged in. It can be removed if you think it's confusing/unnecessary. -- assignee: -> ezio.melotti type: -> enhancement ___

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have fixed the help to include only ascii characters ( represented in hex) so that conversion to bytes is represented in the help and also the terminal whose LANG is C is able to display them too. On Ubuntu, when I had LANG=C, locale gave the following o/p

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Sharif Nassar
Sharif Nassar added the comment: Even better: diff -r 747eec42e7ae distutils2/create.py --- a/distutils2/create.py Mon May 21 17:01:44 2012 -0400 +++ b/distutils2/create.py Fri May 25 19:04:22 2012 -0700 @@ -674,7 +674,7 @@ %s Status''' % '\n'.join('%s - %s

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ea25ce432343 by Senthil Kumaran in branch '3.2': Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg http://hg.python.org/cpython/rev/ea25ce432343 New changeset cb62c958dd6a by Senthil Kumaran in bra

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Eric Snow added the comment: I've just attached 4 patches, one for each of the likeliest implementations. All 4 ran the test suite successfully. In my mind, the "simple namespace" one is the best fit. However, it involves adding a new built-in type (though a private one). If that is too c

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25715/issue14673_as_simple_namespace.diff ___ Python tracker ___ ___ Python-bugs

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25714/issue14673_as_structseq.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25713/issue14673_as_type.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14673] add sys.implementation

2012-05-25 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file25712/issue14673_as_module.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue3177] Add shutil.open

2012-05-25 Thread Larry Hastings
Larry Hastings added the comment: > Could even add an `operation` parameter to let the caller > select actions, > [...] > operation in ['auto', 'run', 'edit', 'display', 'browse', > 'explore', 'share', 'send', 'like', 'email', 'open', 'xdg-open', > ...] # can be incrementally added/implemented

[issue14775] Dict untracking can result in quadratic dict build-up

2012-05-25 Thread stw
stw added the comment: > So the tuple is linked-in to the garbage collection list before its > contents are constructed? > It is. It typically happens when you do (in C code): Ok, thanks. I couldn't see how a tuple could be created before its contents in python code, but it is clearly possibl

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-05-25 Thread Pablo Oliveira
New submission from Pablo Oliveira : I'm using Python 2.7.3rc2 from debian sid packages. If a mailbox.Maildir object is created with a unicode dirname, retrieving a message tagged with maildir flags with get() or get_message() fails with the following exception: Traceback (most recent call las

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0189b9d2d6bc by R David Murray in branch 'default': #12586: add provisional email policy with new header parsing and folding. http://hg.python.org/cpython/rev/0189b9d2d6bc -- nosy: +python-dev ___ Python

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2012-05-25 Thread Ezio Melotti
Ezio Melotti added the comment: Do you have any benchmark results? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ba99b810b40 by R David Murray in branch 'default': #14731: add preliminary What's New entry for policy framework. http://hg.python.org/cpython/rev/8ba99b810b40 -- ___ Python tracker

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread R. David Murray
R. David Murray added the comment: Serhiy: did you add 3.3 because you can reproduce it on 3.3? -- components: +Library (Lib) -None ___ Python tracker ___ __

[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Daniel Holth
Changes by Daniel Holth : -- resolution: -> postponed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14921] New trove classifier for simple printers of nested lists

2012-05-25 Thread Daniel Holth
New submission from Daniel Holth : Based on the supply, there is a tremendous demand for printers of nested lists (as long as they are not too complicated). But how will I find and compare the available options? Add a trove classifier Topic :: Nested Lists to ease the search burden.

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll added the comment: Okay. Here are a couple from http://docs.python.org/faq/windows.html#how-do-i-run-a-python-program-under-windows: "You may also find that you have a Start-menu entry such as Start ‣ Programs ‣ Python 2.2 ‣ Python (command line)" Then just a little farther

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2012-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch for 3.3. All of the tests pass successfully. Unfortunately, it is a little slow, but I tried to minimize the losses. -- Added file: http://bugs.python.org/file25709/issue8271-3.3.patch ___ Python t

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread R. David Murray
R. David Murray added the comment: Ah, I should clarify: Gentoo's 3.2.2. I'm sure they've added some patches, just like Debian. -- ___ Python tracker ___ _

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread R. David Murray
R. David Murray added the comment: This works fine for me on Gentoo Linux with both 3.2.3+ (ie: what's in the repo) and 3.2.2. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue12338] multiprocessing.util._eintr_retry doen't recalculate timeouts

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk added the comment: _eintr_retry was removed by 99ef4501205b. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker __

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-25 Thread Tuukka Tolvanen
New submission from Tuukka Tolvanen : LANG=C python3.2 -c 'import urllib.parse; help(urllib.parse)' Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.2/site.py", line 477, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib/python3.2/pydoc.py", line

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread R. David Murray
R. David Murray added the comment: Well, if the stream isn't seekable then I don't see how it can be left in any state other than the same one it leaves a file (read ahead as much as it read to generate the error). So unfortunately by our backward compatibility rules I still think this will

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Frederick Ross
Frederick Ross added the comment: In the case of files, sure, it's fine. The error gives me the offset, and I can go pull it out and buffer it, and it's fine. Plus XML is strict about having only one document per file. For streams, none of this is applicable. I can't seek in a streaming netwo

[issue13751] multiprocessing.pool hangs if any worker raises an Exception whose constructor requires a parameter

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13751] multiprocessing.pool hangs if any worker raises an Exception whose constructor requires a parameter

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk added the comment: This is a duplicate of #9244 and #9400 which have been fixed by wrapping unpicklable exceptions in picklable exceptions. The larger issue of many exception classes being unpicklable, is dealt with in #1692335. -- resolution: -> duplicate stage: ->

[issue9244] multiprocessing.pool: Worker crashes if result can't be encoded

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk added the comment: The patch was applied to 3.x branch in 0aa8af79359d and partially backported to 2.7 in 26bbff4562a7 - see #9400. I will close. -- nosy: +sbt resolution: -> fixed stage: -> committed/rejected status: open -> closed _

[issue3177] Add shutil.open

2012-05-25 Thread Hobs
Hobs added the comment: Could even add an `operation` parameter to let the caller select actions, including 'auto' implemented as Larry suggests. Sometimes you feel like trusting the user's xdg-open preferences/settings. Sometimes you don't. Easy enough to let the caller choose, rather than the

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure we understand each other. Can you give examples of the outdated code samples so that we can discuss something concrete? -- ___ Python tracker _

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll added the comment: Could we say just Python and ignore the version number? Or would Python 2.7 work for the 2.7 branch patch since there isn't supposed to be a 2.8 and then for Python 3 we could go with 3.x? -- ___ Python tracker

[issue14548] garbage collection just after multiprocessing's fork causes exceptions

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk added the comment: I'll, remember that in future;-) Closing. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: crash -> behavior ___ Python tracker __

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread R. David Murray
R. David Murray added the comment: I think it is perfectly reasonable for a parser to leave the file pointer in some undefined further location into the file when it detects "extra stuff" and produces an error message. One can certainly argue that producing that error message is a feature ("

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: > I know Python 3.x still runs on XP too, but should we continue to mention it > in our documentation? I don't know. Part > of the reason I wrote up all that was to see if people had any well thought > out arguments one way or the other on these things. In my op

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Frederick Ross
Frederick Ross added the comment: Antoine, It's not iterative parsing, it's a sequence of XML docs or json objects. Eric, the server I'm retrieving from, for real time searches, steadily produces a stream of (each properly formed) XML or json documents containing new search results. However,

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Brian Curtin
Brian Curtin added the comment: I'd rather it tried to stay as version agnostic as could be, but favoring 3.x in general. I wouldn't tie it down to any particular version because we'll have to come back in several years and update Python 3.3 to Python 3.8. --

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: ElementTree supports incremental parsing with the iterparse() method, not sure it fills your use case: http://docs.python.org/dev/library/xml.etree.elementtree.html#xml.etree.ElementTree.iterparse As for the json module, it doesn't have such a facility. -

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll added the comment: Should the patch for 1b replace Python 2.2 with Python 2.7/3.2 or just Python 3.2? -- ___ Python tracker ___ ___

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll added the comment: I know Python 3.x still runs on XP too, but should we continue to mention it in our documentation? I don't know. Part of the reason I wrote up all that was to see if people had any well thought out arguments one way or the other on these things. As for thi

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread R. David Murray
R. David Murray added the comment: I decided to keep the Compat32 class public both because it simplifies the documentation and because there doesn't seem to be a good reason to hide it. I'm leaving this issue open pending adding some discussion to What's New. --

[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9388c671d52d by R David Murray in branch 'default': #14731: refactor email policy framework. http://hg.python.org/cpython/rev/9388c671d52d -- nosy: +python-dev ___ Python tracker

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and fix. Someone interested in contributing can turn your fix into a patch with a test. -- keywords: +easy stage: -> needs patch versions: +3rd party, Python 3.3 -Python 2.7 ___ Python tracker

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: I am not sure the parsers should be lenient. One could argue that it’s the stream that is broken if it contains non-compliant XML or JSON. Can you tell more about the use case? -- nosy: +eli.bendersky, eric.araujo, ezio.melotti, pitrou, rhettinger vers

[issue14878] Improve documentation for generator.send method

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Are you interested in making a patch? Guidelines are in the devguide. -- nosy: +eric.araujo stage: -> needs patch title: send statement from PEP342 is poorly documented. -> Improve documentation for generator.send method version

[issue14879] invalid docs for subprocess exceptions with shell=True

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the detailed remarks. Some of the proposed changes may not apply to the 2.7 and 3.2 versions, which for example support XP if I remember correctly. 1b: Sure, patch welcomed. 6: os.system is discouraged, but os.popen still exists in 3.x (it’s implemen

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: The freeze script may have been moved in 3.2. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.3 -Python 2.6, Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14911] generator.throw() documentation inaccurate

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> needs patch versions: -Python 3.1, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mail

[issue14890] typo in difflib

2012-05-25 Thread Éric Araujo
Éric Araujo added the comment: Thanks for wanting to contribute nonetheless! Don’t hesitate to make patches for other bugs. You may be interested in the core-mentorship mailing list http://mail.python.org/mailman/listinfo/core-mentorship where any question will receive a friendly answer (py

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Michael Driscoll
Michael Driscoll added the comment: Here are a few proposals that spring to mind: 1a) Update all Windows references to Windows 7 or Vista/7. We can include XP, but I think Microsoft is dropping support next year. 1b) Update all Python references to the current version instead of 2.2 and 2.3.

[issue14712] Integrate PEP 405

2012-05-25 Thread Vinay Sajip
Changes by Vinay Sajip : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14893] Tutorial: Add function annotation example to function tutorial

2012-05-25 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the review :). Replied and here's the updated patch. -- Added file: http://bugs.python.org/file25708/annotations_tutorial.v2.patch ___ Python tracker ___

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3 commit is http://hg.python.org/cpython/rev/9373ca8c6c55 Richard, it did not record here because you just said 'Merge' rather than "#14881 merge" ;-). Great to see a crasher fixed. Ready to close? -- nosy: +terry.reedy _

[issue14919] what disables one from adding self to the "nosy" list

2012-05-25 Thread R. David Murray
R. David Murray added the comment: Me too. I think the implication of that devguide entry is wrong. -- nosy: +r.david.murray stage: -> needs patch ___ Python tracker ___ _

[issue14919] what disables one from adding self to the "nosy" list

2012-05-25 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe : It's implied in the devguide[1] that there are cases where one won't have permission to edit the nosy list. Can someone mention on that text what cases are those. I thought everybody who is logged in had such permissions. 1: http://docs.python.org/dev

[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14617] confusing docs with regard to __hash__

2012-05-25 Thread Ethan Furman
Ethan Furman added the comment: Newest changes uploaded. -- Added file: http://bugs.python.org/file25707/__hash__3.diff ___ Python tracker ___ __

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14871] Rewrite the command line parsers and actions system used in distutils2

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14897] struct.pack raises unexpected error message

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14901] Python Windows FAQ is Very Outdated

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +bethard, tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue14914] pysetup installed distribute despite dry run option being specified

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14915] pysetup may leave a package in a half-installed state

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14918] Incorrect explanation of TypeError exception

2012-05-25 Thread Thanos Tsouanas
New submission from Thanos Tsouanas : # This correctly raises a type error, but the explanation # that comes with it is bad: def foo(x, y, z=28): return foo(x, z=8) # TypeError: foo() takes at least 2 arguments (2 given) -- messages: 161588 nosy: Thanos.Tsouanas priority: normal s

[issue14917] Make os.symlink on Win32 detect if target is directory

2012-05-25 Thread Larry Hastings
New submission from Larry Hastings : The prototype for os.symlink on Windows adds a "target_is_directory" flag, which indicates whether or not the destination is a directory. Surely we could detect that and pass in the correct value ourselves? A quick GetFileAttributes() call would do. I dou

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-05-25 Thread Kevin Barry
New submission from Kevin Barry : I have been trying to get PyRun_InteractiveLoop to run on a pty (Linux) without replacing stdin and stdout with that pty; however, it seems like Python (2.6.6) is hard-coded to only run interactively on stdin and stdout. Compile the attached program with: >

[issue14796] Calendar module test coverage improved

2012-05-25 Thread Oleg Plakhotnyuk
Changes by Oleg Plakhotnyuk : Added file: http://bugs.python.org/file25705/test_calendar.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue14796] Calendar module test coverage improved

2012-05-25 Thread Oleg Plakhotnyuk
Changes by Oleg Plakhotnyuk : Removed file: http://bugs.python.org/file25632/test_calendar.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-05-25 Thread Jim Jewett
Jim Jewett added the comment: On Thu, May 24, 2012 at 8:11 PM, Brian Curtin added the comment: > does anyone think something like this dialog http://i.imgur.com/18zPD.png be > helpful? yes. > After choosing the directory to install to and before choosing > the features, it's a simple dialog

[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

2012-05-25 Thread Eric V. Smith
Eric V. Smith added the comment: See also test_namespace_pkgs.py ZipWithMissingDirectory.test_missing_directory which is currently marked as expectedFailure. -- ___ Python tracker

[issue14915] pysetup may leave a package in a half-installed state

2012-05-25 Thread Nick Coghlan
New submission from Nick Coghlan : Do "make altinstall" from trunk. Try running "pysetup3.3 install distutils2" This won't work properly, because distutils2 uses Python 2 syntax. However, after running that command: "pysetup3.3 remove distutils2" complains that distutils2 is not installed, bu

[issue14914] pysetup installed distribute despite dry run option being specified

2012-05-25 Thread Nick Coghlan
New submission from Nick Coghlan : After approving the pyvenv PEP, I decided to play around with the other big packaging enhancement in 3.3: pysetup. The following command installed distribute: pysetup3.3 -n install distribute The "-n" *should* have caused that to be a dry run, but it act

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-05-25 Thread Jim Jewett
Jim Jewett added the comment: Chris Lambacher On Wed, Apr 25, 2012 at 10:50 AM, Martin v. Löwis added the comment: > lambacck: I'm -1, but I'm willing to yield ... > regular users won't have to deal with negative > consequences that enabling this by default may have. > I'm quite opposed to y

[issue14548] garbage collection just after multiprocessing's fork causes exceptions

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 59567c117b0e by Richard Oudkerk in branch 'default': Issue #14548: Make multiprocessing finalizers check pid before running http://hg.python.org/cpython/rev/59567c117b0e -- nosy: +python-dev ___ Python t

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 57d6265beaaa by Richard Oudkerk in branch 'default': Issue #12091: simplify ApplyResult and MapResult with threading.Event http://hg.python.org/cpython/rev/57d6265beaaa -- nosy: +python-dev ___ Python tr

[issue12882] mmap crash on Windows

2012-05-25 Thread Richard Oudkerk
Richard Oudkerk added the comment: Without more information I will close this. -- resolution: -> invalid stage: -> committed/rejected status: open -> pending ___ Python tracker __

[issue9400] multiprocessing.pool.AsyncResult.get() messes up exceptions

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

  1   2   >