[issue16547] IDLE segfaults in tkinter after fresh file's text has been rendered

2012-11-25 Thread Ned Deily
Ned Deily added the comment: From the backtrace it shows you are linking with the Apple-supplied Tk (/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk) framework. The Apple-supplied Tk 8.5 in OS X 10.6 was the first release of the Cocoa Aqua Tk. It has proven to be unusable with Python

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: New patch: move new test to the correct test class. -- Added file: http://bugs.python.org/file28103/issue16546_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546

[issue4591] 32-bits unsigned user/group identifier

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated. The converters declaration moved to the new file Modules/posixmodule.h (Modules/grpmodule.c, Modules/posixmodule.c, Modules/pwdmodule.c, and Modules/signalmodule.c use it) and the implementation moved to Modules/posixmodule.c. --

[issue16483] Make int(float('inf')) raise ValueError rather than OverflowError.

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as won't fix. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16483 ___

[issue4591] 32-bits unsigned user/group identifier

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The value -1 is used is some functions like chown() (to only change the user, only the group or none, to check if you are allowed or not). How do you handle this value? Yes, there is a special case for -1. Look at the code. --

[issue16209] add a class str entry to the docs

2012-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: Right, aside from my recent revamp, much of the existing layout of the types section has been inherited from the pre-new style classes days when you *couldn't* inherit from types, and strings were the only one with a non-trivial number of methods. Rearranging

[issue16209] add a class str entry to the docs

2012-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: The simpler approach Chris has taken here (i.e. just leaving the string methods separate from the class definition) also works. Patch looks good to me - I'm definitely in favour of moving towards a more consistent approach of having the builtin function

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch for the documentation and tests. -- keywords: +patch Added file: http://bugs.python.org/file28105/issue16339.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16339

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Added file: http://bugs.python.org/file28106/issue16339.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16339 ___

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file28105/issue16339.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16339 ___

[issue8824] Improve documentation of exec

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Should this be closed as a duplicate of issue #13557? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8824 ___

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16339 ___ ___

[issue16496] Simplify and optimize random_seed()

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch: adds in the missing checks for PyMem_Malloc errors. -- Added file: http://bugs.python.org/file28107/random_seed_metd2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16496

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch: drops mention of backwards compatibility, since that's not so useful (thanks, Ezio!). Adds note about resemblance to Python 3 code. -- Added file: http://bugs.python.org/file28108/issue16339_v2.patch

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Rewording the sentence about Python 3. -- Added file: http://bugs.python.org/file28109/issue16339_v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16339

[issue16551] Cleanup the pure Python pickle implementation

2012-11-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: This issue inspired by issue12848. The proposed patch get rid of the marshal module (the struct module used instead), removes some redundant code, and changes the code to use more modern idioms. -- components: Library (Lib) files:

[issue16550] pickletools.py treats 32bit lengths as signed, but pickle.py as unsigned

2012-11-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Since issue12848 some lengths in pickle module treated as unsigned, however pyckletools module treats all 32-bit lengths as signed. The proposed patch adds support of unsigned 32-bit lengths. -- components: Library (Lib) files:

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-11-25 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: I rebased this change on top of 3.4 and in case of an iterable argument it now uses the _convert_names function to convert it to a list of test names. -- Added file: http://bugs.python.org/file28112/issue15132_py3_v2.patch

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-11-25 Thread Jyrki Pulliainen
Changes by Jyrki Pulliainen jy...@dywypi.org: Removed file: http://bugs.python.org/file27681/issue15132_py2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15132 ___

[issue16548] os.system won't run any command and there is no error message when memory cannot be allocated

2012-11-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1 on exception -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16548 ___ ___

[issue16333] Trailing whitespace in json dump when using indent

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't think the code should fixed. You can use separators=(',', ': ') with indentation. Perhaps the documentation should contains such suggestion. -- ___ Python tracker rep...@bugs.python.org

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd9c9579050d by Mark Dickinson in branch '2.7': Issue #16339: Document and test exec(stmt, globals, locals) form in Python 2.7. http://hg.python.org/cpython/rev/fd9c9579050d -- nosy: +python-dev ___

[issue16339] Document exec(stmt, global_dict, local_dict) form in Python 2?

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16339 ___

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a simple patch. -- keywords: +patch nosy: +serhiy.storchaka versions: +Python 3.4 -Python 3.1 Added file: http://bugs.python.org/file28113/json_tool_open.patch ___ Python tracker rep...@bugs.python.org

[issue16333] Trailing whitespace in json dump when using indent

2012-11-25 Thread anatoly techtonik
anatoly techtonik added the comment: Would you mind providing some counter-arguments? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16333 ___

[issue16548] os.system won't run any command and there is no error message when memory cannot be allocated

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: -1 on an exception. This would be a backwards-incompatible API change, so could only happen in Python 3.4. os.system is well documented, including a recommendation to use the subprocess module instead. Reclassifying as a feature request, since this isn't a

[issue16333] Trailing whitespace in json dump when using indent

2012-11-25 Thread anatoly techtonik
anatoly techtonik added the comment: Trailing whitespace produce visual warnings in diff comparison tools. If you have to read docs on how fix every piece of code that produces readable JSON to avoid this warnings, it is a very-very bad user experience. The argument that by default the output

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti nosy: +ezio.melotti stage: needs patch - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16549 ___

[issue4945] json checks True/False by identity, not boolean value

2012-11-25 Thread anatoly techtonik
anatoly techtonik added the comment: +1 for all branches. Is that handling of booleans PEPified somewhere? -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4945 ___

[issue14478] Decimal hashing very slow, could be cached

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as fixed (for the C version, at least). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14478 ___

[issue1569040] Speed up using + for string concatenation

2012-11-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: Buuump. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1569040 ___ ___

[issue2537] re.compile(r'((x|y+)*)*') should fail

2012-11-25 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- components: +Library (Lib) -Regular Expressions versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2537 ___

[issue1569040] Speed up using + for string concatenation

2012-11-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: This issue hasn't been touched in years and would certainly need a completely new patch. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3410] platform.version() don't work as expected in Vista in portuguese

2012-11-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: Beemp. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3410 ___ ___ Python-bugs-list

[issue3410] platform.version() don't work as expected in Vista in portuguese

2012-11-25 Thread Ezio Melotti
Ezio Melotti added the comment: I couldn't find a non-English Windows machine to test this, so I'm just going to close it. Feel free to reopen it or create a new issue if there are other problems. -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffb2fa900cb7 by Mark Dickinson in branch '3.3': Issue #16546: make ast.YieldFrom argument mandatory. http://hg.python.org/cpython/rev/ffb2fa900cb7 New changeset 9bc6e157475a by Mark Dickinson in branch 'default': Issue #16546: merge fix from 3.3

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2012-11-25 Thread Georg Brandl
Georg Brandl added the comment: It would be a new feature, and as such forbidden to add in maintenance releases. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1286 ___

[issue16546] ast.YieldFrom needlessly has its expr value as optional

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16546 ___

[issue16521] logging.basicConfig creates empty file when using handlers

2012-11-25 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- assignee: - vinay.sajip nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16521 ___

[issue2537] re.compile(r'((x|y+)*)*') should fail

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: -mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2537 ___ ___

[issue16333] Trailing whitespace in json dump when using indent

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What you think about default separators will be (', ', ': ') if indent is None and (',', ': ') if indent is not None? This will allow indent options be human-friendly and keep the flexibility to specify arbitrary separators if they needed. --

[issue16521] logging.basicConfig creates empty file when using handlers

2012-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7660ccd8470 by Vinay Sajip in branch '3.2': Closes #16521: Improved error handling for basicConfig(), added tests for same. http://hg.python.org/cpython/rev/d7660ccd8470 New changeset 4b522a1c9c27 by Vinay Sajip in branch '3.3': Null merge for fix

[issue9011] ast_for_factor unary minus optimization changes AST

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9011 ___ ___

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Berker Peksag
Berker Peksag added the comment: Lib/json/tool.py is triggering a ResourceWarning. Patch attached with a test. -- nosy: +berker.peksag Added file: http://bugs.python.org/file28114/issue16549.diff ___ Python tracker rep...@bugs.python.org

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests added. They fail until issue16333 will be resolved. -- Added file: http://bugs.python.org/file28115/json_tool_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16549

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oops. This issue becomes very popular. -- dependencies: +Trailing whitespace in json dump when using indent stage: test needed - patch review ___ Python tracker rep...@bugs.python.org

[issue8745] zipimport is a bit slow

2012-11-25 Thread Catalin Iacob
Catalin Iacob added the comment: I tried Serhiy's suggestion in msg174934, see attached attempt-fseek-seek_cur.patch updated to current default. It makes no difference relative to the default branch for my test stdlib.zip, dummy reads still work better on Windows. This makes sense if you

[issue8745] zipimport is a bit slow

2012-11-25 Thread Catalin Iacob
Changes by Catalin Iacob iacobcata...@gmail.com: Added file: http://bugs.python.org/file28117/zipimport-speedup-v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8745 ___

[issue2537] re.compile(r'((x|y+)*)*') should fail

2012-11-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Regular Expressions ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2537 ___ ___

[issue9011] ast_for_factor unary minus optimization changes AST

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: New patch. -- assignee: - mark.dickinson Added file: http://bugs.python.org/file28118/issue9011_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9011

[issue6744] calling kevent repr raises a TypeError

2012-11-25 Thread Berker Peksag
Berker Peksag added the comment: The bug has been fixed in issue 7211. Related changeset: http://hg.python.org/cpython/rev/f89a93a778a8#l4.63 See the output of kevent-repr-test.py(tested in 3.2.3 and 3.3.0): select.kevent ident=1 filter=-1 flags=0x1 fflags=0x0 data=0x0 udata=0x0 I think

[issue4945] json checks True/False by identity, not boolean value

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually most proposed changes were already committed, only the documentation left. Here is an updated and fixed patch for 3.x. -- components: +Documentation -Library (Lib) nosy: +serhiy.storchaka versions: +Python 3.4 Added file:

[issue4945] json checks True/False by identity, not boolean value

2012-11-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28120/json_doc_truefalse-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4945 ___

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-25 Thread Catalin Iacob
Catalin Iacob added the comment: Václav, are you sure about the official python27.dll being linked against msvcrt.dll? Maybe this is your own python27.dll compiled with MinGW? I see the opposite: for both C:\windows\system32\python27.dll (64 bit) and c:\windows\SysWOW64\python27.dll (32 bit)

[issue16543] improve TypeError messages for missing arguments (meta issue)

2012-11-25 Thread Ezio Melotti
Ezio Melotti added the comment: See also #15201. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16543 ___ ___ Python-bugs-list mailing list

[issue16333] Trailing whitespace in json dump when using indent

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The proposed patch changes default *separators* value to (',', ': ') if *indent* is not None. -- Added file: http://bugs.python.org/file28121/json_indent_separators_default.patch ___ Python tracker

[issue16525] wave file module does not support 32bit float format

2012-11-25 Thread Sebastian Kraft
Sebastian Kraft added the comment: Attached to this mail you find my patch for the implementation of support for 8, 16, 24, 32 bit signed int PCM and 32, 64 bit float. 24bit on big endian systems is buggy, but this will be reported in another ticket. The modified test checks all number

[issue9011] ast_for_factor unary minus optimization changes AST

2012-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ea36de7926f8 by Mark Dickinson in branch '2.7': Issue #9011: AST creation no longer modifies CST for negated numeric literals. http://hg.python.org/cpython/rev/ea36de7926f8 -- nosy: +python-dev ___

[issue9011] ast_for_factor unary minus optimization changes AST

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9011 ___

[issue8745] zipimport is a bit slow

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: So this patch is a workaround for poor fseek performance in Microsoft's CRT, it doesn't cause performance issues on Linux but saves quite some milliseconds of startup time so I think it's worth the tradeoff. I think some clarifying comments will be good

[issue16209] add a class str entry to the docs

2012-11-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: The simpler approach Chris has taken here (i.e. just leaving the string methods separate from the class definition) also works. Yes, though I mentioned nesting the string methods beneath the class entry in the original post for this issue, I figured we

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Berker and me wrote the different tests. I were add a separate test file because json.tool should not be tested for both C and Python implementation and because json tests already splitted on many files. Berker tests using json.tool as a filter. Both tests

[issue16549] regression: -m json.tool module is broken

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a merged tests. -- Added file: http://bugs.python.org/file28123/json_tool_tests_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16549 ___

[issue8824] Improve documentation of exec

2012-11-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - duplicate status: open - closed superseder: - exec of list comprehension fails on NameError ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8824

[issue16209] add a class str entry to the docs

2012-11-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating patch to fix up affected/related index entries. -- Added file: http://bugs.python.org/file28124/issue-16209-2-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16209

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-11-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: To clarify, I didn't say that _convert_names() should be used. I was just noting that it returns a list. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15132

[issue10855] wave.Wave_read.close() doesn't release file

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not sure, should this issue be closed as rejected because the suggested patch for Lib/wave.py was rejected, or as fixed because Georg was committed the documentation patch (changeset 8239ec6f39e6) for this issue? -- nosy: +serhiy.storchaka

[issue8824] Improve documentation of exec

2012-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suggested more change here than I committed in #13557. I would like to think about the extra a bit more. The issue about def in exec just came up again on python-list, but I do not really like the third sentence I suggested. -- assignee: docs@python

[issue8824] Improve documentation of exec

2012-11-25 Thread Mark Dickinson
Mark Dickinson added the comment: Okay; sorry about that. Reopening. -- resolution: duplicate - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8824 ___

[issue6584] gzip module has no custom exception

2012-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I added some comments on Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6584 ___ ___

[issue16552] os.path.basename() docs should link to os.path.split()

2012-11-25 Thread Chris Jerdonek
New submission from Chris Jerdonek: The docs for os.path.abspath(), os.path.basename(), and os.path.dirname(): http://docs.python.org/dev/library/os.path.html#os.path.abspath should hyperlink to os.path.normpath() and os.path.split() as appropriate for easier navigability. --

[issue16553] named kwd form of OrderedDict ctor yield random key order

2012-11-25 Thread yop
New submission from yop: tested on 2.7.3 with -R or stock 3.3, the following: OrderedDict(foo=0,bar=0).keys() is nondeterminstic as a result of hash randomization. probably since **kwds creates a dict. what is the proper idiom for constructing an ordered-key dictionary other then (ugly,

[issue16553] named kwd form of OrderedDict ctor yield random key order

2012-11-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's random anyway, since keyword arguments have no order. You can use a tuple. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16553 ___

[issue16553] named kwd form of OrderedDict ctor yield random key order

2012-11-25 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16553 ___

[issue10855] wave.Wave_read.close() doesn't release file

2012-11-25 Thread Georg Brandl
Georg Brandl added the comment: I say fixed: there was a bug (undocumented, but correct behavior) and that was fixed. -- resolution: rejected - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10855

[issue10855] wave.Wave_read.close() doesn't release file

2012-11-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10855 ___ ___

[issue16554] The description of the argument of MAKE_FUNCTION and MAKE_CLOSURE is incorrect

2012-11-25 Thread Daniel Urban
New submission from Daniel Urban: The description of the argument of the MAKE_FUNCTION and MAKE_CLOSURE opcodes in the documentation of the dis module is incorrect. Patch attached. -- assignee: docs@python components: Documentation files: make_function_closure.patch keywords: needs

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-11-25 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: Yeah, I added the convert names call mostly to make the behavior the same as with passing things from command line. However, then we should probably wrap the case of str argument to _convert_name and the conversion behavior might be bit too implicit. I

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2012-11-25 Thread Jyrki Pulliainen
Changes by Jyrki Pulliainen jy...@dywypi.org: Added file: http://bugs.python.org/file28126/issue15132_py3_no_convert.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15132 ___

[issue16555] Add es_cu to locale library.

2012-11-25 Thread Leiser Fernández Gallo
Changes by Leiser Fernández Gallo leise...@gmail.com: -- components: Library (Lib) nosy: Leiser.Fernández.Gallo priority: normal severity: normal status: open title: Add es_cu to locale library. versions: Python 2.7 ___ Python tracker

[issue16555] Add es_cu to locale library.

2012-11-25 Thread Berker Peksag
New submission from Berker Peksag: Python 2.7 is in bugfix-only mode. -- nosy: +berker.peksag versions: +Python 3.4 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16555 ___

[issue16556] Update string.Formatter.vformat documentation to say **kwargs

2012-11-25 Thread Taavi Burns
New submission from Taavi Burns: The documentation says **kwds instead of **kwargs, which is what the function signature uses. I noticed some other (internally-consistent) occurrences in string.rst. Is there any interest in replacing **kwds generally with **kwargs? It looks like 327 vs 932

[issue16552] os.path.basename() docs should link to os.path.split()

2012-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 580ca5c587f6 by Chris Jerdonek in branch '2.7': Add hyperlinks to the docs of some os.path functions (issue #16552). http://hg.python.org/cpython/rev/580ca5c587f6 New changeset cde59c6acf98 by Chris Jerdonek in branch '3.2': Add hyperlinks to the

[issue16552] os.path.basename() docs should link to os.path.split()

2012-11-25 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16552

[issue16555] Add es_cu to locale library.

2012-11-25 Thread Éric Araujo
Éric Araujo added the comment: Could you expand on the feature request? The Python locale module delegates to the operating system’s locale system; to the best of my knowledge there is no registry of locale names at the Python level. -- nosy: +eric.araujo

[issue16556] Update string.Formatter.vformat documentation to say **kwargs

2012-11-25 Thread Éric Araujo
Éric Araujo added the comment: Hello Taavi! It seems to me there is little value in changing all docs to use “**kwargs” instead of “**kwds”, given that this cannot cause actual problems. The interesting thing is that the function takes keyword args. For string.Formatter.vformat, I see no

[issue16543] improve TypeError messages for missing arguments (meta issue)

2012-11-25 Thread Éric Araujo
Éric Araujo added the comment: I think it’s Terry who has an enlightening distinction between arguments definition (positional-or-keyword, positional-only, keyword-only, starargs, starkwargs) and function call (positional, keyword, *-unpacked, **-unpacked). It may have been Nick or David

[issue16535] json encoder unable to handle decimal

2012-11-25 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the workaround Serhiy, I stole that and ran with it :) For 3.4 I still think something built-in would be best. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16535

[issue12217] Cross-link docs for faulthandler, traceback and pdb

2012-11-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12217 ___ ___ Python-bugs-list

[issue15472] Itertools doc summary table misdocuments some arguments

2012-11-25 Thread Éric Araujo
Éric Araujo added the comment: cycle was a bad example, but there are other: ifilter, islice, takewhile. it (like what tee uses) instead of seq would work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15472

[issue16556] Update string.Formatter.vformat documentation to say **kwargs

2012-11-25 Thread Taavi Burns
Taavi Burns added the comment: The issue of churn is totally fair. I'd still advocate for the attached patch, as it's tiny and fixes an inconsistency between the function signature and the docs that are referring to that signature. Thanks! -- ___