[issue7198] csv.writer

2010-07-28 Thread Skip Montanaro
Skip Montanaro added the comment: Can you provide me with a concrete example which fails for you? I don't have ready access to a Windows machine with Python on it but should be able to arrange something at work, however before going through the exercise of spending admin time to install Python I

[issue9354] file_wrapper fails to provide getsockopt()

2010-07-28 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83201. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Georg Brandl
Georg Brandl added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9362] Make exit/quit hint more novice friendly

2010-07-28 Thread anatoly techtonik
anatoly techtonik added the comment: >> Why not to ship it in Python by default? > > Because it is under GPL? pyreadline is under BSD. -- ___ Python tracker ___

[issue9362] Make exit/quit hint more novice friendly

2010-07-28 Thread anatoly techtonik
anatoly techtonik added the comment: On Mon, Jul 26, 2010 at 11:48 PM, Mark Lawrence wrote: > > This to me is getting stupid.  Let's make a decision and move on, there are > far more pressing issues that need attention. Do you think that getting `readline` module to run on Windows is stupid?

[issue9362] Make exit/quit hint more novice friendly

2010-07-28 Thread Tim Golden
Tim Golden added the comment: Not necessarily; pyreadline takes over from the standard console functionality on Windows in order to emulate a more Unix-ish approach. I prefer the Windows default. There's nothing to stop someone downloading and installing pyreadline as a third-party package on W

[issue9393] shelve.open/bsddb.hashopen raise Exception'No such file or directory'for "Chinese path"

2010-07-28 Thread wjm251
New submission from wjm251 : Windows XP Simple Chinese Version in python2.5,Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 I have a directory "D:\你好新建文件夹" my code is as follows: #-- temppath = u"D:\\你好新建文件夹\\a" import sh

[issue9394] shelve.open/bsddb.hashopen raise bsddb.db.DBNoSuchFileError: (2, 'No such file or directory') with Chinese Path

2010-07-28 Thread wjm251
New submission from wjm251 : Windows XP Simple Chinese Version in python2.5,Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 I have a directory "D:\你好新建文件夹" my code is as follows: #-- temppath = u"D:\\你好新建文件夹\\a" import sh

[issue9394] shelve.open/bsddb.hashopen raise bsddb.db.DBNoSuchFileError: (2, 'No such file or directory') with Chinese Path

2010-07-28 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> shelve.open/bsddb.hashopen raise Exception'No such file or directory'for "Chinese path" ___ Python tracker

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo title: shelve.open/bsddb.hashopen raise Exception'No such file or directory'for "Chinese path" -> shelve.open/bsddb.hashopen exception with unicode paths type: -> behavior ___ Python tracker

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

2010-07-28 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +benjamin.peterson, merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue818201] distutils: clean does not use build_base option from build

2010-07-28 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> tarek nosy: +merwok stage: -> unit test needed title: distutils: clean -b ignored; set_undefined_options doesn't -> distutils: clean does not use build_base option from build type: -> behavior versions: -Python 2.3 __

[issue809846] distutils/bdistwin32 doesn't clean up RO files properly

2010-07-28 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> tarek nosy: +merwok stage: -> unit test needed type: -> behavior versions: -Python 2.3 ___ Python tracker ___ __

[issue9395] clean does not remove all temp files

2010-07-28 Thread Éric Araujo
New submission from Éric Araujo : The clean command does not delete all build artifacts. -- assignee: tarek components: Distutils, Distutils2 messages: 111781 nosy: exarkun, merwok, tarek priority: normal severity: normal stage: unit test needed status: open title: clean does not remove

[issue5006] Duplicate UTF-16 BOM if a file is open in append mode

2010-07-28 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5412] extend configparser to support [] syntax

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: I’d find more natural to have cp['spam'] return the section (as a dict) and cp['spam']['ham'] return the value. -- nosy: +merwok ___ Python tracker __

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: I made some minor remarks on rietveld, it seems they’re saved but no email has come here. -- nosy: +merwok ___ Python tracker ___ _

[issue989712] Support using Tk without a mainloop

2010-07-28 Thread C. E. Ball
Changes by C. E. Ball : -- nosy: +ceball ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: Guilherme, I suggest you ask about that on pydev and/or idle-dev, or just commit the addition of PendingDeprecationWarnings and wait for reactions. -- nosy: +merwok ___ Python tracker

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: Ah, the tracker does not know the address I use for Google, sorry. My comments are visible on Rietveld. -- ___ Python tracker ___ _

[issue5412] extend configparser to support [] syntax

2010-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: Éric, first thing: forget about the current patch because it's very much incomplete. Second thing, while I normally would agree with you about the ['section']['key'] idea, in this case the current syntax has following advantages: - we can implement a cohesive

[issue7198] Extraneous newlines with csv.writer on Windows

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: Bob, can you give us some code to reproduce the problem, in the form or a unit test or even just a regular function? It will help confirm the bug and fix it. -- nosy: +merwok stage: -> unit test needed title: csv.writer -> Extraneous newlines with csv.wr

[issue1682942] ConfigParser support for alt delimiters

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

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

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: I guess it's the problem with lib2to3/fixes/fix_urllib.py. Indentation is not taken into consideration when fix "import". Fix it with indentation taken into consideration maybe a little complex, but here is a simple and ugly fix: when one import statement was tran

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: New patch after review by Éric Araujo. The difference between the last one and the current is cosmetic: --- Lib/configparser.py 2010-07-27 11:36:51.0 +0200 +++ Lib/configparser.py.2 2010-07-28 13:05:39.0 +0200 @@ -117,3 +117,2 @@ import re

[issue9396] Standardise (and publish?) cache handling in standard library

2010-07-28 Thread Nick Coghlan
New submission from Nick Coghlan : The standard library has several cache implementations (e.g. in re, fnmatch and ElementTree) with different cache size limiting strategies. These should be standardised and possibly even exposed for general use. Refer to python-dev discussion: http://mail.pyt

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: I advised putting a blankline between the first line of a docstring and the rest of it, not between the docstring and the body of the function. Re. prefix, Wordnet is more precise than Collins here: “an affix that is added in front of the word”. A prefix is not

[issue7198] Extraneous newlines with csv.writer on Windows

2010-07-28 Thread Bob Cannon
Bob Cannon added the comment: Eric, This issue was resolved for me by Skip Montanaro's response less than an hour after I posted it. I didn't understand why a text file had to be binary, but I no longer had a problem with extraneous. In looking back at my message 94441, I think that it was

[issue7198] Extraneous newlines with csv.writer on Windows

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: If the documentation is not clear enough about requiring binary, it is a doc bug. (P.S. Please strip unneeded quotes. Thanks) -- ___ Python tracker _

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

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: When one import statement is split to two or more, we encounter this problem: the indentation of the import statements except the first one is unknown, and is difficult to fix this problem, since a import maybe in a multi-statement line, like: 'a=1;import sys'. I

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread wjm251
wjm251 added the comment: I think it is supposed that unicode paths and GBK encoded str objects will be ok in Windows. But only UTF-8 encoded str can -- ___ Python tracker ___ _

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

2010-07-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: You haven't attached the new patch. -- ___ Python tracker ___ ___ Python-bugs-l

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: shelve uses anydbm which uses gdbm, dbm or bsddbm. Attached patch fixes gdbm and dbm (replace "s" format by "et" with Py_FileSystemDefaultEncoding). bsddbm is harder to fix: bsdhashopen(), bsdbtopen() and bsdrnopen() have to be fixed, and they accept None for

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

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: Oh, sorry, here is the patch. -- Added file: http://bugs.python.org/file18229/mkdir.diff ___ Python tracker ___ _

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +patch Added file: http://bugs.python.org/file18230/dbm_open_unicode-27.patch ___ Python tracker ___ _

[issue5412] extend configparser to support [] syntax

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: lukasz, > - manipulation on the internal structures is much simpler when we have a > single key like that. Having config['name'] return the section would make us > create another proxy object just to support mutating keys in the section. I'm afraid this could not

[issue5412] extend configparser to support [] syntax

2010-07-28 Thread Michael Foord
Michael Foord added the comment: As in ConfigParser you are always accessing a section and value I'm happy with tuple indexing. -- ___ Python tracker ___ ___

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread wjm251
wjm251 added the comment: sorry I donot know exactly your meaning, what does these mean: "s" format by "et " , "z" format and I'm not familiar with the C/C++ do you mean that I can use the attached patch to complie a new Python dll? but it seams that in My PC the shelve module always uses bsd

[issue7330] PyUnicode_FromFormat segfault

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: I feel it's not proper to allow the width restrict on types %S, %R, %A. These types correspond to PyObject_Str(), PyObject_Repr, PyObject_ASCII() respectively, the results of them are usually a complete string representation of a object. If you put a width restric

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Georg Brandl
Georg Brandl added the comment: Committed an extensively edited patch in r83202. Thanks all! -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue9315] The trace module lacks unit tests

2010-07-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Alexander, it looks like you broke all the 2.7 buildbots. Could you take a look, please? -- nosy: +pitrou ___ Python tracker ___ __

[issue9315] The trace module lacks unit tests

2010-07-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am on a train. Can take a look in about an hour, but I did not commit anything related to this issue recently. On Jul 28, 2010, at 9:30 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Alexander, it looks like you broke all the

[issue9315] The trace module lacks unit tests

2010-07-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: test test_sys_setprofile crashed -- : cannot import name support Traceback (most recent call last): File "./Lib/test/regrtest.py", line 863, in runtest_inner File "/home/buildbot/slave/py-build/2.7.norwitz-amd64/build/Lib/test/test_sys_setprofile.py", lin

[issue7490] IGNORE_EXCEPTION_DETAIL should ignore the module name

2010-07-28 Thread Peter
Peter added the comment: I take it the IGNORE_EXCEPTION_DETAIL should ignore the module name fix will not be applied to Python 3.1.x? Is there a separate bug to enhance 2to3 to turn IGNORE_EXCEPTION_DETAIL on? -- nosy: +maubp ___ Python tracker

[issue7330] PyUnicode_FromFormat segfault

2010-07-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ray.Allen wrote: > > Ray.Allen added the comment: > > I feel it's not proper to allow the width restrict on types %S, %R, %A. These > types correspond to PyObject_Str(), PyObject_Repr, PyObject_ASCII() > respectively, the results of them are usually a c

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: Same patch for Python 3.2. -- Added file: http://bugs.python.org/file18231/dbm_open_unicode-32.patch ___ Python tracker ___

[issue9315] The trace module lacks unit tests

2010-07-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Yep, this looks like me. Will fix shortly. Feel free to revert my change if it stops you. On Jul 28, 2010, at 9:39 AM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > test test_sys_setprofile crashed -- : > cannot import name supp

[issue9217] 2to3 crashes with some doctests

2010-07-28 Thread Peter
Changes by Peter : -- nosy: +maubp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailma

[issue9217] 2to3 doctests

2010-07-28 Thread Peter
Changes by Peter : -- title: 2to3 crashes with some doctests -> 2to3 doctests ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9217] 2to3 crashes with some doctests

2010-07-28 Thread Peter
Peter added the comment: Reverted accidental title change - had keyboard focus on the page not the address bar I think. Sorry! -- title: 2to3 doctests -> 2to3 crashes with some doctests ___ Python tracker _

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread R. David Murray
R. David Murray added the comment: Victor's comments were addressed to the python development community and concern python internals. Given that only bsddb exists on windows by default, his patches unfortunately don't do you any good. I'm adding jcea as nosy in case he wants to/can deal wit

[issue9397] Remove references to the missing dbm.bsd module

2010-07-28 Thread STINNER Victor
New submission from STINNER Victor : dbm doc tells that there is a dbm.bsd module, but no, there is not. The third party module, pybsddb (or "bsddb3"), is installed as "bsddb3". Python3 dbm module was created by #2881 (r63662). Some references to dbm.bsd were removed by r72711, but not all. -

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: It looks like bsddb (dbm.bsd) module doesn't exist anymore in Python3: see issue #9397. It's now maintained in the third party module pybsddb. -- ___ Python tracker __

[issue9172] zipfile.extractall always raises an OSError after successfully unzipping all files

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: I didn't see this problem in py2.7 and py3k on debian linux. Is this windows specific or this bug has been fixed since py2.7? -- nosy: +ysj.ray ___ Python tracker _

[issue9315] The trace module lacks unit tests

2010-07-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > test test_sys_setprofile crashed ... Fixed in r83204 - r83206. -- ___ Python tracker ___ __

[issue9393] shelve.open/bsddb.hashopen exception with unicode paths

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: New patch for bsddb module: create parse_filename() function, based on Python3 PyUnicode_FSConverter() but it accepts None. I didn't tested the patch because I'm unable to compile the module. It looks like it should use db_185.h instead of db.h, and link to a

[issue8776] Bytes version of sys.argv

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: > Using that approach would work on POSIX systems. As os.environb, I think that sys.argv should not exist on Windows. > Another problem I see is synchronizing the two os.environ and os.environb are synchronized. It would be possible to do the same with sys.a

[issue8776] Bytes version of sys.argv

2010-07-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > >> Using that approach would work on POSIX systems. > > As os.environb, I think that sys.argv should not exist on Windows. > >> Another problem I see is synchronizing the two > > os.environ

[issue7330] PyUnicode_FromFormat segfault

2010-07-28 Thread Eric Smith
Eric Smith added the comment: I think under the "we're all consenting adults" doctrine that it should be allowed. If you really want that behavior, why force the char*/%s dance at each call site when it's easy enough to do it in one place? I don't think anyone supplying a width would really b

[issue5412] extend configparser to support mapping access(__*item__)

2010-07-28 Thread Éric Araujo
Éric Araujo added the comment: Note that the two versions are not exclusive: We can look for an item if a tuple is given and look for a section if it’s a string. Maybe confusing. > - we can implement a cohesive mapping protocol that extends to get(), > del, in, etc. For now get() seems somewha

[issue5412] extend configparser to support mapping access(__*item__)

2010-07-28 Thread Michael Foord
Michael Foord added the comment: > The winning argument in my opinion is user convenience Well yes, for me too - as the user will always be operating on (section, key) pairs the extra level of indirection seems pointless. -- ___ Python tracker

[issue9398] Unify sys.settrace and sys.setprofile tests

2010-07-28 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Th sys.settrace and sys.setprofile functions have the same interface an very similar purpose. The difference is in the types of events that get reported. However the tests for these functions are implemented separately and cover different sets of sc

[issue9398] Unify sys.settrace and sys.setprofile tests

2010-07-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +eli.bendersky, ncoghlan, tjreedy ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9399] Provide a 'print' action for argparse

2010-07-28 Thread Dennis Malcorps
New submission from Dennis Malcorps : Currently argparse has a 'version' action which can be triggered by user defined options which prints out a custom string. parser.add_argument("--version", action="version", version="test 1.2.3") Since the 'version' action can be added multiple times, it c

[issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Since mhlib has gone from py3k is there any interest in applying this to 2.6 or 2.7, given that there's been no response to msg98232? -- components: +Library (Lib) nosy: +BreamoreBoy ___ Python tracker

[issue7615] unicode_escape codec does not escape quotes

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Could we please have some responses to msg98327 as there are some very positive comments there. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

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

2010-07-28 Thread Nikolaus Rath
New submission from Nikolaus Rath : The attached test program calls apply_async with a function that will raise CalledProcessError. However, when result.get() is called, it raises a TypeError and the program hangs: $ ./bug.py ERROR:root:ops Traceback (most recent call last): File "./bug.py",

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Tried this on windows against 2.7 don't see why it can't go forward. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue5362] Add configure option to disable Py3k warnings

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Both msg98465 and msg98466 agree that this should not be a configuration variable. I think a new patch is needed which follows the suggested solutions from the two messages given. -- nosy: +BreamoreBoy ___ Python t

[issue5077] 2to3 fixer for the removal of operator functions

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: I see too many changes with tortoisesvn to make sense of this. Could someone with more experience please take a look, thanks. -- nosy: +BreamoreBoy ___ Python tracker

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

2010-07-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: I modified the patch slightly (so that it takes care of path, query, params and fragments). Fixed in r83209,r83210 and r83211. I also think that we need to move the robotparser to allow regexs in the allow and disallow patterns. ( Shall open an issue in the

[issue9105] pickle security note should be more prominent

2010-07-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7198] Extraneous newlines with csv.writer on Windows

2010-07-28 Thread Skip Montanaro
Skip Montanaro added the comment: I got access to Python 2.6.5 on Windows and ran this simple example: Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. ***

[issue9401] automatically try forward operations when reverse operations are NotImplemented

2010-07-28 Thread Michael Gilbert
New submission from Michael Gilbert : in order to make overrides simpler, and more obvious to average developers, it would be very useful to automatically call the forward operations (e.g. __mul__) when the reverse operations (e.g. __rmul__) are NotImplemented. i spent quite a bit of time tr

[issue9183] Intern UTC timezone

2010-07-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Updated issue9183a.diff patch combines C and Python code changes since datetime.py is now in stdlib. Does anyone want to review before it goes in? -- components: +Library (Lib) resolution: -> accepted Added file: http://bugs.python.org/file182

[issue9183] Intern UTC timezone

2010-07-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9051] Improve pickle format for aware datetime instances

2010-07-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +Intern UTC timezone ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7447] Sum() doc and behavior mismatch

2010-07-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am puzzled that the fake name 'itertools.itertools.chain.from_iterable' works better than the real name 'itertools.chain.from_iterable'. Some bug in the tool chain? -- ___ Python tracker

[issue7615] unicode_escape codec does not escape quotes

2010-07-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Mark Lawrence wrote: > > Mark Lawrence added the comment: > > Could we please have some responses to msg98327 as there are some very > positive comments there. A patch implementing the suggestions would be even better :-) -- __

[issue8911] regrtest.main should have a test skipping argument

2010-07-28 Thread Jerry Seutter
Jerry Seutter added the comment: Hi Brett (and others) I'm thinking of making the following changes: 1. In Lib/test/regrtest.py, move command line parsing out of main() into a function called parse_command_line() 2. parse_command_line() will parse command line settings and store them in a d

[issue5680] Command-line arguments when running in IDLE

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Putting tjr and tal on nosy list cos it's IDLE. Apologies if I've got it wrong. -- nosy: +BreamoreBoy, taleinat, tjreedy versions: +Python 3.2 ___ Python tracker __

[issue7877] Iterators over _winreg EnumKey and EnumValue results

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian: @Tim: just a gentle nudge in the ribs in case this has slipped under the radar. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone with linux experience please review the patch. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-07-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever title: ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC -> ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC versions: +Python 2.7, Python 3.1, Python 3.2 __

[issue5223] infinite recursion in PyErr_WriteUnraisable

2010-07-28 Thread Mark Lawrence
Mark Lawrence added the comment: Could the experts who have previously commented please advise as to whether this issue should be open, closed or whatever. -- nosy: +BreamoreBoy ___ Python tracker

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

2010-07-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Does the patch from issue #5504 work for you? -- ___ Python tracker ___ ___ Pyt

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-07-28 Thread Dave Malcolm
Dave Malcolm added the comment: FWIW, the patch for this that I'm currently applying to Fedora's python 2.7 rpms can be seen at: http://cvs.fedoraproject.org/viewvc/devel/python/python-2.7rc1-ctypes-noexecmem.patch?revision=1.1&content-type=text%2Fplain&view=co It doesn't contain the rebase of

[issue9246] os.getcwd() hardcodes max path len

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: Antoine asked me why not using a buffer of MAX_PATH+1 (instead of a dynamic buffer size). I don't know, I just copied/pasted the code from Python2. Extract of getcwd() manpage: Note that on some systems, PATH_MAX may not be a compile-time constant; furt

[issue9402] pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-07-28 Thread STINNER Victor
New submission from STINNER Victor : PyObject_DEL() should not be used to destroy an object because it will break the linked list of allocated objects using in pydebug mode to detect bugs. pyexpat should use Py_DECREF() instead of PyObject_DEL() to destroy an object. Attached patch fixes that.

[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-07-28 Thread STINNER Victor
New submission from STINNER Victor : PyObject_DEL() should not be used to destroy an object because it will break the linked list of allocated objects, list used in pydebug mode to detect bugs. cElementTree should use Py_DECREF() instead of PyObject_DEL() to destroy an objects. Attached patch

[issue3299] Direct calls to PyObject_Del/PyObject_DEL are broken for --with-pydebug

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: > I will open new issues for the two remaining patches. Done: #9402 for pyexpat and #9403 for cElementTree. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue9246] os.getcwd() hardcodes max path len

2010-07-28 Thread Stefan Krah
Stefan Krah added the comment: For 2.x, unlimited path lengths were apparently introduced in issue 2722. This strategy does not work on Solaris and OpenBSD (issue 9185). FreeBSD also seems to support arbitrarily long paths. I would be somewhat surprised though if anyone used them in practice. A

[issue9283] buggy repr for os.environ

2010-07-28 Thread STINNER Victor
STINNER Victor added the comment: Fixed in 3.2 (r83214 + r83215). Other versions are not concerned. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
New submission from Chris Leaf : I have been using IDLE on my previous laptop and it was working well although I have to say I'm still very new to python. I've read around about the issue and can't find any solution I can use. I can run the IDLE GUI through the python command line version by s

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2010-07-28 Thread mike bayer
New submission from mike bayer : I'm not optimistic that this will be reproducible elsewhere. I get a silent failure with 2.6 and a crash dialog with 2.7 with the following script. All elements are necessary, although the "pkg_resources" import may be arbitrary, and reproduces if it comes

[issue9406] ConfigParser exceptions do not subclass StandardError

2010-07-28 Thread James Tatum
New submission from James Tatum : ConfigParser defines a number of exception classes which all ultimately derive from ConfigParser.Error. ConfigParser.Error, however, only derives from Exception. These should all derive from StandardError. -- components: Library (Lib) files: ConfigPars

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I have tried to use Explorer to reach the files and I get a > permission error (the same occurs when trying to reach with the > command prompt). I have tried to change the read only nature of this > folder and it automatically reverts after the attribute is s

[issue9404] IDLE won't launch on XP

2010-07-28 Thread Chris Leaf
Chris Leaf added the comment: Also the IDLE that I do manage to get open really doesn't work correctly, more errors appear on the command line console as I try to do things like close the IDLE window. So that doesn't serve as a useful tool either -- __

[issue9406] ConfigParser exceptions do not subclass StandardError

2010-07-28 Thread James Tatum
Changes by James Tatum : Removed file: http://bugs.python.org/file18237/ConfigParser.StandardError.patch ___ Python tracker ___ ___ Python-bugs

[issue9406] ConfigParser exceptions do not subclass StandardError

2010-07-28 Thread James Tatum
Changes by James Tatum : Added file: http://bugs.python.org/file18238/ConfigParser.StandardError.patch ___ Python tracker ___ ___ Python-bugs-l

  1   2   >