[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A simple change to RstripExtension.py fixed the marking of unchanged files as changed. I also removed a useless extra iteration. Having a test makes it possible to do things like this without breaking what already worked. -- dependencies: -Idle: mock

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had to remove the dependency to close this, since the test_text issue #18365 was reopened. -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec71fcdcfeac by Terry Jan Reedy in branch '2.7': Issue #18279: Add tests for idlelib/RstripExtension.py. Original patch by http://hg.python.org/cpython/rev/ec71fcdcfeac New changeset 22ce68d98345 by Terry Jan Reedy in branch '3.3': Issue #18279: Add

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Trying it out, I rediscovered that patchcheck has a Windows bug. This time I reported it ;-) #18439. -- ___ Python tracker ___

[issue18439] Patchcheck for ACKS, NEWS does not work on Windows.

2013-07-12 Thread Terry J. Reedy
New submission from Terry J. Reedy: My current list of changed_files() (command from the code) % hg status --added --modified --no-status Lib\idlelib\RstripExtension.py Misc\ACKS Misc\NEWS Lib\idlelib\idle_test\mock_idle.py Lib\idlelib\idle_test\test_rstrip.py but F:\Python\dev\py33>pcbuild\pyth

[issue16079] list duplicate test names with patchcheck

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am aware of patchcheck, but the problem for me is that 'make patchcheck' does not work on Windows; the doc is wrong on the awkward to type Windows alternative; and it is usually useless anyway. But I agree that anyone who does not use a editor configured to

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Well, that is annoying. I expected 2.7 failures due to mistakes already corrected, but not with 3.x, and these look to be the latter. == ERROR: setUpClass (idlelib.idle_test.test_text.TkTextTes

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Todd Rovito
Todd Rovito added the comment: As a suggestion I always use the command "make patchcheck" (before making the patch) which catches the white space and tab problem plus it fixes other things. Here is more information on patch check in the developer's guide. http://docs.python.org/devguide/commi

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-12 Thread Todd Rovito
Todd Rovito added the comment: Terry, I was suffering from the classic chicken and egg problem so I was not sure if the test case in http://bugs.python.org/issue18226 should include the small code change. I will work with Phil Webster to get this small change added to issue 18226 along wit

[issue18352] collections.Counter with added attributes are not deepcopied properly.

2013-07-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Do you guys have any actual motivating use cases or real code that won't work because of the present design? Consistency arguments are somewhat weak and don't necessarily warrant an API change. AFAICT, there is no use for counters going out of their wa

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 008d83c4efaf by Terry Jan Reedy in branch '2.7': Issue #18365: 2.7 corrections so tests run http://hg.python.org/cpython/rev/008d83c4efaf -- ___ Python tracker ___

[issue18438] Obsolete url in comment inside decimal module

2013-07-12 Thread Vajrasky Kok
New submission from Vajrasky Kok: Python 3.4, file Lib/decimal.py, line 24: www.cs.berkeley.edu/~ejr/projects/754/private/drafts/854-1987/dir.html If you go to the website, you'll encounter this error: The server has encountered a problem because the resource was not found. I could not find t

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Phil (and everyone else): PLEASE submit patches with 4 space indents and no tabs and no trailing spaces. Even if the code below runs in the CPython interpreter, self.undo = mockUndoDelegator() <8 spaces> <4 spaces> def get_selection_indices(sel

[issue18437] Typo in comment inside class Charset about output_charset

2013-07-12 Thread R. David Murray
R. David Murray added the comment: Thanks. Fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.3 ___ Python tracker

[issue18437] Typo in comment inside class Charset about output_charset

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset f91e6d0eb0f7 by R David Murray in branch '3.3': #18437: fix comment typo. http://hg.python.org/cpython/rev/f91e6d0eb0f7 New changeset da7d97ca1ef6 by R David Murray in branch 'default': Merge: #18437: fix comment typo. http://hg.python.org/cpython/r

[issue18437] Typo in comment inside class Charset about output_charset

2013-07-12 Thread Vajrasky Kok
New submission from Vajrasky Kok: Python 3.4, line 197: output_charset: Some character sets must be converted before the can be It is supposed to be: output_charset: Some character sets must be converted before they can be -- assignee: docs@python components: Documentation fil

[issue18430] gzip, bz2, lzma: peek advances file position of existing file object

2013-07-12 Thread R. David Murray
R. David Murray added the comment: I chose 'access position' because that's the terminology used in the 'seek' man page. 'file position' sounds odd to me, but since that is the term already used it does make sense to be consistent. -- assignee: -> docs@python components: +Documentati

[issue18430] gzip, bz2, lzma: peek advances file position of existing file object

2013-07-12 Thread Nick Bargnesi
Nick Bargnesi added the comment: I'd suggest sticking with "file position" instead of switching to "access position". E.g., the complete lzma wording would be: Return buffered data without advancing the file position. At least one byte of data will be returned, unless EOF has been reach

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread R. David Murray
R. David Murray added the comment: Looks like this is causing buildbot failures: http://buildbot.python.org/all/builders/x86%20RHEL%206%203.x/builds/2330/steps/test/logs/stdio http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6094/steps/test/logs/stdio -- nosy: +

[issue18409] IDLE Improvements: Unit test for AutoComplete.py

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2013-07-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: It's pretty weird to use a property for an iterator. It we really wanted iteration, the appropriate method would be __iter__. -- ___ Python tracker ___

[issue18410] IDLE Improvements: Unit test for SearchDialog.py

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I expect to find things like this while writing tests. A small fix can be part of the test file commit, like I did with configSectionNameDialog and its test. In any case, where is the test that fails without the patch and passes with it? It should be part of t

[issue2292] Missing *-unpacking generalizations

2013-07-12 Thread Joshua Landau
Joshua Landau added the comment: http://www.python.org/dev/peps/pep-0448/ is out; see what you think. See http://mail.python.org/pipermail/python-ideas/2013-July/021872.html for all the juicy discussion so far. -- nosy: +Joshua.Landau ___ Python tra

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I documented and left most of the 'pass' methods. The bind method is inherited from Misc class and is not specifically a Text method, but I will leave it here for now. These def undo_block_start(self, *args): pass def undo_block_stop(self, *ar

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ac2ec0a34a5 by Terry Jan Reedy in branch '2.7': Issue #18365: Add mock Text class and test thereof versus tk.Text. http://hg.python.org/cpython/rev/5ac2ec0a34a5 New changeset 8f13fb4c5826 by Terry Jan Reedy in branch '3.3': Issue #18365: Add mock T

[issue18112] PEP 442 implementation

2013-07-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sorry for taking forever. I got half-way through version 1, but now I suppose I'm terribly behind the latest and greatest. -- ___ Python tracker ___

[issue18389] document that os.path.relpath does not interrogate the file system

2013-07-12 Thread Madison May
Madison May added the comment: Thanks, David. I like your changes -- sounds a lot cleaner and more explicit. :) -- ___ Python tracker ___ __

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue18430] gzip, bz2, lzma: peek advances file position of existing file object

2013-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: A file can be non-seekable (pipe, socket) and we can't "unread" unused data back. We can't implement GzipFile.peek() in terms of underlied file's peek() because peek() doesn't guaranteed return more than one byte, but it should return at least one byte if t

[issue18376] show the effective count of process when running the testsuite

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue18389] document that os.path.relpath does not interrogate the file system

2013-07-12 Thread R. David Murray
R. David Murray added the comment: Thanks, Madison. I tweaked the wording slightly, but the essence is the same :). -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue18375] python -m test --randseed 1234 does not randomize tests

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I know that there is no proper regrtest doc to update, but is there a docstring somewhere in the manual? Or should this be closed? -- nosy: +terry.reedy ___ Python tracker ___

[issue18389] document that os.path.relpath does not interrogate the file system

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70837970c5d8 by R David Murray in branch '3.3': #18389: Clarify that relpath does not access the file system. http://hg.python.org/cpython/rev/70837970c5d8 New changeset 7de05609e390 by R David Murray in branch 'default': #18389: Clarify that relpat

[issue18374] ast.parse gives wrong position (col_offset) for some BinOp-s

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue18112] PEP 442 implementation

2013-07-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch (again). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue18112] PEP 442 implementation

2013-07-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file30907/f5ddbd98c2bf.diff ___ Python tracker ___ ___ Python-bugs-list mailing

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

2013-07-12 Thread Éric Araujo
Éric Araujo added the comment: Added some comments on Rietveld. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mail

[issue18430] gzip, bz2, lzma: peek advances file position of existing file object

2013-07-12 Thread R. David Murray
R. David Murray added the comment: I don't think the comment about save and restore of the file position adds enough value to be worth the possible confusion ("do I only need to save and restore around peek? Why?") I think the sentence should read, ex, "Calling a :class:`LZMAFile` object's :

[issue18433] Clarify venv docs about which methods check for pre-existing paths

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ca31c07e85e by Vinay Sajip in branch '3.3': Issue #18433: Clarified venv documentation. http://hg.python.org/cpython/rev/0ca31c07e85e New changeset d292635314c9 by Vinay Sajip in branch 'default': Closes #18433: Merged documentation update from 3.3

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

2013-07-12 Thread Zachary Ware
New submission from Zachary Ware: In a thread on python-ideas[1], Nick mentioned the idea of ``operator.by_symbol['+=']`` which would be an alternative method of getting the operator.iadd function. The idea struck my fancy, so I implemented it (regardless of the very real possibility of being

[issue18434] Update venv example to use setuptools

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8c3d05994e4 by Vinay Sajip in branch '3.3': Issue #18434: Updated example script to tidy up resources. http://hg.python.org/cpython/rev/f8c3d05994e4 -- ___ Python tracker

[issue18368] PyOS_StdioReadline() leaks memory when realloc() fails

2013-07-12 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Is it sufficient to check incr > INT_MAX to guard against overflow? -- ___ Python tracker ___ __

[issue18435] Move venv from a custom Context class to types.SimpleNamespace

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc340fcd43d2 by Vinay Sajip in branch '3.3': Issue #18435: Replaced simple attribute container class Context with types.SimpleNamespace. http://hg.python.org/cpython/rev/fc340fcd43d2 New changeset 113bfefbe5c5 by Vinay Sajip in branch 'default': Cl

[issue18366] Look into using setuptools 0.8 with devinabox

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: So this actually works out very nicely. The basic steps are: 1. Download ez_setup.py for setuptools 2. Create a venv 3. Install coverage.py (build actually works as expected which was a pleasant surprise) 4. Run coverage.py with PYTHONPATH set to fullcoverage as

[issue18433] Clarify venv docs about which methods check for pre-existing paths

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: LGTM On Fri, Jul 12, 2013 at 3:42 PM, Vinay Sajip wrote: > > Vinay Sajip added the comment: > > I noticed that create_directories is now ensure_directories in the code, > but the docs don't reflect this. I've posted changes, do they cover your > concerns or have

[issue18431] Encoded words in structured headers are not decoded by the new parser.

2013-07-12 Thread R. David Murray
R. David Murray added the comment: Fixed. Thanks for the report, Tim. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18431] Encoded words in structured headers are not decoded by the new parser.

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f3c57ac07ed by R David Murray in branch '3.3': #18431: Decode encoded words in atoms in new email parser. http://hg.python.org/cpython/rev/1f3c57ac07ed New changeset 0c161b360ffe by R David Murray in branch 'default': Merge: #18431: Decode encoded

[issue18434] Update venv example to use setuptools

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1641a03dbe7b by Vinay Sajip in branch '3.3': Issue #18434: Updated example script in venv docs to use setuptools rather than Distribute. http://hg.python.org/cpython/rev/1641a03dbe7b New changeset 24a55f04a571 by Vinay Sajip in branch 'default': Cl

[issue18433] Clarify venv docs about which methods check for pre-existing paths

2013-07-12 Thread Vinay Sajip
Vinay Sajip added the comment: I noticed that create_directories is now ensure_directories in the code, but the docs don't reflect this. I've posted changes, do they cover your concerns or have I missed something? -- assignee: docs@python -> vinay.sajip keywords: +patch stage: -> patc

[issue18373] implement sys.get/setbyteswarningflag()

2013-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Read only access to bytes warning flag already implemented as sys.flags.bytes_warning. How new functions are related to it? And I concur with David. Why not just run your program with -b or -bb? Besides the testing purpose. -- nosy: +serhiy.storchak

[issue18368] PyOS_StdioReadline() leaks memory when realloc() fails

2013-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: A similar issue: #14909. -- nosy: +kristjan.jonsson, serhiy.storchaka ___ Python tracker ___ ___ P

[issue18373] implement sys.get/setbyteswarningflag()

2013-07-12 Thread STINNER Victor
STINNER Victor added the comment: When I added os.environb, I had issues with the ByteWarning, in os.get_exec_path() if I remember correctly. I had to play with warmings.catch_warning(). A thread variable would simplify the code. -- nosy: +haypo ___

[issue18428] IDLE startup error

2013-07-12 Thread Ned Deily
Ned Deily added the comment: If deleting .py files solved the problem, you probably had created a .py file with the same name as a Python standard library module. If that file is in your Documents folder (if you are using /Applications/Python3.3/IDLE.app) or your current working directory (if

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

2013-07-12 Thread Sergey
Sergey added the comment: > This "optimisation" is a semantic change. It breaks backward > compatibility in cases where a = a + b and a += b do not result > in the name a having the same value. In particular this breaks > backward compatibility for numpy users. I didn't knew that. Then I guess o

[issue18372] _Pickler_New() doesn't call PyObject_GC_Track(self)

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

[issue18368] PyOS_StdioReadline() leaks memory when realloc() fails

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

[issue18433] Clarify venv docs about which methods check for pre-existing paths

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18434] Update venv example to use setuptools

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18435] Move venv from a custom Context class to types.SimpleNamespace

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18435] Move venv from a custom Context class to types.SimpleNamespace

2013-07-12 Thread Brett Cannon
New submission from Brett Cannon: The venv module has a Context class purely to hold attributes of data. This happens to be exactly what types.SimpleNamespace was created for, so it should probably replace Context. Luckily the class is not documented (nor what gets set on it for that matter) s

[issue18435] Move venv from a custom Context class to types.SimpleNamespace

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- components: Library (Lib) nosy: brett.cannon, carljm, eric.snow priority: normal severity: normal stage: needs patch status: open title: Move venv from a custom Context class to types.SimpleNamespace versions: Python 3.4 _

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

2013-07-12 Thread paul j3
paul j3 added the comment: While playing with some examples, I found that exclusive group formatting has another failure case. If the usage line is long enough to wrap, optionals and positionals are formatted separately, with positionals appearing on a separate line(s). That means that if a

[issue18353] PyUnicode_WRITE_CHAR macro definition missing

2013-07-12 Thread Corey Brune
Corey Brune added the comment: Hello all, I removed the reference to PyUnicode_WRITE_CHAR macro in unicode.rst. Thanks, Corey -- keywords: +patch nosy: +cbrune Added file: http://bugs.python.org/file30903/unicode.rst.patch ___ Python tracker

[issue18428] IDLE startup error

2013-07-12 Thread Mike
Mike added the comment: Thanks Ned, I have solved the issue by deleting all my previous py files on my computer. But I couldn't figure out what really triggered this error, as those files did not create any problems before. -- ___ Python tracker <

[issue18369] X509 cert class for ssl module

2013-07-12 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17840] base64_codec uses assert for runtime validity checks

2013-07-12 Thread Alex Henderson
Alex Henderson added the comment: OK, now raises ValueError on passing anything other than 'strict'. Note that for the incremental classes I've put checking in __init__ so that ValueError is raised when non-'strict' values are passed to the constructor, not when the incremental encode/decode m

[issue18390] Better documenting of ``hg revert -r`` when merging with another branch

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15249b189347 by Brett Cannon in branch 'default': Issue #18390: Add a little comment on how to do a proper file http://hg.python.org/devguide/rev/15249b189347 -- nosy: +python-dev ___ Python tracker

[issue18390] Better documenting of ``hg revert -r`` when merging with another branch

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18415] Normalize single/double quote usage in importlib

2013-07-12 Thread Madison May
Madison May added the comment: No problem, Brett. Glad to hear you could get rid of those few last pesky double quotes. I'm partial to the single quotes as well. -- ___ Python tracker ___

[issue17845] Clarify successful build message

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17845] Clarify successful build message

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e13ff9fdfaf9 by Brett Cannon in branch 'default': Issue #17845: Clarify the message setup.py prints upon successfully http://hg.python.org/cpython/rev/e13ff9fdfaf9 -- nosy: +python-dev ___ Python tracker

[issue18342] Use the repr of a module name for ImportError in ceval.c

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: Patch is in (only moved the tests to a different class) and added Tomasz to the ACKS file. Thanks for the patch! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python trac

[issue18342] Use the repr of a module name for ImportError in ceval.c

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3f9292c8efe by Brett Cannon in branch 'default': Issue #18342: Use the repr of a module name for ``from ... import http://hg.python.org/cpython/rev/c3f9292c8efe -- nosy: +python-dev ___ Python tracker <

[issue17911] Extracting tracebacks does too much work

2013-07-12 Thread Björn Sandberg Lynch
Changes by Björn Sandberg Lynch : Added file: http://bugs.python.org/file30901/traceback2.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue18388] Link to the contributor agreement from devinabox

2013-07-12 Thread Brett Cannon
New submission from Brett Cannon: changeset 28294583a9c9 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18415] Normalize single/double quote usage in importlib

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the path, Madison! I also cleaned up the instances using double quotes since it was because I was faking the use of a string's repr instead of explicitly using {!r}. -- resolution: -> fixed stage: commit review -> committed/rejected status: o

[issue18415] Normalize single/double quote usage in importlib

2013-07-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33d379c2bb79 by Brett Cannon in branch 'default': Issue #18415: Normalize what type of quotes are used with string http://hg.python.org/cpython/rev/33d379c2bb79 -- nosy: +python-dev ___ Python tracker

[issue18363] Change use of acronym tag in devinabox index.html to abbr

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: changeset fae104051a63 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue18342] Use the repr of a module name for ImportError in ceval.c

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- title: Use the repr of a module name for ModuleNotFoundError in ceval.c -> Use the repr of a module name for ImportError in ceval.c ___ Python tracker _

[issue18361] Move dev-in-a-box to os.cpu_count()

2013-07-12 Thread Brett Cannon
New submission from Brett Cannon: changeset 3446dee09265 -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue18362] Make build_cpython.py from dev-in-a-box work outside of a box

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: changeset fe1c35cbc9a0 -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18362] Make build_cpython.py from dev-in-a-box work outside of a box

2013-07-12 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue13340] list.index does not accept None as start or stop

2013-07-12 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18434] Update venv example to use setuptools

2013-07-12 Thread Brett Cannon
New submission from Brett Cannon: Now that Distribute is just a shell for setuptools 0.8, the example in the venv docs for installing pip and setuptools in a venv should be updated to use setuptools (in case anyone uses that code as a script themselves). -- assignee: docs@python compon

[issue18433] Clarify venv docs about which methods check for pre-existing paths

2013-07-12 Thread Brett Cannon
New submission from Brett Cannon: E.g. setup_python and create_directories both check that the paths they will create pre-exist, but the docs don't mention this. -- assignee: docs@python components: Documentation messages: 192938 nosy: brett.cannon, carljm, docs@python priority: normal

[issue18100] socket.sendall() cannot send buffers of 2GB or more

2013-07-12 Thread Anton Tyurin
Anton Tyurin added the comment: According to man send: only sendmsg() if input length argument overflows a ssize_t on OS X. But truncating extradata in sendall() without exception is bad idea, because sendall() never returns count of successfully sent bytes. So we'll never know about incompl

[issue18352] collections.Counter with added attributes are not deepcopied properly.

2013-07-12 Thread Olivier Gagnon
Olivier Gagnon added the comment: I can understand that the current behaviour can be correct in regard with the added attributes of the object. However, should I open a new issue for the following inheritance behaviour which the reduce function affects also. class myCounter(Counter): def _

[issue18415] Normalize single/double quote usage in importlib

2013-07-12 Thread Brett Cannon
Brett Cannon added the comment: Why the stage change? I set it to commit review on purpose as I already did a cursory check and it was fine. I have only have one more paranoid check before do the commit myself. I purposely didn't set patch review as I didn't want anyone wasting their time doin

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Phil Webster
Phil Webster added the comment: Using tk.Text for more involved tests sounds good (at least as a start). The pass functions were used to get the FormatParagraph test (#18226) working. I've been using the same effbot.org site as a reference and haven't found anything more detailed. --

[issue18418] Thread.isAlive() sometimes True after fork

2013-07-12 Thread Charles-François Natali
Charles-François Natali added the comment: This is just a special-case of the more general problem of forking() in a multi-threaded program (see #16500 and #6721). Since fork() can occur at any time, even though your data structures are protected by locks, they can end up in an inconsistent sta

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

2013-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps it will be better document it as an iterator? In any case we can call list() to get a list. -- nosy: +giampaolo.rodola, serhiy.storchaka ___ Python tracker _

[issue18352] collections.Counter with added attributes are not deepcopied properly.

2013-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What about pickling? OrderedDict.__reduce__() saves added attributes, but Counter.__reduce__() does not. One of them should be changed for consistency. -- ___ Python tracker ___

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to commit this patch more or less as is so we can move forward with the tests that do not need anything more. We can then elaborate mock Text as needed and desired. Looking at http://effbot.org/tkinterbook/text.htm, for instance, I see that 'lineend' i

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2013-07-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2013-07-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17172] Add turtledemo to IDLE menu

2013-07-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ezio, would you like to take it from here? -- assignee: -> ezio.melotti ___ Python tracker ___ _

[issue11012] Add log1p(), exp1m(), gamma(), and lgamma() to cmath

2013-07-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Closed due to lack of interest. -- resolution: -> postponed status: open -> closed ___ Python tracker ___ __

[issue17642] IDLE add font resizing hot keys

2013-07-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> roger.serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

  1   2   >