[issue15977] Memory leak in _ssl.c

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: Picked. -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue15895] PyRun_SimpleFileExFlags() can leak a FILE pointer

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: Now transplanted to release clone. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue15973] Segmentation fault on timezone comparison

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: Which commit(s) do I have to pick? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue15882] _decimal.Decimal constructed from tuple

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: Done. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15759] "make suspicious" doesn't display instructions in case of failure

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: The error exit code should be preserved though. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15949] docs.python.org not getting updated

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: When the docs don't update, there's usually an error in running Sphinx. In this case, the recently committed patch for #78982 (in the Unicode howto) prevents the LaTeX build (or more exact, the pdflatex run) from completing. Please revert that part of it. (Asi

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Georg Brandl
Georg Brandl added the comment: This certainly isn't a release blocker. Check it into default, and it will go into 3.3.1. -- priority: release blocker -> normal ___ Python tracker

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Some minor comments: -The operators ``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the +``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the values of two I think it reads better to start a sentence (and in this case a paragraph) with a word

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Mike Hoy
Mike Hoy added the comment: I've attempted to incorporate both Terry's and Ezio's suggestions. Here is a patch to get started with. There is a section that has been deleted. Patch uploaded. -- keywords: +patch Added file: http://bugs.python.org/file27256/issue12067-expressions.diff __

[issue15996] pow() for complex numbers is rough around the edges

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given that >>> 1.0**float('inf'), 1.0**float('-inf') (1.0, 1.0) works, >>> (1.0+0j)**(float('inf') + 0j) Traceback ... ZeroDivisionError: 0.0 to a negative or complex power (and same for ('-inf') seems like a clear bug in raising an exception, let alone a cle

[issue15988] Inconsistency in overflow error messages of integer argument

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The reason for the different messages is clear -- there are different internal tests (I presume in different functions), each of which raises its own error. What do you propose to change? The only thing I can imagine is that when the bytes converter calls the

[issue15987] Provide a way to compare AST nodes for equality recursively

2012-09-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15978] asyncore: included batteries don't fit

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think discussion of this idea on python-ideas list would be better. There might be some controversy and alternatives presented. With a positive response, a PEP should probably follow with details on a module by module basis. As this stands, this is not reall

[issue15974] Optional compact and colored output for regrest

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great idea. By default, the windows console keeps fewer lines of output than regrtest generates, which means that earlier errors are gone before it finishes. -- nosy: +terry.reedy ___ Python tracker

[issue16001] small ints: cache string representation

2012-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Also, can you report benchmark results? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-lis

[issue15997] NotImplemented needs to be documented

2012-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Terry: can you propose an alternative wording? I don't think that the discussion of TypeError belongs into the description of NotImplemented, though. IIUC, NotImplemented was added for performance reasons; returning a value is much faster than raising an exce

[issue15956] backreference to named group does not work

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I read it as a 'native speaker' and it looks fine to me. Table is clear, but I will let doc stylist decide. -- nosy: +terry.reedy ___ Python tracker __

[issue2281] Enhanced cPython profiler with high-resolution timer

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: Reading directly the CPU timestamp counter is not a good idea. > One issue with using timestamp counters is that their resolution varies > with CPU speed, which is not necessarily constant during a whole run > (because of power management). On the other hand I'm

[issue16001] small ints: cache string representation

2012-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Honestly, I'm not sure I understand the point of this optimization. Have you identified a workload where this would help? -- nosy: +mark.dickinson ___ Python tracker _

[issue2281] Enhanced cPython profiler with high-resolution timer

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: Python 3.3 has a new time.perf_counter() function. It may be possible to expose this function in C and then use it in _lsprof. See the PEP for the list of (OS/hardware) clocks used by this function: http://www.python.org/dev/peps/pep-0418/#time-perf-counter ht

[issue16000] test_curses should use unittest

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is an initial patch for discussion. As I started to say in my previous comment, I think it would be worth settling on the wiring (e.g. setUp/tearDown/etc) before trying to do more. Some comments on the current patch: (1) Of the following methods, it's n

[issue10044] small int optimization

2012-09-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10044] small int optimization

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: If I understood correctly, the optimization proposed by Antoine was somehow rejected because _PyLong_IS_SMALL_INT() may be optimized "incorrectly". If a compiler "miscompiles" this macro, can't we disable this optimization on this specific compiler, instead of

[issue15998] Python GUI idle not working

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The following might also be helpful: which version of Windows? 32 or 64 bit? is python the 32 or 64 bit build? Or just copy the header line from the interactive interpreter. For me: Python 3.3.0rc2 (v3.3.0rc2:88a0792e8ba3, Sep 9 2012, 10:13:38) [MSC v.1600 64

[issue16001] small ints: cache string representation

2012-09-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16001] small ints: cache string representation

2012-09-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16001] small ints: cache string representation

2012-09-21 Thread STINNER Victor
New submission from STINNER Victor: Integers in range [-5; 256] are singleton. It is possible to cache their string representation (in base 10) to make str(int) faster, but also to reduce memory consumption (and memory fragmentation, Unicode strings don't use free list). Attached patch impleme

[issue15997] NotImplemented needs to be documented

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The first three sentences are fine. The problem I have is with the 4th: 'may return' is rather vague. Such methods may raise TypeError instead (the old way), seemingly to the same effect. (See msg170936 in issue #12067, which is about clarifying the comparison

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: After further thought: This section is about the syntax operators, not the special methods. The syntax operators never evaluate to NotImplemented as they (apparently) interpret its return from a special method the same as a raising of TypeError, and always rai

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Stefan Krah
Stefan Krah added the comment: It's a bit late here already, but unless I'm missing something I think this is an optimizer bug. I'm attaching a workaround for memoryview.c and _lzmamodule.c. -- keywords: +patch Added file: http://bugs.python.org/file27253/issue15993.diff ___

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Georg: this okay to check in? It passes the regression test. -- nosy: +georg.brandl ___ Python tracker ___

[issue15895] PyRun_SimpleFileExFlags() can leak a FILE pointer

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: > This issue is not a regression My bad, Crys explained me on IRC that the leak does not exist in Python 3.2, it was introduced by the importlib. So it is a regression. -- ___ Python tracker

[issue15895] PyRun_SimpleFileExFlags() can leak a FILE pointer

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: This issue is not a regression, I think that the fix can wait for Python 3.3.1. -- nosy: +haypo ___ Python tracker ___ _

[issue16000] test_curses should use unittest

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Sure, I could start work on such a patch. I may start by switching just a couple of the functions to TestCase though (to establish a model and to make sure everything is wired up correctly), rather than attempting to switch the entire module all at once. ---

[issue15949] docs.python.org not getting updated

2012-09-21 Thread Ned Deily
Ned Deily added the comment: I believe Georg maintains cronjobs for updating the docs. -- ___ Python tracker ___ ___ Python-bugs-list

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm using Ultimate, but I think Professional should provide you with all required tools. -- ___ Python tracker ___ ___

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Switching this to a devguide issue so the work-around can be documented, for example in this section: http://docs.python.org/devguide/faq.html#how-do-i-switch-between-branches-inside-my-working-copy -- assignee: -> docs@python components: +Devguide, D

[issue15852] typos in curses argument error messages

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, I created issue 16000 :) to switch test_curses to using unittest.TestCase. -- ___ Python tracker ___ __

[issue16000] test_curses should use unittest

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: Would like to work on such patch? -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailin

[issue16000] test_curses should use unittest

2012-09-21 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to switch test_curses to using unittest.TestCase classes. Currently, test_curses does not use unittest.TestCase. It just calls a series of functions that exercise curses functionality and aborts if an exception occurs: http://hg.python.org/cp

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Stefan Krah
Stefan Krah added the comment: Martin v. Löwis wrote: > For the record, the released binary is not just a PGO build, but has > been trained with the attached training script. Thanks. Now I can reproduce the issue with a source build. -- ___ Python t

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Stefan Krah
Stefan Krah added the comment: STINNER Victor wrote: > Which version should I try? Ultimate? Premium? Professional? Try Ultimate, it's AFAIK the only version these days that supports PGO. -- ___ Python tracker __

[issue15949] docs.python.org not getting updated

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: The 2.7 docs seem not to be affected by this issue (they are current) -- just the docs for 3.2 and the default branch. -- versions: +Python 3.2, Python 3.3 ___ Python tracker

[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-09-21 Thread Idan Kamara
Idan Kamara added the comment: I just ran into this issue myself and worked around it by using parse_known_args*. * http://docs.python.org/library/argparse.html#partial-parsing -- nosy: +idank ___ Python tracker

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: > You need the professional version of Visual Studio 10. > The express version doesn't support 64 bits. I only have the > Express version. Ah yes, I now remember my issue with VS10 Express: when I set the project to 64 bits, I get such error popup: http://www.h

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Martin v . Löwis
Changes by Martin v. Löwis : Added file: http://bugs.python.org/file27252/profiletests.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: For the record, the released binary is not just a PGO build, but has been trained with the attached training script. -- Added file: http://bugs.python.org/file27251/profile.bat ___ Python tracker

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Declaring this a release blocker is technically difficult. If it is a release blocker, further releases cannot be done until it is resolved. Since it is an issue with the binary only, the only possible way to resolve this is with a release. So declaring this

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: I fail to reproduce the issue on Windows 7 (Version 6.0.1, number 7601, Service Pack 1): --- Microsoft Windows [version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Tous droits réservés. C:\Users\haypo>cd \python33 C:\Python33>python.exe Python 3.3.0rc2

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: Issue #15995 was marked as a duplicate of this issue. Copy of its initial message (msg170853): This is similar to #15993: With the installed Python from the rc2-msi test_lzma fails. I cannot reproduce the failure with python.exe (PGO) compiled from source: ==

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

2012-09-21 Thread STINNER Victor
STINNER Victor added the comment: > Will this [issue] be solved in 3.3 final? No. It would be an huge change and the RC2 was already released. No new feature are accepted after the version 3.3.0 beta 1: http://www.python.org/dev/peps/pep-0398/ I'm not really motivated to work on this issue, bec

[issue15991] BaseHTTPServer with ThreadingMixIn serving wrong data sometimes

2012-09-21 Thread Catalin Iacob
Catalin Iacob added the comment: Can't reproduce this on openSUSE Factory (development version, what will become 12.3). I tried with openSUSE's Python 2 which is 2.7.3 and with self compiled up to date 2.7 branch from hg. For each of these I bumped the number of files to 3000 instead of 300 a

[issue15379] Charmap decoding of no-BMP characters

2012-09-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file26428/decode_charmap_maxchar-3.2.patch ___ Python tracker ___ ___ Pytho

[issue15379] Charmap decoding of no-BMP characters

2012-09-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file26412/decode_charmap_maxchar.patch ___ Python tracker ___ ___ Python-bu

[issue15379] Charmap decoding of no-BMP characters

2012-09-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file26416/decode_charmap_tests.patch ___ Python tracker ___ ___ Python-bugs

[issue15379] Charmap decoding of no-BMP characters

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patches updated. Added a few new tests, used MAX_UNICODE, a little changed extrachars grow step. -- Added file: http://bugs.python.org/file27249/decode_charmap_maxchar-3.3_2.patch Added file: http://bugs.python.org/file27250/decode_charmap_maxchar-3.2

[issue15990] solidify argument/parameter terminology

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: > IMHO as soon as you use terms like "receives" or "accepts", you are still > talking about arguments. Even PEP 362 is loose with its language in this regard. For example, at the beginning of the "Signature Object" section: "For each parameter accepted by th

[issue15990] solidify argument/parameter terminology

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: We could start by establishing the argument/parameter distinction in the glossary. Currently, the word "parameter" does not appear in the glossary, and the definition of "argument" blurs the distinction between the two: For example, in the following definitio

[issue15759] "make suspicious" doesn't display instructions in case of failure

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Apparently a '-' at the beginning of the command means "run this thing and if it fails ignore the failure and keep going". I tried to add an if/else in the build target to use the '-' with the selected builder was "suspicious" but I couldn't make it work, so I

[issue15987] Provide a way to compare AST nodes for equality recursively

2012-09-21 Thread Julian Berman
Julian Berman added the comment: I'd say yes (to both lineno/col_offset). And yeah that sounds like what I had in mind (a helper function). If I'm specific for a moment about implementation, perhaps something like `ast.diff`, which yielded tuples of differing nodes (in say, breadth first orde

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Serhiy, you have the commit bit? It is zero. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue15987] Provide a way to compare AST nodes for equality recursively

2012-09-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is a reasonable request. Should comparison include lineno/col_offset or not? If you implement, __eq__, you should also implement __hash__. Maybe, it would be best to start with a helper comparison function in the ast module. -- nosy: +benjamin.

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: LGTM. Serhiy, you have the commit bit? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27243/posix_path_converter_2.patch ___ Python tracker ___ ___ Python-bu

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file27235/posix_path_converter.patch ___ Python tracker ___ ___ Python-bugs

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Patch looks fine, except please fix 80 columns. Patch updated. Long lines in tests fixed. -- Added file: http://bugs.python.org/file27247/posix_path_converter_3.patch ___ Python tracker

[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I was assigned this to itself to show that I working on the issue. Now I free up place for someone with committing privileges. -- assignee: storchaka -> ___ Python tracker

[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch (for 3.3). I added private _PyLong_AsInt and where possible I have tried to use the appropriate function. -- keywords: +patch Added file: http://bugs.python.org/file27246/long_aslong_overflow.patch

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Patch looks fine, except please fix 80 columns. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue15304] Wrong path in test.support.temp_cwd() error message

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Ezio! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue15852] typos in curses argument error messages

2012-09-21 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for taking a look at this, and good question. Without restructuring how the tests are done, I believe the short answer is no. The funny thing about this test module is that it does not actually have any unittest test cases. It just calls some function

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

2012-09-21 Thread Drekin
Drekin added the comment: Hello, I'm trying to handle Unicode input and output in Windows console and found this issue. Will this be solved in 3.3 final? I tried to write a solution (file attached) based on solution here – rewriting sys.stdin and sys.stdout so it uses ReadConsoleW and WriteCon

[issue15999] Using new 'bool' format character

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Patch looks fine in principle, though I'd want someone to go over the individual cases to make sure they make sense. Also, I have something up my sleeve regarding argument parsing for 3.4, and if it gets accepted we might be touching all this code anyway. I m

[issue15999] Using new 'bool' format character

2012-09-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Issue14705 added 'bool' format character to PyArg_ParseTuple for using it for parsing multiple boolean arguments in os module. The proposed patch uses this format character for other boolean arguments. This makes the sources simpler, clearer and more relia

[issue15998] Python GUI idle not working

2012-09-21 Thread Roger Serwy
Roger Serwy added the comment: Hi Sreeni, Can you launch a Python interpreter from C:\python32\python.exe and report the output to "import tkinter" ? -- status: open -> pending type: crash -> behavior ___ Python tracker

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-21 Thread Karl Bicker
Karl Bicker added the comment: Actually, I would like to check if the threads working on the queue are still alive. However, it occurs to me now that I would need a facility to distinguish between a timeout and an actual join. Unfortunately, my original patch does not provide this, one would

[issue15421] Calendar.itermonthdates OverflowError

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch and the report! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue15421] Calendar.itermonthdates OverflowError

2012-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset bfdf366a779a by Ezio Melotti in branch '2.7': #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. http://hg.python.org/cpython/rev/bfdf366a779a New changeset aa73e60f65e9 by Ezio Melotti in bran

[issue15983] multiprocessing JoinableQueue's join function with timeout

2012-09-21 Thread Richard Oudkerk
Richard Oudkerk added the comment: I notice that queue.Queue.join() does not have a timeout parameter either. Have you hit a particular problem that would be substantially easier with the patch? -- versions: -Python 2.7, Python 3.2, Python 3.3 ___

[issue15996] pow() for complex numbers is rough around the edges

2012-09-21 Thread Mark Dickinson
Mark Dickinson added the comment: > C99 contains cpow. Perhaps we should use conditional compilation? I dread to think what horrors lurk in OS math library implementations of cpow; I suspect we'd soon find out, if we had used cpow and have any tests at all for special cases. OS math librarie

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread John Taylor
John Taylor added the comment: OP here. These error messages are much better. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list

[issue15998] Python GUI idle not working

2012-09-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ned.deily, serwy, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue15304] Wrong path in test.support.temp_cwd() error message

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker _

[issue15304] Wrong path in test.support.temp_cwd() error message

2012-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b60dcabf7e6 by Ezio Melotti in branch '3.2': #15304: fix wrong warning message in test.support.temp_cwd(). http://hg.python.org/cpython/rev/0b60dcabf7e6 New changeset b1d6daface10 by Ezio Melotti in branch 'default': #15304: merge with 3.2. http://

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Mike Hoy
Mike Hoy added the comment: http://bugs.python.org/issue15997 is this issue related to what Terry has mentioned: Does 'not supported' mean 'raises TypeError', 'returns NotImplemented', or both? If the last, I don't really understand the reason for NotImplemented versus TypeError. That point s

[issue15980] Non-escaped '\n' in docstrings

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue15980] Non-escaped '\n' in docstrings

2012-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a125913a375 by Ezio Melotti in branch '2.7': #15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka. http://hg.python.org/cpython/rev/7a125913a375 New changeset e582ad1aee62 by Ezio Melotti in branch '3.2': #15980: properly esca

[issue15882] _decimal.Decimal constructed from tuple

2012-09-21 Thread Stefan Krah
Stefan Krah added the comment: Georg, *if* there is an rc3, could you add 97e53273f423 to it? The commit is a backwards compatibility fix for constructing infinities from tuples with arbitrary coefficients. If there's no rc3, the issue can just be closed as fixed. -- assignee: skrah -

[issue15997] NotImplemented needs to be documented

2012-09-21 Thread R. David Murray
R. David Murray added the comment: The mention of NotImplemented in library/stdtypes cross references to the 'comparisions' section of the reference guide chapter on expressions. That might be a useful cross link in the datamodel section as well. -- nosy: +r.david.murray

[issue15987] Provide a way to compare AST nodes for equality recursively

2012-09-21 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Matthias Klose
Matthias Klose added the comment: fixed for 2.7 and 3.2 as well. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 53fa224b95f4 by doko in branch '2.7': - Issue #11715: Fix multiarch detection without having Debian development http://hg.python.org/cpython/rev/53fa224b95f4 New changeset 78aba41a8105 by doko in branch '3.2': - Issue #11715: Fix multiarch detection

[issue15997] NotImplemented needs to be documented

2012-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: The main point is: it depends on the operation. NotImplemented is a way to signal that an operation is not implemented. It can be used for whatever you want to use it for. You can design to call an operation "foo", and, if NotImplemented is returned, call "ba

[issue14900] cProfile does not take its result headers as sort arguments

2012-09-21 Thread Arne Babenhauserheide
Arne Babenhauserheide added the comment: Did you get to taking a look? Is there anything I should change? -- ___ Python tracker ___ _

[issue15990] solidify argument/parameter terminology

2012-09-21 Thread Mark Dickinson
Mark Dickinson added the comment: Nick Coghlan pointed out that a lot of this discussion has already happened for the function signature object PEP [1]. That PEP defines constants Parameter.POSITIONAL_ONLY Parameter.POSITIONAL_OR_KEYWORD Parameter.KEYWORD_ONLY Parameter.VAR_POS

[issue15998] Python GUI idle not working

2012-09-21 Thread Sreenivas
New submission from Sreenivas: Hi Everybody, I have a problem where Python GUI IDLE is not working.I did go through the issues 15658,9925,4625.I did follow the steps given in these issues.I did unset the tcl and tk_library.I was able to open the python idle temporarily.But once i closed it I

[issue15990] solidify argument/parameter terminology

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: > "between arguments (what you pass, call syntax) and parameters > (what the function receives, function definition syntax)" Note that there's a subtle difference to make here. IMHO as soon as you use terms like "receives" or "accepts", you are still talking abo

[issue15545] sqlite3.Connection.iterdump() does not work with row_factory = sqlite3.Row

2012-09-21 Thread Pierre Le Marre
Pierre Le Marre added the comment: Thanks for the patch. In which version will be your patch integrated? -- ___ Python tracker ___ ___

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15995] Windows: 3.3.0-rc2.msi: test_lzma fails

2012-09-21 Thread Stefan Krah
Stefan Krah added the comment: This should be the same as #15993. Closing. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Windows: 3.3.0-rc2.msi: test_buffer fails ___ Python tracker

  1   2   >