[issue12014] str.format parses replacement field incorrectly

2012-05-25 Thread Petri Lehtinen
Petri Lehtinen added the comment: I added some comments on rietveld. These are only nit-picking about style and mostly reflect my personal taste, not show stoppers in any case. -- ___ Python tracker _

[issue4841] io's close() not handling errors correctly

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83d500908ffc by Hynek Schlawack in branch '2.7': #4841: Fix FileIO constructor to honor closefd when called repeatedly http://hg.python.org/cpython/rev/83d500908ffc New changeset 8a58670048c9 by Hynek Schlawack in branch '3.2': #4841: Fix FileIO co

[issue4841] io's close() not handling errors correctly

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack added the comment: I’ve committed due to haypo's wish on IRC. ;) -- resolution: -> fixed ___ Python tracker ___ ___ P

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : There's datetime.fromtimestamp() and datetime.timetuple(), but no datetime.timestamp(). It should be possible to round-trip a UNIX timestamp through a datetime.datetime. -- messages: 161558 nosy: djc priority: normal severity: normal status: open t

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack added the comment: Cool, you actually did reviews. :) I’ve updated the patch, anything else? (to my excuse, I originally didn’t want to tamper with code, but now the patch is actually useful and not just pretty ;)) -- Added file: http://bugs.python.org/file25702/ipad

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack added the comment: Seems to work fine in Python 3.2+. Two possibilities: 1. document ca_certs is str only 2. encode with sys.getfilesystemencoding() if unicode Would have to be fixed in ssl.get_server_certificate too and maybe even more, I did just a quick glance.

[issue14909] Fix incorrect use of *Realloc() and *Resize()

2012-05-25 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : A number of places were using PyMem_Realloc() apis and PyObject_GC_Resize() with incorrect error handling. In case of errors, they would leak the original object. This patch fixes those cases. -- files: realloc.diff keywords: patch message

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) nosy: +belopolsky, lemburg type: -> enhancement versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue4841] io's close() not handling errors correctly

2012-05-25 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue14835] plistlib: output empty elements correctly

2012-05-25 Thread Hynek Schlawack
Hynek Schlawack added the comment: Sidney, would you mind adding a regression test for both cases? Ned, Ronald what's your take on this? -- ___ Python tracker ___ _

[issue14835] plistlib: output empty elements correctly

2012-05-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch looks fine, but as you noticed there should be a test case for this. I'm -1 w.r.t. applying this to 3.2 or 2.7, it is a functional change that isn't a bug (Apple's libraries will happily read empty arrays that are written as ). -- ___

[issue14835] plistlib: output empty elements correctly

2012-05-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: Sidney: Would you be willing to sign the contributor agreement? The following page contains more information on the agreement: http://www.python.org/psf/contrib/ -- ___ Python tracker

[issue14910] argparse disable abbreviation

2012-05-25 Thread Jens Jährig
Changes by Jens Jährig : -- components: None nosy: jens.jaehrig priority: normal severity: normal status: open title: argparse disable abbreviation type: enhancement versions: Python 2.6, Python 2.7 ___ Python tracker

[issue14911] generator.throw() documentation inaccurate

2012-05-25 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : the documentation for generator.throw() does not mention the fact that it has the same semantics for the three arguments as a "raise" expression has. The first two arguments can be: throw(exc_type, None) throw(exc_type, value) throw(exc_type, exc_inst

[issue14910] argparse disable abbreviation

2012-05-25 Thread Jens Jährig
New submission from Jens Jährig : argparse uses per default abbreviation in unambiguous cases. I don't want abbreviation and i'd like to disable it. But theres no option to do this. http://docs.python.org/library/argparse.html#argument-abbreviations Only to override the Handler like suggested he

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Jens Jährig
Changes by Jens Jährig : -- title: argparse disable abbreviation -> argparse: disable abbreviation ___ Python tracker ___ ___ Python-b

[issue14912] Pdb does not stop at a breakpoint after a restart command and source changes

2012-05-25 Thread Xavier de Gaye
New submission from Xavier de Gaye : In the following session, main.py is changed just before the restart command. Pdb does not stop at Breakpoint 1 after the last continue. $ python -m pdb main.py > /path_to/main.py(1)() -> def foo(): (Pdb) import sys; print(sys.version) 3.2.2 (default, Dec 27

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See issue2736. -- nosy: +Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs-list mai

[issue3177] Add shutil.open

2012-05-25 Thread Larry Hastings
Larry Hastings added the comment: > As an example, ``os.startfile("a.py")`` will usually run `a.py` > in the Python interpreter, while ``xdg-open a.py`` it will > usually open the source code in an editor on Linux. Well, so how about on UNIX shutil.launch (or whatever it's called) first checks

[issue14913] tokenize the source to manage Pdb breakpoints

2012-05-25 Thread Xavier de Gaye
New submission from Xavier de Gaye : Pdb behavior is not consistent with GNU gdb behavior when setting a breakpoint on an empty line, a comment or a multi-line statement (the breakpoint is ignored by pdb on a non-first line of a multi-line statement and rejected on empty lines or comment lines).

[issue14789] after continue, Pdb stops at a line without a breakpoint

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker ___

[issue14792] setting a bp on current function, Pdb stops at next line although no bp

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker ___

[issue14795] Pdb incorrectly handles a method breakpoint when module not imported

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker ___

[issue14808] Pdb does not stop at a breakpoint set on the line of a function definition

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker ___

[issue14912] Pdb does not stop at a breakpoint after a restart command and source changes

2012-05-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: Parsing the modules source seems a better way to fix this problem, see issue 14913. -- ___ Python tracker ___

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

2012-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f5d2642929a by Richard Oudkerk in branch '2.7': Issue #14881: Allow normal non-main thread to spawn a dummy process http://hg.python.org/cpython/rev/1f5d2642929a New changeset 0528ec18e230 by Richard Oudkerk in branch '3.2': Issue #14881: Allow no

[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-25 Thread Alexander O
Alexander O added the comment: stupid question but why shouldn't this be possible ? class Element(_Element): def __init__(self,name,**kwargs): _Element.__init__(self,name) attributes = kwargs.get("attributes") children = kwargs.get("child

[issue12098] Child process running as debug on Windows

2012-05-25 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ 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 ___ _

[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 __

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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: >

[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

[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

[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

[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

[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

[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

[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

[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

[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:

[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 ___ __

[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

[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

[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 ___ _

[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 _

[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 ___

[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:

[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.

[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

[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

[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

[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-

[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

[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:/

[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

[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

[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

[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

[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. --

[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

[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 ___ ___

[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 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 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 É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 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 ("

[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 __

[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 ___

[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 ___ ___

[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

[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 _

[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

[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 _

[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: ->

[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

[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

[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

[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

[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 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 ___ _

[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 ___ _

[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

[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

[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

[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.

[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
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 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 ___ __

[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

[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

[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

  1   2   >