[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Russell Stuart
New submission from Russell Stuart: .. topic:: http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception` A bug report for Python 2.7's docs. .. _intro: Bug === Running:: sphinx-build -c conf2.7 -n -b html -E . html Produces:: Running Sphinx v1.1.3 loa

[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Russell Stuart
Changes by Russell Stuart : Added file: http://bugs.python.org/file29795/conf.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Russell Stuart
Changes by Russell Stuart : Added file: http://bugs.python.org/file29796/conf.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue17659] no way to determine First weekday (based on locale)

2013-04-13 Thread Izidor Matušov
Izidor Matušov added the comment: Yes, I need to find out calendar-week-start-day information based on the current locale. Or in the other words, I need to find out what the correct parameter for calendar.Calendar([firstweekday]) object is. With locale en_US it should be Sunday, with locale s

[issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

2013-04-13 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue13355] random.triangular error when low = high=mode

2013-04-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Andrew Svetlov, please revert the commit. It breaks code that may have been working before the commit. Also, I don't want to change the exceptions being raised in old versions of Python. -- resolution: fixed -> _

[issue16309] "PYTHONPATH=" different from no PYTHONPATH at all

2013-04-13 Thread Armin Rigo
Armin Rigo added the comment: Grrr, ok, I have an "alias ls='/bin/ls'". It seems that both "PATH=" and "unset PATH" are equivalent to "PATH=.". This is behavior that we cannot add to PYTHONPATH, I fear, because so far "." is not implicitly included if PYTHONPATH is not set. Or if we do it's

[issue17665] convert test_wsgiref to idiomatic unittest code

2013-04-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: I don't think the second change is correct. See also issue16510. -- nosy: +serhiy.storchaka type: performance -> enhancement ___ Python tracker ___

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d02507c9f973 by Serhiy Storchaka in branch '2.7': Issue #17656: Fix extraction of zip files with unicode member paths. http://hg.python.org/cpython/rev/d02507c9f973 -- ___ Python tracker

[issue17710] SystemError in cPickle for incorrect input

2013-04-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: >>> import cPickle >>> cPickle.loads(b"S' \np0\n.") Traceback (most recent call last): File "", line 1, in SystemError: Negative size passed to PyString_FromStringAndSize >>> pickle.loads(b"S' \np0\n.") Traceback (most recent call last): File "", line 1,

[issue17710] SystemError in cPickle for incorrect input

2013-04-13 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17711] Persistent id in pickle with protocol version 0

2013-04-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Python 2 allows pickling and unpickling non-ascii persistent ids. In Python 3 C implementation of pickle saves persistent ids with protocol version 0 as utf8-encoded strings and loads as bytes. >>> import pickle, io >>> class MyPickler(pickle.Pickler): ...

[issue17706] Segfault in PyErr_SetObject

2013-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is xerbla? PyThreadState_GET() returning NULL means the GIL has been released, sounds like a bug in a third-party C extension. -- nosy: +pitrou ___ Python tracker ___

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, georg.brandl, giampaolo.rodola, larry priority: high -> release blocker stage: -> patch review versions: +Python 2.7, Python 3.2, Python 3.4 ___ Python tracker

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-13 Thread Georg Brandl
Georg Brandl added the comment: Very good, regression #2 for 3.3.2. Keep them coming right now :) -- ___ Python tracker ___ ___ Python

[issue17712] test_gdb failures

2013-04-13 Thread Antoine Pitrou
New submission from Antoine Pitrou: I'm getting multiple test_gdb failures on a new (XUbuntu 13.04) system: == FAIL: test_basic_command (test.test_gdb.PyLocalsTests) --

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-13 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: My patch, my fault. I'm very sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-13 Thread Georg Brandl
Georg Brandl added the comment: Don't worry, mistakes happen. My message was actually positive: it's better to catch the problems now than two weeks after the regression fix release... -- ___ Python tracker _

[issue17712] test_gdb failures

2013-04-13 Thread Georg Brandl
Georg Brandl added the comment: I guess that warning needs to be added to all the others in test_gdb around line 150... -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue17712] test_gdb failures

2013-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: (if anyone knows why that warning appears, by the way, I'll be glad to hear about it :-)) -- ___ Python tracker ___ ___

[issue16510] Using appropriate checks in tests

2013-04-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16510] Using appropriate checks in tests

2013-04-13 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: @David is that policy documented in the devguide? If not, should it be? -- ___ Python tracker ___

[issue17706] Segfault in PyErr_SetObject

2013-04-13 Thread Pauli Virtanen
Pauli Virtanen added the comment: Yes, this is a bug in numpy.linalg --- the GIL is released but the error handling code assumes it's not. The error doesn't appear with in typical LAPACK installations, so this code branch was missed. -- nosy: +pv __

[issue17706] Segfault in PyErr_SetObject

2013-04-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you, closing then. -- resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue16551] Cleanup the pure Python pickle implementation

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated in response to Alexandre's comments. In additional to his suggestions some other minor things simplified. _batch_appends and _batch_setitems now use islice instead range. Some bugs found and new issues created (issue17710, issue17711). ---

[issue17713] test_logging fails in test_compute_rollover_weekly_attime

2013-04-13 Thread Ned Batchelder
New submission from Ned Batchelder: I just pulled down the tip of CPython, built it, and ran the tests, and got this failure: ``` == FAIL: test_compute_rollover_weekly_attime (test.test_logging.TimedRotatingFileHandlerTest) --

[issue17713] test_logging fails in test_compute_rollover_weekly_attime

2013-04-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue16447] SEGFAULT when setting type.__name__

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5e5017309b1 by Mark Dickinson in branch '2.7': Issue #16447: Fix potential segfault when setting __name__ on a class. http://hg.python.org/cpython/rev/d5e5017309b1 -- nosy: +python-dev ___ Python tracker

[issue16447] SEGFAULT when setting type.__name__

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6d1328412c8 by Mark Dickinson in branch '3.3': Issue #16447: Fix potential segfault when setting __name__ on a class. http://hg.python.org/cpython/rev/e6d1328412c8 New changeset c8d771f10022 by Mark Dickinson in branch 'default': Issue #16447: Merg

[issue16447] SEGFAULT when setting type.__name__

2013-04-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16447] SEGFAULT when setting type.__name__

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed. -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16447] SEGFAULT when setting type.__name__

2013-04-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: commit review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13355] random.triangular error when low = high=mode

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: I agree that the issue_13355.patch commit should be reverted: the code used to work fine in the case high < mode < low, and now does not. (Similarly, a call to random.uniform(2.0, 1.0) works as expected at the moment.) Really, I think all that's needed here i

[issue17643] Expose weakref callback for introspection purposes.

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9e7d31b04d78 by Mark Dickinson in branch 'default': Issue #17643: Add __callback__ attribute to weakref.ref. http://hg.python.org/cpython/rev/9e7d31b04d78 -- nosy: +python-dev ___ Python tracker

[issue17643] Expose weakref callback for introspection purposes.

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: Committed, using support.gc_collect for the test that requires garbage collection. Thanks for the reviews! -- assignee: -> mark.dickinson resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _

[issue17705] Fill Character cannot be \0

2013-04-13 Thread Stefan Krah
Stefan Krah added the comment: Unsurprisingly (libmpdec is a C library) this also does not work in _decimal. I could add a special case in _decimal.c at the cost of two additional if statements for all regular use cases. Is padding with NUL a legitimate use case? IOW, is the slowdown justified

[issue12181] SIGBUS error on OpenBSD (sparc64)

2013-04-13 Thread Federico Schwindt
Federico Schwindt added the comment: Trent, would be possible to update the OpenBSD slaves to 5.3 (or -current)? There has been too many changes since 5.1 that affect python (for example the threads implementation). -- ___ Python tracker

[issue17705] Fill Character cannot be \0

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: > Is padding with NUL a legitimate use case? I don't see a good reason to disallow it, and it seems like a fairly plausible need. Numpy, for example, pads strings will NUL bytes when placing a short string in long fixed-width field. -- nosy: +mark.di

[issue17671] io.BufferedRWPair can use uninitialized members

2013-04-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17536] update browser list with additional browser names

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a1429e9b621 by doko in branch '2.7': - Issue #17536: Add to webbrowser's browser list: xdg-open, gvfs-open, http://hg.python.org/cpython/rev/5a1429e9b621 -- ___ Python tracker

[issue13355] random.triangular error when low = high=mode

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e948154af406 by Andrew Svetlov in branch '3.3': Revert changes for #13355 by request from Raymond Hettinger http://hg.python.org/cpython/rev/e948154af406 New changeset 39bbbf5d7b01 by Andrew Svetlov in branch 'default': Revert changes for #13355 by

[issue17536] update browser list with additional browser names

2013-04-13 Thread Matthias Klose
Matthias Klose added the comment: now in 2.7 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue13355] random.triangular error when low = high=mode

2013-04-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Reverted. Sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue17705] Fill Character cannot be \0

2013-04-13 Thread Stefan Krah
Stefan Krah added the comment: Mark Dickinson wrote: > Numpy, for example, pads strings will NUL bytes when placing a short > string in long fixed-width field. I was hoping to escape the work, but that's quite convincing. ;) Changing libmpdec doesn't look very appealing, so probably I'll use "

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-13 Thread Charles-François Natali
Charles-François Natali added the comment: As they say, s*** happens (one of my first patches caused a regression with thread-local storage in multiple interpreters setup, so...) Note that it's a strong case for selectors inclusion (issue #16853) :-) BTW, this would probably need a test, and si

[issue17628] str==str: compare the first and last character before calling memcmp()

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Some crazy ideas. Try something like this: #define BLOCK unsigned long if (size >= sizeof(BLOCK)) { if (*(BLOCK*)data1 != *(BLOCK*)data2) return 0; return (memcmp((unsigned char*)data1 + sizeof(BLOCK),

[issue17714] str.encode('base64') add trailing new line character is not documented

2013-04-13 Thread Alessandro Piccione
New submission from Alessandro Piccione: str.encode() with 'base64' as argument add a trailing new line character to the returned string. This is the difference from base64.b64encode(str) (that is used internally). This is not documented in str.encode() http://docs.python.org/2/library/stdtype

[issue17714] str.encode('base64') add trailing new line character. It is not documented.

2013-04-13 Thread Alessandro Piccione
Changes by Alessandro Piccione : -- title: str.encode('base64') add trailing new line character is not documented -> str.encode('base64') add trailing new line character. It is not documented. ___ Python tracker _

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
New submission from Mark Dickinson: Python 3.4.0a0 (default:838fdf3bb0c6, Apr 13 2013, 16:54:22) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> class A: ... def __trunc__(self): 1/0 ... >>> int(A()) Segmentation fault

[issue8865] select.poll is not thread safe

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Gregory? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: This looks to work correctly in default branch, >>> os.link('non-existent-name', 'new-name') Traceback (most recent call last): File "", line 1, in FileNotFoundError: [WinError 2] The system cannot find the file specified: 'non-existent-name' -- nosy:

[issue17716] IMPORTANT - Process corruption on partly failed imports

2013-04-13 Thread Pascal Chambon
New submission from Pascal Chambon: Hello, we've encountered several times a very nasty bug on our framework, several times tests or even production code (served by mod_wsgi) ended up in a broken state, where imports like "from . import processing_exceptions", which were NOT in circular impor

[issue14012] Misc tarfile fixes

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Éric, can you please update your patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: Also affects 3.3. 2.7 seems to be okay. -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-

[issue17665] convert test_wsgiref to idiomatic unittest code

2013-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: In this case I don't think it matters much. The value is either True or False, so both assertTrue(...) and assertIs(..., True) work, even though the latter is technically more accurate. -- nosy: +ezio.melotti ___ Pyt

[issue17716] IMPORTANT - Process corruption on partly failed imports

2013-04-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: Behavior for symlink is as follows >>> os.symlink('non-existent-name', 'existing-name') Traceback (most recent call last): File "", line 1, in PermissionError: [WinError 5] Access is denied: 'non-existent-name' The error message is misleading, but can be fixed

[issue16510] Using appropriate checks in tests

2013-04-13 Thread R. David Murray
R. David Murray added the comment: If it isn't documented it should be, and you could open an issue for it. -- ___ Python tracker ___

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2013-04-13 Thread Ned Jackson Lovely
Ned Jackson Lovely added the comment: Attaching a patch to make SMTPException an IOError, with corresponding update to docs to point out that __init__ on the SMTP object will raise IOErrors in general, and some SMTPExceptions in particular. Boston Python Sprint Apr 2013 -- nosy: +n Ad

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue17661] documentation of '%r' links to the wrong repr

2013-04-13 Thread Dan Riti
Dan Riti added the comment: Reproduced the issue and generated a patch following Kyle's documented approach. Please note that this patch addresses the link problem, but does not address the style issue. Thanks. -- keywords: +patch nosy: +Dan.Riti Added file: http://bugs.python.org/fi

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file29800/issue17715.patch ___ Python tracker ___ ___

[issue17670] Improve str.expandtabs() doc

2013-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: "This doesn’t understand other non-printing characters or escape sequences." This might also be improved. Does it mean that all characters are considered having len(c) == 1, even if they are not printable or escape sequence (and which escape sequences? \f, \v?)

[issue17341] Poor error message when compiling invalid regex

2013-04-13 Thread Jason Michalski
Changes by Jason Michalski : -- keywords: +patch Added file: http://bugs.python.org/file29802/cpython-3.3-17341.patch ___ Python tracker ___ _

[issue17341] Poor error message when compiling invalid regex

2013-04-13 Thread Jason Michalski
Changes by Jason Michalski : Added file: http://bugs.python.org/file29803/cpython-2.7-17341.patch ___ Python tracker ___ ___ Python-bugs-list

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2013-04-13 Thread R. David Murray
R. David Murray added the comment: This looks good for 3.4. Ned, would you also be willing to prepare a doc patch for 3.3 that mentions that IOError may be raised? (I think the 3.3 patch will also apply to 2.7.) -- versions: +Python 2.7, Python 3.3, Python 3.4 -Python 3.2 __

[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: issue13775, issue16074, and issue16812 all are virtually about the same bug. There is no working patch in any issue, but the discussion in issue16074 is longer. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superse

[issue13775] Access Denied message on symlink creation misleading for an existing file/directory target.

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: issue13775, issue16074, and issue16812 all are virtually about the same bug. There is no working patch in any issue, but the discussion in issue16074 is longer. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superse

[issue17390] display python version on idle title bar

2013-04-13 Thread Kent Johnson
Kent Johnson added the comment: issue17390_editor_title.patch is not correct, it changes the title on any window that inherits from EditorWindow, including the shell window. Here is a new patch that changes short_title() instead of saved_change_hook(), so it can be overridden by derived classe

[issue17717] Set up nasm from external.bat

2013-04-13 Thread John Ehresman
New submission from John Ehresman: It would be nice for Tools\buildbot\external.bat to set a copy of nasm up to use. Is there a reason this is not done? -- components: Windows messages: 186752 nosy: jpe priority: normal severity: normal status: open title: Set up nasm from external.bat

[issue17713] test_logging fails in test_compute_rollover_weekly_attime

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 185ae0c95e5b by Vinay Sajip in branch 'default': Issue #17713: Test temporarily skipped while failure investigated. http://hg.python.org/cpython/rev/185ae0c95e5b -- nosy: +python-dev ___ Python tracker <

[issue17640] from distutils.util import byte_compile hangs

2013-04-13 Thread Giles Hall
Giles Hall added the comment: I was unable to replicate this bug with clean builds of either Python3.3.0 and Python3.3.1rc1 on either Linux or OSX. I assume you also meant Ctrl-C, since there is no reading from standard input occurring in this script. Without further data such as platform/ven

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: LGTM -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17700] Update Curses HOWTO for 3.4

2013-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16074] bad error message in os.rename

2013-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I just closed two almost identical issues in favour of this issue. I believe that in order to avoid ambiguity, there are three possible solutions of such issues: 1. Do not display any filename (as in Python 2.7). 2. Display both filenames (this can also be s

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52bd2035e70a by Mark Dickinson in branch '3.3': Issue #17715: Add missing NULL Check to PyNumber_Long. http://hg.python.org/cpython/rev/52bd2035e70a New changeset 5358ee70f831 by Mark Dickinson in branch 'default': Issue #17715: Merge fix from 3.3.

[issue17715] Raising an exception in __trunc__ gives a segmentation fault.

2013-04-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2013-04-13 Thread Ned Jackson Lovely
Ned Jackson Lovely added the comment: ...and the 3.3 doc patch. -- Added file: http://bugs.python.org/file29805/issue2118-doc-patch-3.3.diff ___ Python tracker ___ ___

[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17640] from distutils.util import byte_compile hangs

2013-04-13 Thread Dmitry Sivachenko
Dmitry Sivachenko added the comment: No, I meant Ctrl+D. I use FreeBSD-10. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17716] From ... import fails when parent package failed but child module succeeded, yet works in std import case

2013-04-13 Thread Brett Cannon
Brett Cannon added the comment: TL;DR: don't do anything involving side-effects as part of an import that can fail like connecting to a database. Another bug that proposes tweaking the IMPORT_FROM bytecode semantics will more than likely solve your problem regardless. First question: what ve

[issue17640] from distutils.util import byte_compile hangs

2013-04-13 Thread Giles Hall
Giles Hall added the comment: Hi Dmitry, since I can't replicate your issue, can you provide any more context from GDB and/or strace/ktrace? Thanks! -- ___ Python tracker ___ _

[issue17686] Doc using/unix broken link (http://linuxmafia.com/)

2013-04-13 Thread Dan Riti
Dan Riti added the comment: I second akuchling's link suggestion, as it seems to be the most up to date openSUSE packaging resource. I have generated a patch to update the link. Also, it seems this link is also broken in the 2.7 documentation: http://docs.python.org/2/using/unix.html ---

[issue1243730] Big speedup in email message parsing

2013-04-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17686] Doc using/unix broken link (http://linuxmafia.com/)

2013-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 2.7 ___ Python

[issue17686] Doc using/unix broken link (http://linuxmafia.com/)

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ed694679b81 by Ezio Melotti in branch '3.3': #17686: fix broken link in Doc/using/unix.rst. Patch by Dan Riti. http://hg.python.org/cpython/rev/2ed694679b81 New changeset 86a95813e5c3 by Ezio Melotti in branch 'default': #17686: merge with 3.3. ht

[issue1727418] xmlrpclib waits indefinately

2013-04-13 Thread Adam Duston
Adam Duston added the comment: We used the xmlrpc++0.7 library to set up a test server, consistent with what Arno reported in the original ticket. We weren’t able to reproduce the problem with 2.7.2 or 3.4. Furthermore, xmlrpclib.Server (or xmlrpc.client.Server in Python 3) connects with HTTP

[issue17571] broken links on Lib/datetime.py docstring

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70f9f6752d28 by Ezio Melotti in branch '3.3': #17571: remove broken links in datetime.py docstring. http://hg.python.org/cpython/rev/70f9f6752d28 New changeset 0d2c364c7e5d by Ezio Melotti in branch 'default': #17571: merge with 3.3. http://hg.pytho

[issue17713] test_logging fails in test_compute_rollover_weekly_attime

2013-04-13 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: -> vinay.sajip components: +Library (Lib) type: -> behavior versions: +Python 3.4 ___ Python tracker ___ _

[issue17571] broken links on Lib/datetime.py docstring

2013-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker __

[issue17718] boolop constant checking for if/while

2013-04-13 Thread Stephen Tu
New submission from Stephen Tu: Here's a simple patch to optimize away constant boolean conjunctions/disjunctions. for example: def foo(): if 1 and 0: print("hi") now disassembles into: 7 0 LOAD_CONST 0 (None) 3 RETURN_VALUE while I realiz

[issue17386] Bring Doc/make.bat as close to Doc/Makefile as possible

2013-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Terry, do you want to test and commit this? Should it be backported to 3.3 (and possibly 2.7) too? -- stage: patch review -> commit review ___ Python tracker

[issue17719] IDLE help text refers to incorrect Python version

2013-04-13 Thread Kent Johnson
New submission from Kent Johnson: The IDLE help text says, "Running without a subprocess: (DEPRECATED in Python 3.5 see Issue 16123)." According to the referenced issue, this feature is scheduled to be deprecated in *3.4* and *removed* in 3.5. The attached patch corrects the help text. --

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-13 Thread Mike Milkin
Mike Milkin added the comment: This patch adds better exception messages. If any label other then the last is empty or is too long the request is added to the exception message. If the last label is over 64, the label is added to the exception message -- keywords: +patch nosy: +mmilk

[issue17719] IDLE help text refers to incorrect Python version

2013-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +asvetlov stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue17718] boolop constant checking for if/while

2013-04-13 Thread Ned Batchelder
Changes by Ned Batchelder : -- nosy: +nedbat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16074] bad error message in os.rename

2013-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: I would say either option 3, or, if it's too complicated, option 2. FTR the two issues mentioned in the previous message are #13775 and #16812. -- ___ Python tracker

[issue17719] IDLE help text refers to incorrect Python version

2013-04-13 Thread Kent Johnson
Kent Johnson added the comment: Note: this text does not appear in Doc/library/idle.rst so it does not have to be corrected there. -- ___ Python tracker ___

[issue9341] allow argparse subcommands to be grouped

2013-04-13 Thread Phil Connell
Changes by Phil Connell : -- nosy: +pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

  1   2   3   >