[issue9097] os.chdir(path) to return current dir

2010-06-29 Thread anatoly techtonik
anatoly techtonik added the comment: Even though I think that crossplatform language should normalize underlying platform behaviour, you've convinced me. Unneeded extra code execution decides. I also found that in another scenario it is better to return wrapper for target directory to impleme

[issue9123] insecure os.urandom on VMS

2010-06-29 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: This issue is a security vulnerability. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9123] insecure os.urandom on VMS

2010-06-29 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: HACK Zooko-Ofsimplegeos-MacBook-Pro:~/playground/python/release27-trunk$ svn diff Index: Modules/posixmodule.c === --- Modules/posixmodule.c (revision 82382) +++ Modules/posixmodule.c

[issue9123] insecure os.urandom on VMS

2010-06-29 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx : os.urandom() on VMS invokes OpenSSL's RAND_pseudo_bytes(). That is documented on: http://www.openssl.org/docs/crypto/RAND_bytes.html as being predictable and therefore unsuitable for many cryptographic purposes. This is inconsistent with the documenta

[issue1643370] recursive urlparse

2010-06-29 Thread anatoly techtonik
anatoly techtonik added the comment: Senthil, please read the proposals more attentively. From the docs of urlparse at http://docs.python.org/library/urlparse.html "The components are not broken up in smaller parts (for example, the network location is a single string), and % escapes are not

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread anatoly techtonik
anatoly techtonik added the comment: PHP site have a very convenient feature that if you enter http://php.net/some_func - it automatically executes function lookup for you or shows corresponding doc page, i.e. http://php.net/sort -- ___ Python trac

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2010-06-29 Thread Eric Huss
Eric Huss added the comment: Alexander, the use case I was involved with was an RPC system which allowed exceptions to propagate over the connection. In this case, you do not have absolute control over which exceptions may be raised, or who wrote the code that is raising the exception. Ther

[issue1643370] recursive urlparse

2010-06-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is already handled via namedtuple in the urlparse. All the parts of the url are available by parsing. -- resolution: -> out of date stage: unit test needed -> committed/rejected status: open -> closed ___ Pyt

[issue9075] ssl module sets "debug" flag on SSL struct

2010-06-29 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9120] Reduce pickle size for an empty set

2010-06-29 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: > Fred was a proponent of small pickle sizes in the past, > so I am adding him to the nosy list. Thanks! I am a proponent of small pickle sizes, in cases where it matters. I'm not convinced this is such a case. The case for a small pickle size for dateti

[issue6477] Pickling of NoneType raises PicklingError

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Ellipsis and NotImplemented are different from None because they are not pickleable themselves. The None situation is more similar to that of say module level functions: >>> def f(): pass ... >>> dumps(f) # works b'\x80\x03c__main__\nf\nq\x00.' >>>

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread R. David Murray
R. David Murray added the comment: No, it just proves that I don't use the side menu. I use google and the 'find' function of my browser :) -- ___ Python tracker ___ __

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2010-06-29 Thread Casey McGinty
Casey McGinty added the comment: I attached a simple script that reproduces the report issue. I hope it helps. -- Added file: http://bugs.python.org/file17807/smtp_test.py ___ Python tracker ___

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The case in msg76028 are probably not pointing to a bug. If subclass' __init__ passes its args to the base class __init__ (as it probably should), pickling works: class E(Exception): """Extension with values, init called with args.""" def __in

[issue9122] Problems with multiprocessing, Python embedding and Windows

2010-06-29 Thread Alexander Myodov
New submission from Alexander Myodov : Hello, I am using Python 2.6.5 and Cython (to embed the Python interpreter) to create a simple launcher.exe launcher which then imports and uses the remaining logic from the other modules, conveniently stored in a single modules.zip file (i.e. importing

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread anatoly techtonik
anatoly techtonik added the comment: That just proves that side menu is not very useful. When I need to jump to a sibling paragraph I usually click the rightmost entry in top bar. It takes two clicks to get there and one page reload instead of one. Perhaps the ToC menu could be expanded using

[issue9120] Reduce pickle size for an empty set

2010-06-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Will think about this one for a while. Initial reaction is that the case isn't common enough to care about, and that the 5 byte savings isn't worth the extra code path. > By the same logic, allowing set() as an alternative > to set([]) in python code is

[issue1749662] New byte packing format for the struct module

2010-06-29 Thread Mark Dickinson
Changes by Mark Dickinson : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue9121] Glossary entry for nested scope incorrect

2010-06-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Already fixed. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue9121] Glossary entry for nested scope incorrect

2010-06-29 Thread Ethan Furman
New submission from Ethan Furman : It currently states "Note that nested scopes work only for reference and not for assignment which will always write to the innermost scope." This should be updated to read, e.g. "Note that unless the new nonlocal keyword is used nested scopes work only for re

[issue9113] Tools/msi still uses string exceptions

2010-06-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a problem. Tools/msi is being used with Python 2.5 only. -- nosy: +loewis resolution: -> wont fix status: open -> closed versions: -Python 3.1, Python 3.2 ___ Python tracker

[issue9079] Make gettimeofday available in time module

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The original patch, gettimeofday.diff was just refactoring. I unlinked it to keep the file list clean, but it is still available: http://bugs.python.org/file17766/gettimeofday.diff I decided to expose time.gettimeofday() in the same patch mostly in ord

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: Doc patch committed in revisions r82379 through r82382. -- status: open -> closed ___ Python tracker ___ ___

[issue9120] Reduce pickle size for an empty set

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It is both space and time optimization. Fred was a proponent of small pickle sizes in the past, so I am adding him to the nosy list. I am not too keen on this to happen, though. It just seemed more natural to me not to create an empty list to unpickle

[issue8947] Provide as_integer_ratio() method to Decimal

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: After discussions on IRC, I'm going to close this as rejected. Convergence of the float and Decimal APIs is a nice idea, but in this case it's not clear that it really works. In particular, for duck typing to be sensible, int and Fraction would also have to

[issue6827] deepcopy erroneously doesn't call __setstate__ if __getstate__ returns empty dict

2010-06-29 Thread R. David Murray
R. David Murray added the comment: Given that the API is what is, then it looks like the needed doc improvements have been done. -- stage: -> committed/rejected status: pending -> closed ___ Python tracker __

[issue9079] Make gettimeofday available in time module

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: To keep things clean, would it be possible to separate this into two patches, one containing the refactoring and one for the newly exposed gettimeofday? -- ___ Python tracker

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > An explicit dictionary to map the Python and C implementations may be a > better approach. Do you mean a global optimized_module = {'pickle': '_pickle'} in test/support.py? I don't think I like this idea. Even with an explicit dictionary like th

[issue9120] Reduce pickle size for an empty set

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: This seems a bit like premature (space) optimization to me. Is it really worth special-casing this? -- nosy: +mark.dickinson ___ Python tracker __

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file17805/issue9117_v2.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: And the same patch, but this time *without* the irrelevant audioop changes. :) -- Added file: http://bugs.python.org/file17806/issue9117_v2.patch ___ Python tracker ___

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch. I've reorganized that documentation section a bit, and added a link to PEP 3115. This isn't ideal, but it's better than nothing. -- Added file: http://bugs.python.org/file17805/issue9117_v2.patch __

[issue9120] Reduce pickle size for an empty set

2010-06-29 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Empty sets are pickled as set([]). The pickle contains serialization of an empty list that is passed to set constructor during unpickling: >>> dis(dumps(set())) 0: \x80 PROTO 3 2: cGLOBAL 'builtins set' 16: qBINPUT 0

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: Yes, good plan. I'll do that. I'm also not sure about the 'comprehension' bit; it's true that a comprehension is syntactically valid here (e.g., "class A(x for x in range(3))"), but it's also entirely useless: it has to be the sole argument, so there can'

[issue8998] add crypto routines to stdlib

2010-06-29 Thread geremy condra
geremy condra added the comment: On Tue, Jun 29, 2010 at 2:25 PM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > Antoine Pitrou wrote: >> >> Antoine Pitrou added the comment: >> >>> If we are to require OpenSSL or some other crypto lib, >> >> We already depend on Open

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-29 Thread R. David Murray
R. David Murray added the comment: It must be that the different key order only happens on the one platform because of the quirky nature of dictionary construction. That is, there is *something* on that platform that is changing where things get hashed when the dictionary is recreated. The

[issue7673] audioop: check that length is a multiple of the size

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: The patch looks fine to me. - Please could you add some tests, to exercise the 'not a whole number of frames' errors? - The patch obviously predates the grand reindenting, so its indentation needs fixing up PEP 7 nits: - Please don't put spaces just insid

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The production looks right to me, but I think it should be broken in two or more lines. Since it is rendered pre-formatted, long line results in a horizontal scroll bar unless the browser window is extremely wide. -- __

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-06-29 Thread geremy condra
Changes by geremy condra : -- nosy: +debatem1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8998] add crypto routines to stdlib

2010-06-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Marc-Andre Lemburg wrote: > > We currently only include OpenSSL in the Windows installers and (for some > reason) don't pay much attention to the implications this has (the fact is > not mentioned on the download page and the Windows installer doesn't sho

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-06-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: See the OpenSSL license for details on the notice requirement: http://www.openssl.org/source/license.html -- ___ Python tracker ___ ___

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-06-29 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : This needs to be done to protect our users (importing crypto code or using it may be illegal in their home country, see http://rechten.uvt.nl/koops/cryptolaw/ for a survey) and to satisfy an attribution requirement in the OpenSSL license and code base:

[issue9118] help() on a property descriptor launches interactive help

2010-06-29 Thread Jack Diederich
New submission from Jack Diederich : ython 2.7b2+ (trunk:81337, May 19 2010, 12:16:22) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class X(object): ... @property ... def foo(self): pass ... >>> help(X.foo.fset) Welcome to Python 2.7! Th

[issue9071] TarFile doesn't support member files with a leading "./"

2010-06-29 Thread Gustavo Niemeyer
Gustavo Niemeyer added the comment: Indeed, nice use of the time machine! :-) Thanks Lars! -- ___ Python tracker ___ ___ Python-bugs-

[issue8998] add crypto routines to stdlib

2010-06-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> If we are to require OpenSSL or some other crypto lib, > > We already depend on OpenSSL for both hashlib and ssl, this proposal > wouldn't change anything in this regard. hashlib can still

[issue9095] patchcheck should handle extraneous whitespace in .rst files

2010-06-29 Thread Brett Cannon
Brett Cannon added the comment: Knock yourself out! -- assignee: -> merwok ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: It looks like fixing the production list is the easy part (see attached patch): as far as I can tell, the *syntax* for class definitions is pretty much identical to that for function calls. (The semantics are different, of course.) It would be good if some

[issue8998] add crypto routines to stdlib

2010-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If we are to require OpenSSL or some other crypto lib, We already depend on OpenSSL for both hashlib and ssl, this proposal wouldn't change anything in this regard. -- ___ Python tracker

[issue6827] deepcopy erroneously doesn't call __setstate__ if __getstate__ returns empty dict

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I see the following under : Note If __getstate__() returns a false value, the __setstate__() method will not be called. That was added in r62216 and highlighted in r67045. I

[issue8998] add crypto routines to stdlib

2010-06-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Apart from the question of API, please also include a section on the legal implications this move would have on Python in the PEP. We currently only include OpenSSL in the Windows installers and (for some reason) don't pay much attention to the implicatio

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > I believe that *args and **kwargs are now also syntactically > accepted in a class definition. Indeed: >>> class a: pass >>> class b: pass >>> bases = (a, b) >>> class c(*bases): pass >>> kwds = {'metaclass':type} >>> class c(*bases, **kwds): pass wor

[issue1581183] pickle protocol 2 failure on int subclass

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Upon further investigation, I conclude that the problem is in the user code. I am attaching int_subclass_pickle_problem_fixed.py which fixes the user code as follows: def __getnewargs__(self): -return (int(self), self.an_enum) +ret

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
Mark Dickinson added the comment: Am working on a patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9117] class syntax not fully documented in reference manual

2010-06-29 Thread Mark Dickinson
New submission from Mark Dickinson : Looking at: http://docs.python.org/dev/py3k/reference/compound_stmts.html#class-definitions I see: classdef::= [decorators] "class" classname [inheritance] ":" suite inheritance ::= "(" [expression_list] ")" classname ::= identifier this seems to

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2010-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I take it this is out for 2.7, will it be in 3.2? The patch for issue8550 has been committed. The SSLContext API should solve this issue: http://docs.python.org/dev/py3k/library/ssl.html#ssl.SSLContext.wrap_socket If it doesn't, please explain why. ---

[issue9114] br"" string literals don't appear to be documented

2010-06-29 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1581183] pickle protocol 2 failure on int subclass

2010-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file17801/issue1581183-test.diff ___ Python tracker ___ ___ Python-bugs

[issue1581183] pickle protocol 2 failure on int subclass

2010-06-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17800/issue1581183-test.diff ___ Python tracker ___ ___ Python-bu

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-06-29 Thread Brian Curtin
Brian Curtin added the comment: I should also note that this doesn't appear to happen on release31-maint or trunk. -- ___ Python tracker ___

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-06-29 Thread Brian Curtin
New submission from Brian Curtin : Debug and Release builds of py3k both throw up a Visual Studio debugger prompt when running this test on Windows. I don't have much time at the moment to investigate, but I find it odd that this isn't occurring on the two Windows py3k buildbots. Output of

[issue9114] br"" string literals don't appear to be documented

2010-06-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r82373. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue1581183] pickle protocol 2 failure on int subclass

2010-06-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: At least part of the problem has nothing to do with subclassing from int and instead is related to pickling objects with circular references. I am attaching a patch that demonstrates the problem. In issue1581183-test.diff, I modified memoize so that it

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9110] contextlib.ContextDecorator

2010-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: On Wed, Jun 30, 2010 at 12:13 AM, Michael Foord wrote: > > Michael Foord added the comment: > > Hey Nick, > > The tests are pretty much just copied from the previous version, so they > aren't all appropriate. In fact I think that the first two tests (and even

[issue9115] test_site: support for systems without unsetenv

2010-06-29 Thread Zsolt Cserna
New submission from Zsolt Cserna : On systems where there's no unsetenv function (for example solaris 8), test_site fails because the PYTHONUSERBASE environment variable remains set to "xoxo" (set in the previous tests). This results a failed test_s_option test. -- components: Tests f

[issue9095] patchcheck should handle extraneous whitespace in .rst files

2010-06-29 Thread Éric Araujo
Éric Araujo added the comment: Feel free to assign patchcheck bugs to me. I’ll write a patch and then assign to you for review. -- nosy: +merwok resolution: -> accepted ___ Python tracker

[issue9103] API keyword

2010-06-29 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread Éric Araujo
Éric Araujo added the comment: +1 for removing numbers. -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9110] contextlib.ContextDecorator

2010-06-29 Thread Michael Foord
Michael Foord added the comment: Hey Nick, The tests are pretty much just copied from the previous version, so they aren't all appropriate. In fact I think that the first two tests (and even the typo tests) can just go as they really just test Python semantics and not the ContextDecorator it

[issue9110] contextlib.ContextDecorator

2010-06-29 Thread Nick Coghlan
Nick Coghlan added the comment: Looks pretty good to me, but you may want to doublecheck some of your test criteria. Firstly, the two "*_with_exception" checks don't look quite right to me. I would have expected to see something like the following for both of them: self.assertIsNotNone(co

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread R. David Murray
R. David Murray added the comment: If the change is confined to the left menu bar only, I'd be happy to have the numbers go away entirely. But only putting in partial numbers strikes me as an invitation to confusion. If other people prefer your scheme that's fine with me. Almost the only t

[issue9112] argparse missing documentation for error() method

2010-06-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bethard ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue3428] httplib.HTTPMessage undocumented

2010-06-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Mon, Jun 28, 2010 at 08:51:58PM +, ThomasH wrote: > But the urllib.rst documentation is still flawed: Fixed now in the r82363. Did a find and grep on all instances of HTTPMessage and verified that it is only at proper places now. Thanks for pointing ou

[issue1288056] pygettext: extract translators comments

2010-06-29 Thread Éric Araujo
Changes by Éric Araujo : -- title: pygettext: provide comments to help translators -> pygettext: extract translators comments ___ Python tracker ___ __

[issue1288056] pygettext: provide comments to help translators

2010-06-29 Thread Éric Araujo
Éric Araujo added the comment: It appears that I had mistaken comments in the source and comments in the pot/po files: /* TRANSLATORS: The placeholder indicates etc. */ printf (_("Something.\n")); These will be extracted by ‘xgettext’, leading to a .pot file that contains this:

[issue2504] Add gettext.pgettext() and variants support

2010-06-29 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> accepted stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9113] Tools/msi still uses string exceptions

2010-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9114] br"" string literals don't appear to be documented

2010-06-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9114] br"" string literals don't appear to be documented

2010-06-29 Thread Mark Summerfield
New submission from Mark Summerfield : It appears that br"" (raw bytes) isn't documented, at least not along with string and bytes literals: http://docs.python.org/py3k/reference/lexical_analysis.html#literals Yet they are supported: http://mail.python.org/pipermail/python-ideas/2010-June/00752

[issue3823] ssl.wrap_socket() is incompatible with servers that drop privileges, due to keyfile requirement

2010-06-29 Thread Matt Joiner
Matt Joiner added the comment: I take it this is out for 2.7, will it be in 3.2? -- nosy: +anacrolix ___ Python tracker ___ ___ Python

[issue9113] Tools/msi still uses string exceptions

2010-06-29 Thread Matthias Klose
New submission from Matthias Klose : string exceptions still used in a couple of places: Tools/msi/msi.py:354 Tools/msi/msi.py:368 Tools/msi/msilib.py:238 -- components: Demos and Tools messages: 108900 nosy: doko priority: normal severity: normal status: open title: Tools/msi still use

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread anatoly techtonik
anatoly techtonik added the comment: http://bitbucket.org/birkenfeld/sphinx/issue/460/strip-section-numbers-from-toc-menu -- ___ Python tracker ___ __

[issue8799] Hang in lib/test/test_threading.py

2010-06-29 Thread Zsolt Cserna
Changes by Zsolt Cserna : -- nosy: +csernazs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-29 Thread Georg Brandl
Georg Brandl added the comment: This should be taken to the Sphinx tracker, as the feature needs to be implemented first. -- nosy: +georg.brandl status: open -> closed ___ Python tracker __

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Well, this is not so obviously wrong as you make it sound. If you > look closer at object_new(), you will see that in sane situations it > reduces to type->tp_alloc(type, 0) call. Today, yes. But tomorrow it may entail additional operations. > If such sanit

[issue9112] argparse missing documentation for error() method

2010-06-29 Thread Mark Summerfield
New submission from Mark Summerfield : The argparse module's ArgumentParser class has an error() method that appears to have the same behavior as the optparse error() method, but this method is not mentioned in the documentation. -- assignee: d...@python components: Documentation messa

[issue4925] Improve error message of subprocess when cannot open

2010-06-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: in PC/_subprocess.c, it should be enough to use PyErr_SetFromWindowsErrWithFilename() instead of PyErr_SetFromWindowsErr() -- keywords: +easy nosy: +amaury.forgeotdarc ___ Python tracker

[issue9077] argparse does not handle arguments correctly after --

2010-06-29 Thread Georg Brandl
Georg Brandl added the comment: No, this is not intentional. Look at the docs for these attributes: parser.largs the current list of leftover arguments, ie. arguments that have been consumed but are neither options nor option arguments. Feel free to modify parser.largs, e.g. by adding mo