[issue18445] Tools/Script/Readme is outdated

2013-07-14 Thread Févry Thibault
New submission from Févry Thibault: Several issues : - abitype.py, analyze_dxp.py, get-remote-certificate.py, import_diagnostics.py, parse_html5_entities.py are not documented. - README mentions redemo.py which was moved to Tools/Demo. - README says all python scripts are executables, but some

[issue18446] Dead link in documenting.rst

2013-07-14 Thread Févry Thibault
New submission from Févry Thibault: The following link is dead : Apple Publications Style Guide: http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/APStyleGuide/APSG_2009.pdf and redirects to another page. -- components: Devguide messages: 193029 nosy:

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-14 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Now we have the mockText, So I updated my test for Idlehistory. The submitted patch2 contains tests for two methods in Idlehistory (history_store and History_do). I hope the tests for history_store are done. But the history_do method tests fails. I explored a

[issue18446] Dead link in documenting.rst

2013-07-14 Thread Ezio Melotti
Ezio Melotti added the comment: This has been reported in #18021. -- resolution: - duplicate stage: - committed/rejected status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18446

[issue18021] Update broken link to Apple Publication Style Guide

2013-07-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset dcb9ec098781 by Ezio Melotti in branch 'default': #18021: remove broken link to the Apple Style Guide. Patch by Madison May. http://hg.python.org/devguide/rev/dcb9ec098781 -- nosy: +python-dev ___

[issue18021] Update broken link to Apple Publication Style Guide

2013-07-14 Thread Ezio Melotti
Ezio Melotti added the comment: Since this was keep getting reported (see e.g. #18446) I now removed the link. If you think an updated link to the Apple Style Guide should be included instead please reopen, but from a quick look at it it's hard to tell what parts are relevant to our docs.

[issue9951] introduce bytes.hex method

2013-07-14 Thread Arnon Yaari
Arnon Yaari added the comment: Hi, is there any chance to get this merged? This ticket has been open for almost 3 years... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9951 ___

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-14 Thread Ned Deily
Ned Deily added the comment: The reason for the observed behavior is that the built-in IDLE Classic OSX keyset, which is the default for OS X framework installs, has a different keybinding for beginning-of-line. See Lib/idlelib/config-key.def [IDLE Classic OSX] ... beginning-of-line =

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-14 Thread Ned Deily
Ned Deily added the comment: er, Lib/idlelib/config-keys.def -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18444 ___ ___ Python-bugs-list

[issue18447] Pydoc crashes on large contents

2013-07-14 Thread Torim
New submission from Torim: If invoking pydoc either from a system shell or as a help() method in an interactive Python interpreter, it crashes with SIGSEGV signal at exit. It crashes only with larger documentation contents, smaller do work as expected. Example with numpy module docs: 1. launch

[issue18448] Tools/demo/eiffel.py fails to run tests.

2013-07-14 Thread Févry Thibault
New submission from Févry Thibault: Using trunk. .Tools/demo/eiffel.py -v testEiffelMetaClass1 (__main__.Tests) ... FAIL testEiffelMetaClass2 (__main__.Tests) ... FAIL == FAIL: testEiffelMetaClass1 (__main__.Tests)

[issue18447] Pydoc crashes on large contents

2013-07-14 Thread Ned Deily
Ned Deily added the comment: What platform and what versions of python and numpy are you using? I'm not able to reproduce a crash. But there is another report (Issue18356) about such a crash using Ubuntu 13.04. If that's what you are using, we will mark this as a duplicate. --

[issue18432] sched modules queue property should return a list, not an iterator

2013-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for explanation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18432 ___ ___ Python-bugs-list

[issue9951] introduce bytes.hex method

2013-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are several ways to do this: base64.b16encode, binascii.a2b_hex, hex(int.from_bytes(...)), etc. Why you need yet one? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org

[issue18448] Tools/demo/eiffel.py fails to run tests.

2013-07-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +easy nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18448 ___

[issue11874] argparse assertion failure with brackets in metavars

2013-07-14 Thread Vajrasky Kok
Vajrasky Kok added the comment: Tidied up the unit test. Mixed with arguments without metavar. -- Added file: http://bugs.python.org/file30913/unit_test_argparse.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11874

[issue18447] Pydoc crashes on large contents

2013-07-14 Thread Torim
Torim added the comment: Python 2.7.5 numpy 1.7.1 platform: Linux x86_64 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18447 ___ ___

[issue18447] Pydoc crashes on large contents

2013-07-14 Thread Torim
Torim added the comment: I'd agree, it looks like a duplicate of a href=http://bugs.python.org/issue18356Issue18356/a . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18447 ___

[issue18449] Demo 'ss1.py' crash in python3

2013-07-14 Thread Févry Thibault
New submission from Févry Thibault: Run the demo. Click one of the columns or the rows. It does not select the colum/row accordingly and outputs an error log to command line. -- components: Demos and Tools files: python_3_change.patch keywords: patch messages: 193045 nosy:

[issue11874] argparse assertion failure with brackets in metavars

2013-07-14 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the preliminary fix and the unit test for this ticket. -- Added file: http://bugs.python.org/file30915/fix_and_unit_test_for_argparse_inner_bracket_bug.txt ___ Python tracker rep...@bugs.python.org

[issue18336] codecs: Link to readline module (history) instead of fd.readline()

2013-07-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18336 ___ ___

[issue16741] `int()`, `float()`, etc think python strings are null-terminated

2013-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch for 2.7. -- Added file: http://bugs.python.org/file30916/int_from_str-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16741 ___

[issue5308] cannot marshal objects with more than 2**31 elements

2013-07-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: commit review - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5308 ___

[issue17872] Crash in marshal.load() with bad reader

2013-07-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: commit review - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17872 ___

[issue18305] [patch] Fast sum() for non-numbers

2013-07-14 Thread Sergey
Sergey added the comment: Attached fasttuple.py is a Proof-of-Concept implementation of tuple, that reuses same data storage when possible. Its possible usage looks similar to built-in tuples: from fasttuple import ft a = ft([1,2]) b = a + ft([3,4]) c = b + ft([5,6]) d = b +

[issue18445] Tools/Script/Readme is outdated

2013-07-14 Thread Févry Thibault
Changes by Févry Thibault thibaultfe...@gmail.com: -- components: +Demos and Tools type: - enhancement versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18445 ___

[issue18445] Tools/Script/Readme is outdated

2013-07-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18445

[issue18305] [patch] Fast sum() for non-numbers

2013-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I guess such implementation of tuple will increase memory usage and creation time which are critical important for tuples. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18305

[issue9893] Removing the Misc/Vim/ files

2013-07-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset afd17a514117 by Brett Cannon in branch 'default': Issue #9893: remove an outdated mention of the Vim-related files. http://hg.python.org/cpython/rev/afd17a514117 -- nosy: +python-dev ___ Python tracker

[issue9893] Removing the Misc/Vim/ files

2013-07-14 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the info, Févry. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9893 ___ ___ Python-bugs-list mailing

[issue18305] [patch] Fast sum() for non-numbers

2013-07-14 Thread Sergey
Sergey added the comment: I guess such implementation of tuple will increase memory usage and creation time which are critical important for tuples. On the contrary, it will reduce memory usage and creation time compared to regular tuples, because in cases like: c = a + b you do not have

[issue18450] Typos in developers.rst

2013-07-14 Thread Févry Thibault
New submission from Févry Thibault: 'Mathemathics' - 'Mathematics' 'Recommandation' (I also love French :) ) - 'Recommendation' -- components: Devguide files: typos.patch keywords: patch messages: 193053 nosy: ezio.melotti, iwontbecreative priority: normal severity: normal status: open

[issue18366] Look into using setuptools 0.8 with devinabox

2013-07-14 Thread Brett Cannon
Brett Cannon added the comment: Setuptools 0.8 will work fine. See issue #18367 for its planned use. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18366

[issue18367] See if a venv setup can be used for devinabox for coverage

2013-07-14 Thread Brett Cannon
Brett Cannon added the comment: I think getting set up for coverage.py is going to change to: 1. Download the latest setuptools 2. Download the latest coverage -- full_coverage.py build -- 3. Create a venv 4. Extract setuptools and coverage into a src/ directory in the venv 5. Install

[issue18451] Omit test files in devinabox coverage run

2013-07-14 Thread Brett Cannon
New submission from Brett Cannon: Devinabox's full_coverage.py run should omit test files. Probably need to put the path in quotes for proper escaping (same for report). -- assignee: brett.cannon keywords: easy messages: 193056 nosy: brett.cannon priority: normal severity: normal

[issue18452] Typo in Doc/howto/argparse.rst

2013-07-14 Thread Févry Thibault
New submission from Févry Thibault: 'occurences' - 'occurrences' -- assignee: docs@python components: Documentation messages: 193057 nosy: docs@python, iwontbecreative priority: normal severity: normal status: open title: Typo in Doc/howto/argparse.rst type: enhancement versions: Python

[issue18436] Add mapping of symbol to function to operator module

2013-07-14 Thread Ron Adam
Ron Adam added the comment: Regarding opertor.get_op: Look at help(symbols) output for consistancy. There may be items in one that can be included in the other. The operator.get_op addition would be useful for improving help on the symbol information for help/pydoc. Currently it seems

[issue18453] There are unused variables inside DateTimeTestCase class in test_xmlrpc.py

2013-07-14 Thread Vajrasky Kok
New submission from Vajrasky Kok: Attached the menial fix to unit test in test_xmlrpc.py. -- components: Tests files: fix_DateTimeTestCase.txt messages: 193059 nosy: vajrasky priority: normal severity: normal status: open title: There are unused variables inside DateTimeTestCase class

[issue18452] Typo in Doc/howto/argparse.rst

2013-07-14 Thread Févry Thibault
Févry Thibault added the comment: This one typo should also be fixed on other files namely : - Doc/library/stdtypes.rst - Doc/library/configparser.rst -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18452

[issue18453] There are unused variables inside DateTimeTestCase class in test_xmlrpc.py

2013-07-14 Thread Vajrasky Kok
Vajrasky Kok added the comment: Okay, instead of using computer timer, I use mock object instead. -- Added file: http://bugs.python.org/file30920/fix_DateTimeTestCase_using_mock_object.txt ___ Python tracker rep...@bugs.python.org

[issue18454] distutils crashes when uploading to PyPI having only the username (no pw) defined

2013-07-14 Thread Jan-Philip Gehrcke
New submission from Jan-Philip Gehrcke: When updating an existing project on PyPI via distutils using the upload command, I observe erroneous behavior regarding the credentials when I do not want to store my password in clear text in the pypirc file: (1) When running python setup.py

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Zachary Ware
Zachary Ware added the comment: Just from a bit of testing without looking at the patch very much, there are a couple of things that need to be fixed. First, the + and += links don't work, tested on Firefox and Konqueror on Linux. Second, there are a couple of symbols which should have been

[issue18449] Demo 'ss1.py' crash in python3

2013-07-14 Thread Févry Thibault
Févry Thibault added the comment: Depending on what's the policy (is this documented somewhere ? Should we try to enhance them or not ?) for demo files, I might add the possibility to change the default number of line/columns. Needing some guidance here. -- versions: +Python 3.4

[issue18447] Pydoc crashes on large contents

2013-07-14 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - help(numpy) causes segfault on exit ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18447

[issue18450] Typos in developers.rst

2013-07-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 26a3ff53a7da by Ned Deily in branch 'default': Closes #18450: fix more typos (noticed by Févry Thibault). http://hg.python.org/devguide/rev/26a3ff53a7da -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open -

[issue18452] Typo in Doc/howto/argparse.rst

2013-07-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c935717fc8e by Ned Deily in branch '2.7': Issue #18452: fix several occurrence typos (reported by Févry Thibault). http://hg.python.org/cpython/rev/8c935717fc8e New changeset 1a93c624551f by Ned Deily in branch '3.3': Issue #18452: fix several

[issue18452] Typo in Doc/howto/argparse.rst

2013-07-14 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- type: enhancement - versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18452 ___

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-14 Thread Todd Rovito
Todd Rovito added the comment: Ned, Thanks for such a thorough comment this saved me lots of time now I don't have to dig so deeply into the problem. After spending some time trying to understand how this all works or doesn't across the various Tk's, I am coming to the conclusion that we

[issue11874] argparse assertion failure with brackets in metavars

2013-07-14 Thread paul j3
paul j3 added the comment: If the arg_parts are passed through the same cleanup as the 'text' (and empty strings removed), then text = ' '.join(arg_parts) In that case there would be no need to return both (text, arg_parts). Parenthesis in the metavar could also create the problem

[issue18455] Multiprocessing connection SocketClient retries connection on socket

2013-07-14 Thread Michael Ballantyne
New submission from Michael Ballantyne: from multiprocessing/connection.py: while 1: try: s.connect(address) except socket.error, e: if e.args[0] != errno.ECONNREFUSED or _check_timeout(t): debug('failed to connect to address %s', address)

[issue18455] Multiprocessing connection SocketClient retries connection on socket

2013-07-14 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18455 ___ ___ Python-bugs-list mailing

[issue18456] Documentation for PyDict_Update is incorrect

2013-07-14 Thread Nick Coghlan
New submission from Nick Coghlan: The docs from PyDict_Update (http://docs.python.org/3/c-api/dict.html#PyDict_Update) claim it is equivalent to the Python level dict.update (http://docs.python.org/3/library/stdtypes#dict.update) This isn't accurate - unlike dict.update, PyDict_Update

[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

2013-07-14 Thread paul j3
paul j3 added the comment: This patch adds a MultiGroupHelpFormatter that formats groups even if they share actions or the actions are not in the same order as in the parse._actions list. It sorts the groups so positional actions, if any appear in the correct order. A long test case

[issue11874] argparse assertion failure with brackets in metavars

2013-07-14 Thread paul j3
paul j3 added the comment: I just filed a patch with http://bugs.python.org/issue10984 (argparse add_mutually_exclusive_group should accept existing arguments to register conflicts) that includes the latest patch from this issue. I tweaked it so _format_actions_usage only returns arg_parts.

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Ron Adam added the comment: Thanks for catching that. I had used unquote_plus instead of unquote. That is needed for multi-field form data, pydoc doens't need it. Removed the back tick from the pydoc symbols list. The topic link for that symbol was already removed. I also attempted to

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Ron Adam added the comment: Updated the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387 ___ ___ Python-bugs-list mailing list

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Changes by Ron Adam ron3...@gmail.com: Removed file: http://bugs.python.org/file30843/pdoc_symbols.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387 ___

[issue17583] IDLE HOWTO

2013-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: (If someone else wants to take this before I get to it, feel free. But there seems to be enough support to add something eventually.) It seems that Rietveld is able to ignore the binaries, but in the future, lets separate the text and images. If nothing else,