[issue9384] Tkinter windows pop under the terminal in OSX

2010-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: I was more interested in the other problem you mentioned about "pydoc -g" crashing when you search for something. Does "pydoc -k" also crash? The -g option works for me, working or not working depends on the set of installed python packages as the search op

[issue7962] Demo and Tools need to be tested and pruned

2010-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: What Apple does and doesn't ship is not important for this discussion. FWIW: Apple doesn't ship any of the GUI wrappers installed in /Applications, although they seem to ship Applet Builder as part of Developer tools (beets my why the bother). They don't sh

[issue6325] robotparser doesn't handle URL's with query strings

2010-07-26 Thread Michael Stephens
Michael Stephens added the comment: Supplied patch matches rules with query params. -- keywords: +patch nosy: +mikejs Added file: http://bugs.python.org/file18218/6325.diff ___ Python tracker __

[issue7962] Demo and Tools need to be tested and pruned

2010-07-26 Thread Ned Deily
Ned Deily added the comment: >Does this mean that Apple distributes neither Tools nor Demo? That >would be another reason to move anything anyone cares about to Lib. I believe that neither are included in the Apple-supplied Python in OS X, which resides primarily in /System/Library/Framework

[issue9389] Traceback: Exception Shows Code that's On-Disk (Not in memory)

2010-07-26 Thread Guy
New submission from Guy : When an exception is raised and Python's showing a traceback, the lines of the Python scripts are that of those on-disk, not in memory. For example, if I run a Python script which raises an exception, but I edit the line the exception occurs on and save the script in

[issue7962] Demo and Tools need to be tested and pruned

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 11:58 PM, Ned Deily wrote: .. > This has nothing to do with Apple.  "/Applications/Python x.y" is created by > the python.org OS X > installer, not supplied by Apple.  See Mac/BuildScript/build-installer.py for > the details. Do

[issue9388] locale documentation describes non-existing ERA_YEAR constant

2010-07-26 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Grepping through the source tree, reveals a single match for ERA_YEAR: Doc/library/locale.rst:247: .. data:: ERA_YEAR Google search for it shows an OpenSolaris bug report that explains the origin of this constant: """ There appears to be an IBM-pri

[issue7962] Demo and Tools need to be tested and pruned

2010-07-26 Thread Ned Deily
Ned Deily added the comment: "instead of (on a Mac) $ cd /Applications/Python\ 2.6/Extras/Demo/turtle/ $ python turtleDemo.py and I still cannot find where Apple decided to put Tools." This has nothing to do with Apple. "/Applications/Python x.y" is created by the python.org OS X installer,

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-07-26 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-07-26 Thread Ray.Allen
Ray.Allen added the comment: I want to explain "mkdir -p" as this: We want to create a specified directory, if such a directory doesn't exist, then create it. If such a directory already exists, then we have already reached our goal, do nothing. While we port this function to os.makedir(), t

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: What does mkdir -p do, which would at least be a starting point? -- ___ Python tracker ___ ___ Pytho

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-07-26 Thread Ray.Allen
Ray.Allen added the comment: I feel we do too much things in such a function if we change the mod the target directory to the mod we specified. Does anybody feel such behavior maybe dangerous? Because if the function success, we know nothing about weather we create a new directory or we conve

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Brian Curtin
Brian Curtin added the comment: I uploaded the current patch to Rietveld and reviewed it there, CC'ed Łukasz. http://codereview.appspot.com/1848051/show is the link. I only gave the tests a once-over since they failed for not having the test file Łukasz meant to include. I'll review those mor

[issue7962] Demo and Tools need to be tested and pruned

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I wonder if it would be possible as a part of Demo and Tools clean-up to move them into packages under Lib. I would really like to be able to do $ python -m demo.turtle instead of (on a Mac) $ cd /Applications/Python\ 2.6/Extras/Demo/turtle/ $ python

[issue9384] Tkinter windows pop under the terminal in OSX

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is probably Tk issue, but there might me a way that tkinter can work around it. On OSX 10.6, the pre-installed /usr/bin/wish shows the same behavior, but mac ports' /opt/local/bin/wish works fine. -- _

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> accepted stage: patch review -> commit review ___ Python tracker ___ ___ Python-bu

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: issue9387a.diff includes a note in library/tkinter.rst. The note can probably be improved. -- keywords: +patch Added file: http://bugs.python.org/file18217/issue9387a.diff ___ Python tracker

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Éric Araujo
Éric Araujo added the comment: Thanks for explaining. +1 on the patch. Maybe add a note in library/tkinter to explain this way of checking if the installation is right. -- ___ Python tracker __

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2010-07-26 Thread Anders Kaseorg
Anders Kaseorg added the comment: > arguments = *(positional-argument / option) [-- *(positional-argument)] > positional-argument = string > option = foo-option / bar-option > foo-option = "--foo" string > bar-option = "--bar" Er, obviously positional arguments before the first ‘--’ c

[issue9387] Make python -m tkinter run tkinter demo

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 4:16 PM, Éric Araujo wrote: .. > I lack context: Why is being able to run “python -m tkinter” useful? The missing context is in issue 9384. I discovered that python -m tkinter did not work when I was looking for a simple way to

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: Updated the patch after review by Georg Brandl. This version includes documentation updates as well. -- Added file: http://bugs.python.org/file18216/issue1682942.diff ___ Python tracker

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2010-07-26 Thread Anders Kaseorg
Anders Kaseorg added the comment: > I still disagree. You're giving the parser ambiguous input. If a > parser sees "--foo --bar", and "--foo" is a valid option, but "--bar" > is not, this is a legitimately ambiguous situation. There is no ambiguity. According to the way that every standard opt

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18214/issue1682942.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2010-07-26 Thread Steven Bethard
Steven Bethard added the comment: I still disagree. You're giving the parser ambiguous input. If a parser sees "--foo --bar", and "--foo" is a valid option, but "--bar" is not, this is a legitimately ambiguous situation. Either the user really wanted "--bar", and the parser doesn't support it

[issue3402] test_nis is hanging on Solaris

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close this unless someone gives a good reason as to why it should be kept open. -- status: open -> pending ___ Python tracker ___ _

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: c:\py3k\Lib>py32 Python 3.2a0 (py3k:83057M, Jul 22 2010, 15:20:27) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> ^D File "", line 1 ♦ ^ SyntaxError: invalid syntax [49008 refs] >>> This

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Jul 26, 2010, at 4:32 PM, anatoly techtonik wrote: > > Why not to ship it in Python by default? > Because it is under GPL? -- nosy: +Alexander.Belopolsky ___ Python tracker

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: It appears that `import pyreadline` goes ok. It appears that this lib is used for unification of console incompatibilities between platform. Why not to ship it in Python by default? -- ___ Python tracker

[issue1524825] ConfigParser: accept leading whitespace on options+comments

2010-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- superseder: -> ConfigParser support for alt delimiters ___ Python tracker ___ ___ Python-bugs-list m

[issue9387] Make python -m tkinter run tkinter test

2010-07-26 Thread Éric Araujo
Éric Araujo added the comment: I lack context: Why is being able to run “python -m tkinter” useful? Tests can be run directly or via regrtest, and I recall Guido saying that using modules as scripts was an anti-pattern to him, i.e. sometimes useful but not always necessary. -- nosy:

[issue7447] Sum() doc and behavior mismatch

2010-07-26 Thread Leonhard Vogt
Leonhard Vogt added the comment: Thank you. I think the specific list of list example is better for the sum documentation because lists support the + operator. I don't think that someone would consider using sum for chaining arbitrary iterables. What about a concise "To concatenate lists use i

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Brian Curtin
Brian Curtin added the comment: Do you have pyreadline installed? If so, that is causing it. If not, it's something else as Ctrl-D is not an EOF character on Windows. -- ___ Python tracker

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: Something is broken in your 3.1.2 - this is Ctrl-D for me. {{{ Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\~env\Python26>python Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-26 Thread Matthew Barnett
Matthew Barnett added the comment: That's a possibility. I must admit that I don't entirely understand it enough to implement it (the OP said "I don't believe that the algorithm for this is a whole lot more complicated"), and I don't have a need for it myself, but if someone would like to pro

[issue1524825] ConfigParser: accept leading whitespace on options+comments

2010-07-26 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue1524825] ConfigParser: accept leading whitespace on options+comments

2010-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: Implemented as part of issue1682942 since it touches the same code. Moreover, this issue mentions Samba config parsing in the original comment (msg50719) which was not doable without the changes introduced by issue1682942. So I would supersede this issue with i

[issue8834] Define order of Misc/ACKS entries

2010-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: LGTM :) -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +georg.brandl Added file: http://bugs.python.org/file18215/cfgparser.2 ___ Python tracker ___ ___

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: The original patch was of no use because didn't let users specify multicharacter delimiters and comment delimiters. The main goal behind the implementation was making monstrosities like the Samba configuration file work. This is why a sample smb.conf is added t

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-26 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs added the comment: What about a regex flag? Like regex.W or (?w)? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Brian Curtin
Brian Curtin added the comment: Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> ^D File "", line 1 ♦ ^ SyntaxError: invalid syntax -- nosy: +brian.curtin

[issue9387] Make python -m tkinter run tkinter test

2010-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +needs review stage: -> patch review versions: +Python 3.2 ___ Python tracker ___ ___ P

[issue9387] Make python -m tkinter run tkinter test

2010-07-26 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Since tkinter is a package, it requires __main__.py in order to be runnable using -m option. Attached tkinter-m.patch fixes this. -- assignee: belopolsky components: Tkinter files: tkinter-m.py keywords: easy messages: 111654 nosy: belopolsky

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: On Mon, Jul 26, 2010 at 7:03 PM, Alexander Belopolsky wrote: >> >> Could we (easily) add a third line at startup that says how to quit? > > +1 +1 - Type "help", "copyright", "credits" or "license" for more information. + Type "help", "copyright", "credits"

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-26 Thread Matthew Barnett
Matthew Barnett added the comment: No. Wouldn't that break compatibility with 're'? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-26 Thread Dave Malcolm
Changes by Dave Malcolm : -- title: Bad indentation in urllib import fixer with multipe imports -> Bad indentation in urllib import fixer with multiple imports ___ Python tracker ___

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: On Mon, Jul 26, 2010 at 5:32 PM, Alexander Belopolsky wrote: > > I think you missed the point of the story that I posted.  The young > user, who was not completely new to computers, by the way, was not > familiar with "Ctrl"  abbreviation and there was no ke

[issue9315] The trace module lacks unit tests

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 12:49 AM, Eli Bendersky wrote: .. > This raises a question: should method names of classes come after the class > names when appearing > in a trace? Intuitively yes, but I want to investigate some more, probably by > adding a cou

[issue9385] _ctypes module uses 'rwx' mmap() calls

2010-07-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever title: python-2.6.5 and 3.2.1 uses 'rwx' mmap() calls for the ctypes module -> _ctypes module uses 'rwx' mmap() calls versions: +Python 2.7, Python 3.1 ___ Python tracker

[issue9386] Bad indentation in urllib import fixer with multipe imports

2010-07-26 Thread Dave Malcolm
New submission from Dave Malcolm : Running 2to3 on lxml-2.2.6 failed with broken indentation. This fragment from lxml/html/__init__.py: > def open_http_urllib(method, url, values): > ## FIXME: should test that it's not a relative URL or something > try: >from urllib import urlenc

[issue9268] Add annotation option to pickletools.dis

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Reopening as a documentation issue: - manual entry should have a versionchanged - use *arg* instead of 'arg' - add a ReST entry describing -m pickletools -- components: +Documentation nosy: +ezio.melotti status: closed -> open __

[issue9385] python-2.6.5 and 3.2.1 uses 'rwx' mmap() calls for the ctypes module

2010-07-26 Thread Pavel Labushev
Pavel Labushev added the comment: Note that the removing of PROT_EXEC flag doesn't break any ctypes test. -- nosy: +Arach ___ Python tracker ___ _

[issue7077] SysLogHandler can't handle Unicode

2010-07-26 Thread Georg Brandl
Georg Brandl added the comment: There is indeed a problem with the patch: the BOM is put in front of the angle brackets indicating the priority/facility, so the syslog can't find it anymore. The BOM should be put after the brackets. -- nosy: +georg.brandl status: closed -> open

[issue9385] python-2.6.5 and 3.2.1 uses 'rwx' mmap() calls for the ctypes module

2010-07-26 Thread Radoslaw Madej
Radoslaw Madej added the comment: segfault info: # grep 65725f6b /var/log/grsec.log # Jul 27 00:58:53 [kernel] grsec: Segmentation fault occurred at 65725f6b in /home/root/syschroot/usr/bin/python2.6[python2.6:23877] uid/euid:0/0 gid/egid:0/0, parent /home/root/syschroot/bin/bash[bash:25516] u

[issue9385] python-2.6.5 and 3.2.1 uses 'rwx' mmap() calls for the ctypes module

2010-07-26 Thread Radoslaw Madej
New submission from Radoslaw Madej : Hi, Python ctypes module creates a 'rwx' memory mapping (defined in malloc_closure.c) which causes python to crash when running under grsecurity enabled kernel and could also have a negative security impact. Is there any specific need for the mmap call to

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-26 Thread Ezio Melotti
Ezio Melotti added the comment: Does 'regex' implement "default word boundaries" (see #7255)? -- ___ Python tracker ___ ___ Python-bug

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2010-07-26 Thread Ezio Melotti
Ezio Melotti added the comment: #7139 has been closed as duplicate of this and contains a few messages that might be worth reading. -- nosy: +effbot, ezio.melotti, moriyoshi ___ Python tracker

[issue9384] Tkinter windows pop under the terminal in OSX

2010-07-26 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : I believe any Tkinter app will exhibit the same behavior, but I discovered this with idle and verified with wish.py: $ ./python.exe Demo/tkinter/guido/wish.py % quit Traceback (most recent call last): File "Demo/tkinter/guido/wish.py", line 22, in

[issue7742] please avoid 'which' in Modules/ld_so_aix

2010-07-26 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2010-07-22, at 11:56 AM, Stefan Krah wrote: > > Stefan Krah added the comment: > > I'm not sure this should be changed: > > 1) Why is .cshrc sourced? It should only get sourced for a login > shell. /usr/bin/which is a csh script on our AIX mach

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 11:45 AM, Mark Lawrence wrote: > > Mark Lawrence added the comment: > > Could we (easily) add a third line at startup that says how to quit? +1 Alternatively, we can add the second line to help output: Type help() for interacti

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: Could we (easily) add a third line at startup that says how to quit? -- ___ Python tracker ___ ___ Py

[issue6517] Emphasising in the docs configparser.SafeConfigParser over ConfigParser

2010-07-26 Thread Michael Foord
Michael Foord added the comment: Note that the patch doesn't apply cleanly. Łukasz Langa is going to update it. There is still discussion as to whether we should *also* deprecate ConfigParser (well - PendingDeprecation in 3.2, Deprecation in 3.3 and in 3.4 making ConfigParser an alias for Saf

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 10:50 AM, Mark Lawrence wrote: .. > 2) Python is not responsible for dotting every i and crossing every t for a > computer novice. Yes, but it is not responsible for teaching a novice more than one way to exit the interpreter rig

[issue1767933] Badly formed XML using etree and utf-16

2010-07-26 Thread Richard Urwin
Richard Urwin added the comment: As an example, here is the first two lines of output when I use Python 2.6.3: 60 63 120 109 108 32 118 101 114 115 105 111 110 61 39 49 46 48 39 32 101 110 99 111 100 105 110 103 61 39 85 84 70 45 49 54 39 63 62 10 60 255 254 104 0 116 0 109 0 108 0 62 255 254 1

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread Brian Curtin
Brian Curtin added the comment: "svn diff" is already explained a few times in the doc, including the line above the suggested change. -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue9383] PIL Bug with split

2010-07-26 Thread Ezio Melotti
Ezio Melotti added the comment: You should report this on the PIL bug tracker. PIL is not part of the Python standard library. -- nosy: +ezio.melotti resolution: -> invalid stage: -> committed/rejected status: open -> closed type: crash -> behavior __

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: > Brian Curtin added the comment: > > Until Rietveld has a defined place in our workflow, I don't think that's a > good idea. 1. AFAIK Python don't have any workflow. Do you speak about your own workflow? 2. What conditions should become True for you to th

[issue1767933] Badly formed XML using etree and utf-16

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: @Florent: is this something you could pick up, I think it's out of my league. -- ___ Python tracker ___ __

[issue9383] PIL Bug with split

2010-07-26 Thread Arrnaud Fabre
New submission from Arrnaud Fabre : >>> import Image >>> im = Image.open('whatever') >>> im.split() Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 1497, in split if self.im.bands == 1: AttributeError: 'NoneType' object ha

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that the switch to mercurial is months if not years away, so I'd quite happily see just a reference to svn diff. Failing that I wouldn't loose any sleep over closing this, ok to leave it with you Brian? -- __

[issue6517] configparser: add possibility to escape formatstrings

2010-07-26 Thread R. David Murray
R. David Murray added the comment: You are right, IMO, at least the current doc patch should be applied. Please go ahead, if you want to, I won't have time to get to it for a couple of days. Maybe you could come up with a new title for this issue that reflects the concerns being addressed he

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: 1) I'm with Michael on this one. 2) Python is not responsible for dotting every i and crossing every t for a computer novice. What would the novice make of my HP keyboard which doesn't have keys marked RETURN or BS, they both have symbols. There isn't an ANY

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2010-07-26 Thread Dirk Jülich
Dirk Jülich added the comment: Applies also to Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32. -- nosy: +mucisland versions: +Python 2.6 ___ Python tracker __

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 26, 2010 at 9:48 AM, anatoly techtonik wrote: .. > Type exit() or press Ctrl-D to exit. Anatoly, I think you missed the point of the story that I posted. The young user, who was not completely new to computers, by the way, was not familiar

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread Brian Curtin
Brian Curtin added the comment: Until Rietveld has a defined place in our workflow, I don't think that's a good idea. I think that will be a part of the process in the future, but we're not defining that here. -- ___ Python tracker

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: The better way would be > python -m easy_install review > python -m review -- ___ Python tracker ___

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread Michael Foord
Michael Foord added the comment: "svn diff" should be the one true way for creating patches, especially for windows users. This will all change when we switch to mercurial. -- nosy: +michael.foord ___ Python tracker

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread Brian Curtin
Brian Curtin added the comment: I don't think we should have a list of three alternatives to the single way you really should be creating diffs. If you are working on Python you should have Subversion and run "svn diff", or have Mercurual and run "hg diff". I guess I'm -0 on this idea. I also

[issue6517] configparser: add possibility to escape formatstrings

2010-07-26 Thread Michael Foord
Michael Foord added the comment: It is (very) unfortunate that configparser.ConfigParser should *not* be used and that configparser.SafeConfigParser is the correct class instead. I would be *in favour* of deprecating ConfigParser and eventually renaming SafeConfigParser back to ConfigParser (

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread Michael Foord
Michael Foord added the comment: +1 to improving the message and improving the help message too. -- nosy: +michael.foord ___ Python tracker ___ __

[issue9362] Make exit/quit hint more novice friendly

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: On Fri, Jul 23, 2010 at 10:24 PM, Alexander Belopolsky wrote: > I suggest changing > > Use exit() or Ctrl-D (i.e. EOF) to exit > >  to > > Type exit() or quit() and press the Enter key to exit Type exit() or press Ctrl-D to exit. -- nosy: +techtoni

[issue6517] configparser: add possibility to escape formatstrings

2010-07-26 Thread Michael Foord
Michael Foord added the comment: This should just be applied. I'll do it shortly unless there is an objection. -- nosy: +michael.foord ___ Python tracker ___

[issue5412] extend configparser to support [] syntax

2010-07-26 Thread Michael Foord
Michael Foord added the comment: There are no docs or tests in the patch. I like the functionality though and doubt it will be controversial. The current api is a bit "arcane". So +1 from me. -- nosy: +michael.foord ___ Python tracker

[issue4510] ValueError for list.remove() not very helpful

2010-07-26 Thread Tim Lesher
Tim Lesher added the comment: Ugh. That's a reasonable objection. What's the best thing to do in this case, generally speaking? list.index() does print the full repr on a value error; and a quick grep shows a number of other similar uses, although those don't seem to be as easy to trigger i

[issue1682942] ConfigParser support for alt delimiters

2010-07-26 Thread Michael Foord
Michael Foord added the comment: This would change the format of config files that configparser supports. Should there be some discussion of this on python-dev first? The patch for the docs is against the latex docs, so definitely needs updating. -- nosy: +michael.foord _

[issue4686] Exceptions in ConfigParser don't set .args

2010-07-26 Thread Michael Foord
Michael Foord added the comment: Patch doesn't apply cleanly to 3.1 or earlier. As it is *arguably* a new feature rather than a bugfix I'm closing the issue. I certainly wouldn't argue against someone else backporting though... -- stage: commit review -> committed/rejected status: ope

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-07-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Alternatively you could call os.chmod. -- ___ Python tracker ___ ___ Python-bug

[issue1767933] Badly formed XML using etree and utf-16

2010-07-26 Thread Richard Urwin
Richard Urwin added the comment: > Execute bug-test.xml I meant bug-test.py, of course -- ___ Python tracker ___ ___ Python-bugs-l

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-26 Thread anatoly techtonik
anatoly techtonik added the comment: There is diff.py utility that is already available from standard Python distribution. -- nosy: +techtonik ___ Python tracker ___ ___

[issue9299] os.makedirs(): Add a keyword argument to suppress "File exists" exception

2010-07-26 Thread Ray.Allen
Ray.Allen added the comment: Oh, I'm sorry, I forgot about that case. I agree with Arfrever, we should suppress the OSError only if the target file exists as a directory, but not other types. That is, the "exist_ok" argument in makedirs() should mean "dir existing is ok", only existing of th

[issue1767933] Badly formed XML using etree and utf-16

2010-07-26 Thread Richard Urwin
Richard Urwin added the comment: I can't produce an automated test, for want of time, but here is a demonstrator. Grab the example XHTML from http://docs.python.org/library/xml.etree.elementtree.html#elementtree-objects or use some tiny ASCII-encoded xml file. Save it as "file.xml" in the sam

[issue3075] make minidom.toxml() encoding argument useful

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: This is how toprettyxml looks in 3.1/2 which seems to meet the OP's need, I'll close in a few days time unless someone objects. def toprettyxml(self, indent="\t", newl="\n", encoding=None): # indent = the indentation string to prepend, per level # newl

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2010-07-26 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- assignee: akuchling -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue7637] Improve 19.5. xml.dom.minidom doc

2010-07-26 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for the catch; it was intended to be ', avoiding ...'. Fixed in rev83162, along with the sentence simplification you suggest. -- ___ Python tracker

[issue1813] Codec lookup failing under turkish locale

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: Does anyone know if this was discussed on python-dev? I've tried searching the archives and didn't find anything, but that's not to say it isn't there. -- nosy: +BreamoreBoy ___ Python tracker

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: @Thomas: could you provide a unit test to go with your patch. -- nosy: +BreamoreBoy stage: -> unit test needed versions: +Python 3.2 -Python 2.7 ___ Python tracker

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: In msg89685 it's stated that this behaviour is deliberate for ET. Could somebody please comment on the minidom aspects. -- nosy: +BreamoreBoy ___ Python tracker __

[issue9167] argv double encoding on OSX

2010-07-26 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: Ronald, Thank you for the interest. For me trying to deal with such a tricky issue on a system whose Best Before date is already passed would be a waste of time. I was only interested in factor out the bugs in my extension module from the ones not under my

  1   2   >