[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file21381/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10966 ___

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: IMHO the current unexpected list is fairly pointless. I just ran the test suite on 3.3 and I got the usual expected list of unexpected skips: 7 skips unexpected on linux2: test_bz2 test_dbm_gnu test_dbm_ndbm test_tcl test_tk

[issue11668] _multiprocessing.Connection.poll with timeout uses polling under Windows

2011-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I don't think it is necessary to have the initial call to PeekNamedPipe. It is a kernel call just like WFMO and so just as expensive. It also has some strange semantics, (such as being possibly blocking in a multithreaded

[issue5135] Expose simplegeneric function in functools module

2011-03-26 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5135 ___ ___ Python-bugs-list

[issue11071] What's New review comments

2011-03-26 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- nosy: -vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___

[issue11680] decimal module generates AttributeError: on call to as_integer_ratio

2011-03-26 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: The problem seems to be that you're calling Decimal.from_float with a Decimal instance, not a float. I'm not sure that should even work. The Decimal constructor can create a decimal from an other decimal. Your suggested solution

[issue11680] decimal module generates AttributeError: on call to as_integer_ratio

2011-03-26 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: As Daniel says, from_float expects a float object, not a Decimal instance. What did you want to achieve in the following line: self.from_float(value * decimal.Decimal(1.0))/decimal.Decimal(1.0) ? By the way: in all current versions of

[issue11635] concurrent.futures uses polling

2011-03-26 Thread s7v7nislands
Changes by s7v7nislands s7v7nisla...@gmail.com: -- nosy: +s7v7nislands ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11635 ___ ___

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

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Thanks for the analysis Eric. Yeah, it does seem like it's not possible to implement this feature request while still supporting optionals with variable number arguments. @andersk: Would the restriction to only having flags with a

[issue11614] import __hello__ is broken in Python 3

2011-03-26 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: On Fri, Mar 25, 2011 at 5:52 PM, Éric Araujo rep...@bugs.python.org wrote: Okay, it doesn’t work with -m __hello__, but using -c import __hello__ I can see the message in all versions. Can you elaborate on that? I.e. the versions

[issue11675] multiprocessing Arrays not automatically zeroed.

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2af0c2c106ea by Mark Dickinson in branch '2.7': Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. http://hg.python.org/cpython/rev/2af0c2c106ea -- nosy: +python-dev

[issue7311] Bug on regexp of HTMLParser

2011-03-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The attached patch changes the regex to allow non-ascii letters in attribute values (using \w with the re.UNICODE flag instead of [a-zA-Z0-9_]). Using [^\s] (or even [^ ]) might be OK too, since that's what browsers seem to use (e.g.

[issue7284] argparse - display version in usage by default

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: In argparse, you could so something like: version = 2.7 parser = argparse.ArgumentParser( description=My program XXX, version + version) parser.add_argument('-v', action='version', version=version) That would then produce: usage:

[issue11675] multiprocessing Arrays not automatically zeroed.

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 0cb276628528 by Mark Dickinson in branch '3.1': Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. http://hg.python.org/cpython/rev/0cb276628528 New changeset 64ab52a64cc9 by Mark Dickinson in branch '3.2':

[issue8554] suspicious comment in msilib.py/__init__.py

2011-03-26 Thread Mark Mc Mahon
Mark Mc Mahon mtnbikingm...@gmail.com added the comment: Per: http://msdn.microsoft.com/en-us/library/aa369212(v=vs.85).aspx The Identifier data type is a text string. Identifiers may contain the ASCII characters A-Z (a-z), digits, underscores (_), or periods (.). However, every identifier must

[issue11675] multiprocessing Arrays not automatically zeroed.

2011-03-26 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11675

[issue11673] RawArray does not accept long

2011-03-26 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11673 ___

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2011-03-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Please provide a patch for review. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11678 ___

[issue7284] argparse - display version in usage by default

2011-03-26 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On Sat, Mar 26, 2011 at 12:20 PM, Steven Bethard rep...@bugs.python.org wrote: I see though that vi puts the full name and version before the usage (which is currently impossible in argparse): That was exactly my use case, which I'd

[issue7284] argparse - display version in usage by default

2011-03-26 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On Sat, Mar 26, 2011 at 12:20 PM, Steven Bethard rep...@bugs.python.org wrote: I guess we could add, say, a headline= option to ArgumentParser which would then be printed before the usage message if it's really crucial to have that

[issue11174] add argparse formatting option to display type names for metavar

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Sorry about such a slow response on this. Thanks for the patch! I think rather than adding an ArgumentParser constructor parameter though, we should add a new formatter class. The attached patch allows you to write: parser =

[issue5880] test___all__

2011-03-26 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- title: Remove unneeded context pointer from getters and setters - test___all__ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5880 ___

[issue5880] Remove unneeded context pointer from getters and setters

2011-03-26 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- title: test___all__ - Remove unneeded context pointer from getters and setters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5880 ___

[issue11174] add argparse formatting option to display type names for metavar

2011-03-26 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: Well, since you are the designer of the package, I believe you have better knowledge on how to extend it :-). I just provided a patch according to what you described in the first message. Anyway having separate help formatter seems

[issue2694] msilib file names check too strict ?

2011-03-26 Thread Mark Mc Mahon
Mark Mc Mahon mtnbikingm...@gmail.com added the comment: How about the following patch and tests... Per: http://msdn.microsoft.com/en-us/library/aa369212(v=vs.85).aspx The Identifier data type is a text string. Identifiers may contain the ASCII characters A-Z (a-z), digits, underscores (_), or

[issue7284] argparse - display version in usage by default

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I'm not sure about the usage_template approach - seems like it might be hard to make it work, while still supporting formatter_class. (Though maybe it's not so bad since the formatter class methods are all considered implementation

[issue11144] int(float) may return a long for no reason

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset e1ebec2446cd by Mark Dickinson in branch '2.7': Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long. http://hg.python.org/cpython/rev/e1ebec2446cd -- nosy: +python-dev

[issue11144] int(float) may return a long for no reason

2011-03-26 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson resolution: - fixed stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11144

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, I'm not so attached to the unexpected skip list that I want to block this from getting implemented. So I guess the bottom line is that things that are unexpected skips now should not be failures. --

[issue10665] Expand unicodedata module documentation

2011-03-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: FWIW latin-1 chars are fine (e.g. ¶ or è). The right command to build the pdfs is `make latex` and then `make all-pdf` in build/latex/. Alexander, now you could also make a remote hg repo, and use it to generate up-to-date patches that

[issue11174] add argparse formatting option to display type names for metavar

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a15d65d8f269 by Steven Bethard in branch 'default': Issue #11174: Add argparse.MetavarTypeHelpFormatter, which uses type names http://hg.python.org/cpython/rev/a15d65d8f269 -- nosy: +python-dev

[issue11668] _multiprocessing.Connection.poll with timeout uses polling under Windows

2011-03-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Are you sure about MP_EXCEPTION_HAS_BEEN_SET? semaphore.c has a more sophisticated logic: Py_BEGIN_ALLOW_THREADS ResetEvent(sigint_event); res = WaitForMultipleObjects(2, handles, FALSE, msecs);

[issue11174] add argparse formatting option to display type names for metavar

2011-03-26 Thread Steven Bethard
Changes by Steven Bethard steven.beth...@gmail.com: -- assignee: - bethard resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11174

[issue11370] Fix distutils to carry configure's LIBS through to extension modules.

2011-03-26 Thread John Szakmeister
John Szakmeister j...@szakmeister.net added the comment: I'm gonna close this. It was meant to help port some of the Unladen Swallow stuff... but I see that's effectively dead. :-( -- resolution: - invalid status: open - closed ___ Python tracker

[issue11354] argparse: nargs could accept range of options count

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Thanks for the patch. The idea and the approach of the patch look fine. But the patch needs to be against the Python repository: http://docs.python.org/devguide/patch.html#creating For the tests, you should integrate your test.py into

[issue11588] Add necessarily inclusive groups to argparse

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I think this is a great suggestion. Care to work on a patch? -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11588

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Calvin Spealman
New submission from Calvin Spealman ironfro...@gmail.com: For example, if I had a project with a src/ directory and inside that directory is a package named foo, then I can run python3 -m unittest discover -s . and the tests will be not be found, but I can run python3 -m unittest discover -s

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-03-26 Thread Steven Bethard
Changes by Steven Bethard steven.beth...@gmail.com: -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___

[issue11684] (Maybe) Add email.parser.BytesHeaderParser

2011-03-26 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com: David, you haven't added this one once you've added BytesParser(), so i assume that happened intentionally. On the other hand all the package heads in direction bytes, and HeaderParser as such is currently somewhat unusable. (The

[issue7284] argparse - display version in usage by default

2011-03-26 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: On Sat, Mar 26, 2011 at 9:14 PM, anatoly techtonik techto...@gmail.com wrote: A pity that before argparse replaced optparse, there was no research made to gather the output from various console tools to see how argparse really saves people

[issue7284] argparse - display version in usage by default

2011-03-26 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On Sat, Mar 26, 2011 at 2:28 PM, Steven Bethard rep...@bugs.python.org wrote: I'm not sure about the usage_template approach - seems like it might be hard to make it work, while still supporting formatter_class. (Though maybe it's

[issue5340] Change in cgi behavior breaks existing software

2011-03-26 Thread Facundo Batista
Changes by Facundo Batista facu...@taniquetil.com.ar: -- assignee: facundobatista - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5340 ___ ___

[issue2756] urllib2 add_header fails with existing unredirected_header

2011-03-26 Thread Facundo Batista
Facundo Batista facu...@taniquetil.com.ar added the comment: Senthil, I'm assigning this issue to you because you know more about this subject than me. Feel free to unassign if will not be working in it. Thanks! -- assignee: facundobatista - orsenthil

[issue7221] DispatcherWithSendTests_UsePoll with test_asyncore does nothing

2011-03-26 Thread Facundo Batista
Changes by Facundo Batista facu...@taniquetil.com.ar: -- assignee: facundobatista - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7221 ___ ___

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2011-03-26 Thread Rene Dudfield
New submission from Rene Dudfield ill...@users.sourceforge.net: Hi, you can possibly do an SQL injection via table names (and maybe some other parts of queries). Tested with sqlite3, but maybe it affects others too. You can not do parameter substitution for table names, so people use normal

[issue9348] Calling argparse's add_argument with the wrong number of metavars causes delayed error message

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c89db9b36ea6 by Steven Bethard in branch '3.2': Issue #9348: Raise an early error if argparse nargs and metavar don't match. http://hg.python.org/cpython/rev/c89db9b36ea6 New changeset b93a50bb74f2 by Steven Bethard in branch

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2011-03-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Why do you think this is a bug in Python? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11685 ___

[issue9348] Calling argparse's add_argument with the wrong number of metavars causes delayed error message

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Thanks for the patch. I used something similar to what you proposed, but instead of creating a local formatter, I just call self._get_formatter() if it exists. -- assignee: - bethard nosy: -python-dev resolution: - fixed

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2011-03-26 Thread Rene Dudfield
Rene Dudfield ill...@users.sourceforge.net added the comment: Hello, because the sqlite3 package comes with python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11685 ___

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2011-03-26 Thread Westley Martínez
Westley Martínez aniko...@gmail.com added the comment: Patch. -- keywords: +patch Added file: http://bugs.python.org/file21410/cpython-11678.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11678

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2011-03-26 Thread Westley Martínez
Westley Martínez aniko...@gmail.com added the comment: I forgot to say, Arch Linux is rolling release so it doesn't have a version or id. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11678

[issue11686] Update of some email/ __all__ lists

2011-03-26 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com: This patch adds some BytesXy classes to some __all__[] exporters. (Still don't know why i can import email x = email.feedparser.Xy() but not import email x = email.parser.Xy() Is there any reason for that?)

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2011-03-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: But putting untrusted strings into the table name is a bug in the application, not in Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11685

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2011-03-26 Thread Rene Dudfield
Rene Dudfield ill...@users.sourceforge.net added the comment: The bug in python is that you can not use parameter substitution to put the table names into the queries. So people are forced to use string substitution instead. -- ___ Python tracker

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2011-03-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Ah. That's not a limitation of Python, but a limitation of sqlite. See http://www.sqlite.org/c3ref/bind_blob.html for how parameter binding works. The table name is not supported as a parameter; neither are column names or database names.

[issue11687] Cannot register using command-line

2011-03-26 Thread yac00b
New submission from yac00b qqb...@gmail.com: I am not exactly sure if it is a proper place for my problem. I am quite new to Python in general. I am working on Windows 7 with Python 3.2. I wanted to upload a module to PyPI. To do that I have to register with the command-line. I use the command

[issue11664] Add patch method to unittest.TestCase

2011-03-26 Thread Pablo Mouzo
Pablo Mouzo pablomo...@gmail.com added the comment: I'm attaching a draft patch for patch. Éric, is this patch implementing patch as you expected? This patch is not finished because there are many cases where patch can leave patched objects if it fails to unpatch. -- keywords: +patch

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

2011-03-26 Thread Anders Kaseorg
Anders Kaseorg ande...@mit.edu added the comment: @andersk: Would the restriction to only having flags with a fixed number of arguments be acceptable for your use case? I think that’s fine. Anyone coming from optparse won’t need options with optional arguments. However, FWIW, GNU

[issue11635] concurrent.futures uses polling

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 4390d6939a56 by Antoine Pitrou in branch '3.2': Issue #11635: Don't use polling in worker threads and processes launched by http://hg.python.org/cpython/rev/4390d6939a56 New changeset a76257a99636 by Antoine Pitrou in branch

[issue11635] concurrent.futures uses polling

2011-03-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've now pushed the patch. I hope this won't break anything, closing. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 423b50086b67 by Steven Bethard in branch '3.2': Issue #8982: Improve the documentation for the argparse Namespace object. http://hg.python.org/cpython/rev/423b50086b67 New changeset d832756a82d9 by Steven Bethard in branch

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I fixed the docs here so that they're clearer about what the Namespace object is, and also so that they mention the `vars` approach if you want dict-style access. -- resolution: - fixed stage: needs patch - committed/rejected

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11683 ___ ___

[issue11664] Add patch method to unittest.TestCase

2011-03-26 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I'd like to ponder this a bit. Note that the patch is incorrect - fetching the attribute should not be done with getattr (this will trigger descriptors instead of fetching the underlying member) and should not be reset unconditionally

[issue11681] -b option undocumented

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11681 ___ ___

[issue11649] startElementNS in xml.sax.saxutils.XMLGenerator ignored encoding

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11649 ___ ___

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9056 ___ ___ Python-bugs-list

[issue1602] windows console doesn't print or input Unicode

2011-03-26 Thread David-Sarah Hopwood
David-Sarah Hopwood david-sa...@jacaranda.org added the comment: Glenn wrote: So if flush checks that bit, maybe TextIOWriter could just call buffer.flush, and it would be fast if clean and slow if dirty? Yes. I'll benchmark how much overhead is added by the calls to flush; there's no point

[issue11659] Fix ResourceWarning in test_subprocess

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset bd46aef7cf10 by Ross Lagerwall in branch '3.1': Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459. http://hg.python.org/cpython/rev/bd46aef7cf10 -- nosy: +python-dev

[issue11659] Fix ResourceWarning in test_subprocess

2011-03-26 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: - rosslagerwall nosy: +rosslagerwall resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue1602] windows console doesn't print or input Unicode

2011-03-26 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: David-Sarah wrote: Windows is very slow at scrolling a console, which might make the cost of flushing insignificant in comparison.) Just for the record, I noticed a huge speedup in Windows console scrolling when I switched from WinXP to

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Greg: Can you please comment what the original motivation was for removing ISIG from the flags? This is your change, from issue 7208, AFAICT. -- nosy: +loewis ___ Python tracker

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11236 ___ ___ Python-bugs-list mailing

[issue5340] Change in cgi behavior breaks existing software

2011-03-26 Thread Bob Kline
Bob Kline bkl...@rksystems.com added the comment: Just to make life interesting, someone went in and changed all the URLs for messages in the Python mailing list. Here's the new URL for the message which contains the repro instructions:

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Going into multiple directories on the path would make discovery more complex (but isn't out of the question). To be compatible with nose test discovery it is likely that we will special case an src directory anyway though (as it is a

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11683 ___

[issue9343] Document that argparse parents must be fully declared before children

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d288666c1d58 by Steven Bethard in branch '3.2': Issue #9343: Document that argparse parent parsers must be configured before their children. http://hg.python.org/cpython/rev/d288666c1d58 New changeset 15e98607555d by Steven Bethard

[issue9343] Document that argparse parents must be fully declared before children

2011-03-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I added some documentation in the parents section of the argparse docs. -- assignee: docs@python - bethard resolution: - fixed stage: - committed/rejected status: open - closed ___ Python

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Calvin Spealman
Calvin Spealman ironfro...@gmail.com added the comment: Doesn't it already go into multiple directories? Isn't that a requirement of a recursive directory walk, which I understand discover does? I am also thinking the current documentation just doesn't make these details clear, so should that

[issue11688] SQLite trace callback

2011-03-26 Thread Torsten Landschoff
New submission from Torsten Landschoff t.landsch...@gmx.net: I'd like to access the SQLite trace callback from Python to actually see the same queries that SQLite actually gets to see. The C API of SQLite supports this via the sqlite3_trace function. I added support to this to the sqlite3

[issue11688] SQLite trace callback

2011-03-26 Thread Torsten Landschoff
Torsten Landschoff t.landsch...@gmx.net added the comment: Here is the same change for Python 2.7. I don't expect this to get merged on the Python 2 branch, put perhaps it is useful to somebody. -- Added file: http://bugs.python.org/file21414/sqlite_trace_py27.diff

[issue11688] SQLite trace callback

2011-03-26 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - ghaering nosy: +ghaering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11688 ___

[issue887237] Machine integers

2011-03-26 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: You could write a Python script to generator the methods. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue887237

[issue11689] sqlite: Incorrect unit test fails to detect failure

2011-03-26 Thread Torsten Landschoff
New submission from Torsten Landschoff t.landsch...@gmx.net: The CheckClearHandler test in Lib/sqlite3/test/hooks.py is invalid. It sets a local variable in a callback where it wants to change the variable in the closure. Patch attached. -- components: Tests files:

[issue11689] sqlite: Incorrect unit test fails to detect failure

2011-03-26 Thread Torsten Landschoff
Changes by Torsten Landschoff t.landsch...@gmx.net: Added file: http://bugs.python.org/file21416/test_clear_handler_py27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11689 ___

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Discover does recurse into directories - but only packages, so the algorithm for importing them is trivial. You're suggesting enhancing that to multiple strategies (checking non package directories to see if they are on the path and

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Calvin, note that the modification you suggest is not a *great* complication to the discovery algorithm (just some complication); so I'll consider it. -- ___ Python tracker

[issue1838] Ctypes C-level infinite recursion

2011-03-26 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 4945a45b8be4 by Benjamin Peterson in branch '3.1': check possible recursive _as_parameter_ to prevent segfault (closes #1838) http://hg.python.org/cpython/rev/4945a45b8be4 New changeset 4bd06503eaca by Benjamin Peterson in branch

[issue9348] Calling argparse's add_argument with the wrong number of metavars causes delayed error message

2011-03-26 Thread Denver Coneybeare
Denver Coneybeare denver.coneybe...@gmail.com added the comment: Awesome, thanks for committing the patch. Glad I could help. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9348 ___

[issue11690] Add communication FAQ to devguide

2011-03-26 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: It would be good to supplement the here's the list of mailing lists (etc) section in the devguide [1] with a more task oriented communications FAQ of the form If you are asking about topic A, then ask in forums X, Y or Z. (where the forums

[issue11395] print(s) fails on Windows with long strings

2011-03-26 Thread David-Sarah Hopwood
David-Sarah Hopwood david-sa...@jacaranda.org added the comment: If I understand the bug in the Windows console functions correctly, a limit of 32767 bytes might not always be small enough. The problem is that if two or more threads are concurrently using any console functions (which all use

[issue10740] sqlite3 module should allow DDL statements in transactions

2011-03-26 Thread Torsten Landschoff
Torsten Landschoff t.landsch...@gmx.net added the comment: The attached patch is my take on this issue. I ran into the problem that during schema upgrades dropping a table was not rolled back. In another instance, renaming a table was not rolled back. This greatly increases the risk of data

[issue11687] Cannot register using command-line

2011-03-26 Thread yac00b
yac00b qqb...@gmail.com added the comment: I searched a little bit more and now I know that if the registration would be possible then the .pipyrc file would be created automatically. I would like to create it on my own to go around this problem, but Windows does not allow to create a file

[issue10740] sqlite3 module should allow DDL statements in transactions

2011-03-26 Thread Torsten Landschoff
Torsten Landschoff t.landsch...@gmx.net added the comment: Same patch for Python 3. In fact, this also adds a missing Py_XDECREF. -- Added file: http://bugs.python.org/file21418/sqlite_transaction_config_py3.diff ___ Python tracker

[issue10740] sqlite3 module should allow DDL statements in transactions

2011-03-26 Thread Torsten Landschoff
Changes by Torsten Landschoff t.landsch...@gmx.net: Added file: http://bugs.python.org/file21419/sqlite_transaction_config_py27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10740 ___

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2011-03-26 Thread Mark Mc Mahon
Mark Mc Mahon mtnbikingm...@gmail.com added the comment: I looked at the existing patches - and noted that they went closer to how Windows does short files - but still left out some cases. I believe the latest patch catches all cases. from

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
New submission from William Edward Stuart Clemens wesclemens+pyt...@gmail.com: The DB API Spec 2.0 (PEP 249) clearly requires that column name and type_code be set as the first two values in Cursor.description the other 5 attributes are optional. The sqlite3 module doesn't set type_code.

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ghaering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11691 ___ ___ Python-bugs-list mailing list

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
William Edward Stuart Clemens wesclemens+pyt...@gmail.com added the comment: The patch for version 3.3 has a one line difference. -- assignee: - docs@python components: +Documentation, Library (Lib) -None nosy: +docs@python versions: +Python 3.3 Added file: