[issue1708652] Exact matching

2010-09-17 Thread Georg Brandl
Georg Brandl added the comment: I'm not sure it really is so useful that it warrants a new regex method. -- nosy: +georg.brandl ___ Python tracker ___

[issue923697] SAX2 'property_encoding' feature not supported

2010-09-17 Thread Joseph Walton
Joseph Walton added the comment: The behaviour is unchanged in Python 3.1 and the sample program still fails. -- versions: +Python 3.1 ___ Python tracker ___ __

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-09-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +theller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9871] IDLE dies when using some regex

2010-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified as IDLE specific on WinXP, 3.1.2 With interpreter, I get >>> import re; re.findall(b"\x.{2}", b"sdds\xd8") ValueError: invalid \x escape In an IDLE Shell window, the window immediately disappears when I hit return and the taskbar button disappears ab

[issue9859] Add tests to verify API match of modules with 2 implementations

2010-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: +1 I presume you can use the experience with #9858 to either refine the program to have fewer false positives or refine the program doc to explain the possibility where such are unavoidable. (And as a lint-like metatest, I think false positives are better tha

[issue9856] Change object.__format__(s) where s is non-empty to a DeprecationWarning

2010-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps this could be expanded to "Deprecation warnings in 3.3" with release-blocker priority to list all 3.2 PendingDWs. Once changes are made, it could be retitled "Removals in 3.4", with a new "Deprecation warnings in 3.4" added. -- nosy: +terry.r

[issue9842] Document ... used in recursive repr of containers

2010-09-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have skipped the mode tests on windows platforms, as they are not really applicable. Lets see the buildbots status and close the bug. -- ___ Python tracker _

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

2010-09-17 Thread Matthew Barnett
Matthew Barnett added the comment: issue2636-20100918.zip is a new version of the regex module. I've added 'pos' and 'endpos' arguments to regex.sub and regex.subn and refactored a little. I can't think of any other features that need to be added or see any more speed improvements. Have I m

[issue9808] Implement os.getlogin on Windows

2010-09-17 Thread Jon Anglin
Jon Anglin added the comment: The _countof(_x_) macro expands to something like this: sizeof(_x_)/sizeof(_x_[0]) This was an attempt by Microsoft to mitigate some buffer overrun issues. I have gotten in the habit of using it as it is less verbose. I have uploaded a new issue9808.diff f

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nick Coghlan
Nick Coghlan added the comment: The suggestion in http://bugs.python.org/issue6627#msg116722 is a good one. This a case where the user may legitimately not realise that threading.local is stored in the *temporary* state created by ctypes rather than in something more persistent inside the int

[issue9890] Visual C++ Runtime Library Error is there a fix?

2010-09-17 Thread Dylon
New submission from Dylon : I attempt to run the program (IDLE) after a fresh install of Python x86 on windows 7 32-bit and it gives me this error: "Runtime Error! Program: C:\Program Files\Python\pythonw.exe This application has requested the Runtime to terminate it in an unusual way. Please

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Here is the result of second run. -- ビルド開始: プロジェクト: _ssl, 構成: Debug Win32 -- ビルド前のイベントを実行しています... Can not find a suitable PERL: NO perl interpreters were found on this machine at all! Please install ActivePerl and ensure it appears on your path No

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I hope attached patch will fix this. I used shutil.copy2 to retain modified time. (Actually, I tested on VS8.0 with equivalent change, I didn't test this file directly) -- keywords: +patch nosy: +ocean-city Added file: http://bugs.python.org/file189

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: libtomcrypt is a _great_ library. That is what hashlib uses for the hash algorithms when OpenSSL is not available. But the _primary_ reason for using OpenSSL is that it is the defacto open source location for the best architecture specific implementations

[issue8589] test_warnings.CEnvironmentVariableTests.test_nonascii fails under an ascii terminal

2010-09-17 Thread STINNER Victor
STINNER Victor added the comment: I don't see any test_warnings anymore on http://code.google.com/p/bbreport/wiki/PythonBuildbotReport. Close this issue. -- status: open -> closed ___ Python tracker __

[issue9441] increase logging handlers test coverage

2010-09-17 Thread Vinay Sajip
Vinay Sajip added the comment: Okay, I've temporarily commented out TimedRotatingFileHandlerTest tests, while I investigate further. Let's see how the buildbots cope now. -- resolution: fixed -> accepted stage: committed/rejected -> commit review __

[issue767645] incorrect os.path.supports_unicode_filenames

2010-09-17 Thread STINNER Victor
STINNER Victor added the comment: > No problems noted with a quick test of posixpath_darwin.patch > on 10.6 so looks good. Ok thanks. Fix commited to 3.2 (r84866) and 2.7 (r84868). I kept my patch on macpath (supports_unicode_filenames=True) because it is still valid (even if it is not used)

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Dave Malcolm
Dave Malcolm added the comment: FWIW, one of my RH colleagues (John Dennis) has written a set of Python bindings for NSS: http://fedoraproject.org/wiki/Features/PythonNSS (Though that seems to me to be a slightly different thing to a general-purpose crypto lib that happens to be written usi

[issue8998] add crypto routines to stdlib

2010-09-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1730136] tkFont.__eq__ gives type error

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Fixed in r84865. -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le vendredi 17 septembre 2010 à 23:14 +, Dave Malcolm a écrit : > Dave Malcolm added the comment: > > On Fri, 2010-09-17 at 23:11 +, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > > > > How about nss? As a bonus, this would also avo

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > I should note that I can't touch anything to do with Elliptic Curve crypto. > I don't know if I can comment on the reasons for that. Hopefully anything ECC related can be done separately. There's certainly no ECC APIs in Python now, so there would be

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Dave Malcolm
Dave Malcolm added the comment: I should note that I can't touch anything to do with Elliptic Curve crypto. I don't know if I can comment on the reasons for that. -- ___ Python tracker ___

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: What it will bring: APIs which aren't absolutely insane; full SSL support; RSA, DSA, ECDSA, Diffie-Hellman, EC Diffie-Hellman, AES, Triple DES, DES, RC2, RC4, SHA-1, SHA-256, SHA-384, SHA-512, MD2, MD5, HMAC: Common cryptographic algorithms used in publi

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Dave Malcolm
Dave Malcolm added the comment: On Fri, 2010-09-17 at 23:11 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > > How about nss? As a bonus, this would also avoid making more work for > > Fedora (). > > Well, similar q

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > How about nss? As a bonus, this would also avoid making more work for > Fedora (). Well, similar question: what will it bring and who will do the work? :) (Fedora perhaps?) -- ___

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: How about nss? As a bonus, this would also avoid making more work for Fedora (). -- ___ Python tracker _

[issue8998] add crypto routines to stdlib

2010-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > May I recommend using libtomcrypt instead of openssl because of the > advertising problem outlined here? Changing libraries because of an "advertising problem" doesn't sound reasonable. The latter is much more easily solved than the former. Besides, libtomcr

[issue1706323] Updated ASTVisitor Classes

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Indeed, this module has little value now that ast.py is in stdlib. -- nosy: +amaury.forgeotdarc resolution: -> out of date status: open -> closed ___ Python tracker _

[issue1736792] dict reentrant/threading request

2010-09-17 Thread Adam Olsen
Adam Olsen added the comment: I don't believe there's anything to debate on this, so all it really needs is a patch, followed by getting someone to review and commit it. -- ___ Python tracker __

[issue8998] add crypto routines to stdlib

2010-09-17 Thread lorph
lorph added the comment: May I recommend using libtomcrypt instead of openssl because of the advertising problem outlined here? http://bugs.python.org/issue9119 In my opinion, libtomcrypt is easier to use and cleaner. It compiles on Windows without requiring Perl, and is free of the advertis

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nikolaus Rath
Nikolaus Rath added the comment: One point of ctypes is to save the user the trouble of having to create a full blown C extension, so I don't think it's reasonable to expect a ctypes user to have read the full C API documentation as well. Only a very small subset of the page that you gave is

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This is not specific to ctypes. Please read http://docs.python.org/c-api/init.html#thread-state-and-the-global-interpreter-lock specially the paragraph that says "...when threads are created from C...". Is it explicit enough? How would you change it? ---

[issue1708652] Exact matching

2010-09-17 Thread Tom Lynn
Tom Lynn added the comment: I don't know whether it should stand, I'm somewhere around 0 on it myself. So I guess that means it shouldn't, since it's easier to add features than remove them. The problem is that once you're aware of the need for it you need it less. In case other people are +1

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread Brian Bernstein
Brian Bernstein added the comment: After further investigation, it appears the cause is the ability to overflow the datetime object by almost a year. I've modified the test to demonstrate this relative to the current date: from datetime import date, datetime, timedelta (datetime.now()-timede

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nikolaus Rath
Nikolaus Rath added the comment: To be a bit more constructive, why not add something like this in paragraph to http://docs.python.org/library/ctypes.html#callback-functions: "Note that if the callback function is called in a new thread that has been created outside of Python's control (i.e.,

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nikolaus Rath
Nikolaus Rath added the comment: No, I am not saying that the behaviour of ctypes is wrong. It just happens to have some effects on threading.local that I think should be documented. That's why I reassigned this as a documentation bug. Please reconsider closing this bug. I'm also happy to ch

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > ctypes performs the initializations in a way that break the > threading.local functionality. Not quite. ctypes (or more exactly: the PyGILState_Ensure() and PyGILState_Release() functions, which are the standard API to do this) is in a situation wher

[issue1451466] reading very large files

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: issue1744752 describes why it's probably a bug in the C library. possible workarounds are to open the files in universal mode, to use io.open(), or to switch to python 3! -- nosy: +amaury.forgeotdarc resolution: -> wont fix status: open -> close

[issue1672853] Error reading files larger than 4GB

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: issue1744752 describes why it's probably a bug in the C library. possible workarounds are to open the files in universal mode, to use io.open(), or to switch to python 3! -- nosy: +amaury.forgeotdarc resolution: -> wont fix status: open -> close

[issue1142] code sample showing errors reading large files with py 2.5/3.0

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: issue1744752 describes why it's probably a bug in the C library. possible workarounds are to open the files in universal mode, to use io.open(), or to switch to python 3! -- nosy: +amaury.forgeotdarc resolution: -> wont fix status: open -> close

[issue1744752] Newline skipped in "for line in file" for huge file

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I think there's actually a bug in the MSVCRT read() function, which was not too hard to spot (see explanation below). In short, a CRLF file opened in text mode may skip a newline after 4GB. I'm re-closing the issue as "won't fix". There's really nothin

[issue9889] PyUnicode_FormatV and Py_UNICODE*?

2010-09-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1757057] Unexpected "maximum recursion depth exceeded" in IDLE shell with objects that cannot be pickled

2010-09-17 Thread Ned Deily
Ned Deily added the comment: While BeautifulSoup may have been fixed, the issue here still points to an underlying problem in IDLE being vulnerable to pickling errors. The given test case still fails in 2.7 (I didn't try to construct a test for Python 3). -- nosy: +kbk, ned.deily res

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9889] PyUnicode_FormatV and Py_UNICODE*?

2010-09-17 Thread Michael Kleehammer
New submission from Michael Kleehammer : Using Py_UNICODE* in Python 3 C extensions is significantly more cumbersome than using char* was in Python 2.x. One addition that could help would be a Py_UNICODE* format type for PyUnicode_FormatV. Many printf libraries us %S for wchar_t which would h

[issue9441] increase logging handlers test coverage

2010-09-17 Thread R. David Murray
R. David Murray added the comment: It looks like we are getting buildbot failures as a result of this checkin: http://www.python.org/dev/buildbot/all/builders/i386 Ubuntu 3.x/builds/2216/steps/test/logs/stdio -- nosy: +r.david.murray status: closed -> open _

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread R. David Murray
R. David Murray added the comment: This does not reproduce for me on python2.6.5 gentoo linux; however, gentoo linux does have some additional post 2.6.5 patches applied. It also does not reproduce on 2.7. -- nosy: +barry, r.david.murray ___ Python

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue9441] increase logging handlers test coverage

2010-09-17 Thread Vinay Sajip
Vinay Sajip added the comment: Okay, the tests now pass and I've committed the path to py3k (r84864). Thanks, Tom and Alexander. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> feature request ___ Python track

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nikolaus Rath
Changes by Nikolaus Rath : -- resolution: invalid -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nikolaus Rath
Nikolaus Rath added the comment: @Swapnil: the rules you quote are correct for the C extension, but do not apply when using ctypes, because ctypes is doing the required initializations automatically. However, if Amaury is correct, ctypes performs the initializations in a way that break the t

[issue1744752] Newline skipped in "for line in file" for huge file

2010-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: We need a reproducible test before being able to go forward with this. At the very least, that would help isolate whether this is a build specific C library issue. -- nosy: +rhettinger resolution: -> invalid status: open -> closed __

[issue1175004] Export more libreadline API functions

2010-09-17 Thread Ned Deily
Ned Deily added the comment: Issue1744456 contains a different patch to implement readline callbacks. Suggest that anyone moving forward with this review both patches. -- nosy: +ned.deily ___ Python tracker __

[issue1744456] Patch for feat. 1713877 Expose callbackAPI in readline module

2010-09-17 Thread Ned Deily
Ned Deily added the comment: This appears to be a duplicate of Issue1175004; both supply patches to implement readline callbacks. Suggest that anyone moving forward with this review both patches. -- nosy: +ned.deily resolution: -> duplicate superseder: -> Export more libreadline AP

[issue1739789] Accelerate attr dict lookups

2010-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: This was an interesting idea. Essentially, it created cell-style objects for entries in a global dict so that functions using load_global could access and update the values directly. All dicts paid a price for this, but only module dicts would benefit. A

[issue1757057] IDLE + BeautifulSoup = Error

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can we close this given "This is caused by a bug in BeautifulSoup which was fixed in version 3.0.5." from msg84412? -- nosy: +BreamoreBoy resolution: -> invalid status: open -> pending ___ Python tracker

[issue1753718] base64 "legacy" functions violate RFC 3548

2010-09-17 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: barry -> d...@python nosy: +d...@python versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___

[issue9886] Make operator.itemgetter/attrgetter/methodcaller easier to discover

2010-09-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: d...@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mai

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can't see much sense in keeping a duplicate open. -- nosy: +BreamoreBoy status: open -> closed ___ Python tracker ___

[issue1751519] curses - new window methods: addchstr and addchnstr

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Doc additions haven't been included with the patches. -- nosy: +BreamoreBoy stage: -> patch review type: -> feature request versions: +Python 3.2 ___ Python tracker ___

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-17 Thread R. David Murray
R. David Murray added the comment: This update appears to be turning the windows buildbots red. See for example http://www.python.org/dev/buildbot/all/builders/x86 XP-4 3.1/builds/1230/steps/test/logs/stdio. -- nosy: +r.david.murray status: closed -> open ___

[issue1749512] imaplib cannot handle mailboxes with ACL: lrs

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: @Florian this won't go anywhere unles the patch includes doc and unit test changes. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread Brian Bernstein
New submission from Brian Bernstein : When creating an int overflow via a subtraction operation with a datetime object and a timedelta object, the resulting datetime object can cause a segmentation fault when the ctime method is called. Segmentation Fault occurred on python 2.6.5 on 64 bit ubu

[issue1745761] Bad attributes/data handling in SGMLib

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can we close this as sgmllib only supported htmllib which has been superseded by HTMLParser? -- nosy: +BreamoreBoy versions: +Python 2.7 -Python 2.6 ___ Python tracker _

[issue1745035] DoS smtpd vulnerability

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Given the title, type and severity shouldn't someone take a look at this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue1744752] Newline skipped in "for line in file" for huge file

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian/Tim any thoughts on this? -- nosy: +BreamoreBoy, brian.curtin, tim.golden title: Newline skipped in "for line in file" -> Newline skipped in "for line in file" for huge file versions: +Python 3.1, Python 3.2 -Python 2.6 _

[issue1744456] Patch for feat. 1713877 Expose callbackAPI in readline module

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Is there anyone who'd like to see this functionality exposed who could review this C code patch? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue1742205] ZipFile.writestr writes incorrect extended local headers

2010-09-17 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +alanmcintyre versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1739789] Accelerate attr dict lookups

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Is there any interest in this or can it be closed as implied in msg52790? -- nosy: +BreamoreBoy, rhettinger ___ Python tracker ___ ___

[issue1724822] provide a shlex.split alternative for Windows shell syntax

2010-09-17 Thread Eric Smith
Eric Smith added the comment: Now that I think about this some more, we wouldn't want to call this API. I'd rather this hypothetical function be available on non-Windows platforms, so we'd have to implement the semantics of CommandLineToArgvW or whichever CRT we decide to match. --

[issue1735509] Newer reply format for imap commands in imaplib.py

2010-09-17 Thread Eric Smith
Eric Smith added the comment: I'm not sure what "fetch command does not contain literal" means. If the OP can clarify, I'd be interested in this issue. -- nosy: +eric.smith status: pending -> open ___ Python tracker

[issue1736792] dict reentrant/threading request

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Is this something that should be taken up on python-dev? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue1732367] Document the constants in the socket module

2010-09-17 Thread R. David Murray
R. David Murray added the comment: Resolution "won't fix" is inappropriate. We'd love to fix it, but someone has to volunteer to (re)write the doc update... -- nosy: +r.david.murray resolution: wont fix -> type: -> feature request ___ Python trac

[issue1735509] Newer reply format for imap commands in imaplib.py

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Is there any interest in the change proposed here? If not I'll close in a few weeks time. Note the patch does not include doc or unit test changes. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker

[issue1708652] Exact matching

2010-09-17 Thread R. David Murray
R. David Murray added the comment: I would say you should make the call on whether or not it is worth adding. IIUC it would mean there was more than one way to do something (\Z vs 'exact'), so I personally am -0 on the feature request. But I'm not a frequent regex user, so I don't think my

[issue1724822] provide a shlex.split alternative for Windows shell syntax

2010-09-17 Thread Eric Smith
Eric Smith added the comment: Raymond Chen's blog today discusses CommandLineToArgvW, which is apparently an API that can parse command lines. It's not clear to me if this is actually called by the MSFT CRT: http://blogs.msdn.com/b/oldnewthing/archive/2010/09/17/10063629.aspx Here's the docum

[issue1732367] Document the constants in the socket module

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: msg67121 states proposed changes were lost :( -- nosy: +BreamoreBoy resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___

[issue1730372] Mesa with NPTL makes Python extensions crash with std::cerr

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Could a Linux guru try to reproduce this with the latest trunk, thanks. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue1729930] 2.5.1 latest svn fails test_curses and test_timeout

2010-09-17 Thread R. David Murray
R. David Murray added the comment: The bug probably does still exist (see issue 7038 for a recent similar report). However, without a repeatable test case we can't fix it, so leaving this closed is fine. If the OP can still reproduce it we can try working on it again. -- nosy: +r.d

[issue1730136] tkFont.__eq__ gives type error

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: I think this one line patch still needs applying. -- nosy: +BreamoreBoy type: -> behavior versions: -Python 2.6 ___ Python tracker ___ _

[issue1729930] 2.5.1 latest svn fails test_curses and test_timeout

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: I can't believe that this is still relevant. -- nosy: +BreamoreBoy resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue1724822] provide a shlex.split alternative for Windows shell syntax

2010-09-17 Thread R. David Murray
R. David Murray added the comment: No, this feature request has not been satisfied. Georg fixed some subsidiary issues, but they did not in fact address the feature request for an shlex.split equivalent for Windows. Since no one has expressed interest in working on this, even though model co

[issue1727418] xmlrpclib waits indefinately

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed due to work on #6267? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-b

[issue1724822] provide a shlex.split alternative for Windows shell syntax

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Already fixed by r55549 and r0. -- nosy: +BreamoreBoy resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed for py3k in r84861, release31-maint in r84863 and release27-maint in r84862. Thanks for patch, Carlos Henrique Romano. -- nosy: +orsenthil resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed _

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: I don't think the latest patch has been committed, could someone wave their magic wand please :) -- nosy: +BreamoreBoy ___ Python tracker ___

[issue1708652] Exact matching

2010-09-17 Thread Matthew Barnett
Matthew Barnett added the comment: Does this request still stand? If so then I'll add it to the new regex module. -- ___ Python tracker ___ ___

[issue1709112] test_1686475 of test_os & pagefile.sys

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian/Tim the attached patches have not been applied, what do you make of this one? -- components: +Extension Modules -Windows nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker

[issue1708652] Exact matching

2010-09-17 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +mrabarnett ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1706323] Updated ASTVisitor Classes

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still relevant given the addition of the ast module in r64064? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7 ___ Python tracker

[issue9882] abspath from directory

2010-09-17 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: One more thing: in the sample code, the thread initializes no PyThreadState. So the ctypes callback creates a temporary PyThreadState just for the duration of the call. This explains the difference between threading.local and _threading_local: - threadi

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Nick Coghlan
Nick Coghlan added the comment: Swapnil's analysis looks correct to me - there are certain rules you have to follow before calling back into the Python interpreter core. If you don't follow them, the behaviour you will get is completely undefined. If the problem still occurs even when the C t

[issue9877] Expose sysconfig._get_makefile_filename() in public API

2010-09-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue6627] threading.local() does not work with C-created threads

2010-09-17 Thread Swapnil Talekar
Swapnil Talekar added the comment: As far as I know, the thread creation done in the file is not correct. While creating threads in C extension, there are certain rules to follow. Firstly, Python should be made thread-aware if it is not already i.e. call PyEval_InitThreads in the C callback f

[issue9885] Function Round does not work properly in some conditions

2010-09-17 Thread paontis
paontis added the comment: ok thx very much for the explaination -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue9885] Function Round does not work properly in some conditions

2010-09-17 Thread R. David Murray
R. David Murray added the comment: Please read http://docs.python.org/tutorial/floatingpoint.html Although your case isn't directly covered there, the root cause is the same. Floating point can't exactly represent 10.3. Note that in Python2.7 and 3.x, the repr will be shortened to 10.3,

[issue1703592] have a way to ignore nonexisting locales in locale.setlocale

2010-09-17 Thread Colin Watson
Colin Watson added the comment: Yes, the same symptoms are still present. I'd argue that it generally isn't an error in practice for applications, and thus the net effect of this exception is negative; it's extraordinarily rare for a crash to be preferable to running without localisation. Ad

  1   2   >