[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-20 Thread Wong Wah Meng
Wong Wah Meng wahm...@freescale.com added the comment: I think there is something that is not working here at least for the instructions in build README file about setting up 4 environment variables required for HP Itanium 64-bit build using HP compilers. CC=cc

[issue12930] reindent.py inserts spaces in multiline literals

2011-09-20 Thread Dima Tisnek
Dima Tisnek dim...@gmail.com added the comment: Thanks Caio, your test case covers my issue; seeing these spelt out got me thinking, there are perhaps 3~4 different cases: def f0(): s = select some sql from somewhere; -- cannot be reindented def f1(): Multiline text docstring should

[issue13004] pprint: add option to truncate sequences

2011-09-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- dependencies: +general pprint rewrite ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13004 ___ ___

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file22616/pep380-missing-docs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682 ___

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-09-20 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Attached patch should now be complete, including the documentation for the new keyword-only 'file' parameter on various dis module functions. -- Added file: http://bugs.python.org/file23197/issue11816_get_opinfo_branch_20110920.diff

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-20 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The README looks outdated. This isn't surprising, since probably no one here has access to the HP compiler. If you want to improve it, please try this: make distclean ./configure CC=cc CFLAGS=+DD64 make test I don't think the linker

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Added file: http://bugs.python.org/file22616/pep380-missing-docs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682 ___

[issue5178] Add context manager for temporary directory

2011-09-20 Thread Ugra Dániel
Changes by Ugra Dániel daniel.u...@gmail.com: -- nosy: +daniel.ugra ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5178 ___ ___ Python-bugs-list

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2011-09-20 Thread Wong Wah Meng
Wong Wah Meng wahm...@freescale.com added the comment: Thanks! I am gonna try this out again. Actually I noticed this when you mentioned about using cc as the linker front end. I followed instruction in the README file, after I edited Makefile to remove the -O Limit 1500 line, and after

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I have updated the bitbucket repo with changes to address most of Benjamin's review comments. A few points of note: - I agree in principle with the idea of splitting Yield and YieldFrom into distinct AST nodes, but I'd prefer to focus on

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: The docstring of str.splitlines says: splitlines(...) S.splitlines([keepends]) - list of strings Return a list of the lines in S, breaking at line boundaries. Line breaks are not included in the resulting list unless

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: (And applying the same change to bytes.splitlines.) Oh, and bytearray.splitlines, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13012

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Alex Gaynor
Alex Gaynor alex.gay...@gmail.com added the comment: Personally, I regard every C function which, for obscure internal details, doesn't take keyword arguments as a sad bug, which should of course be fixed :) -- nosy: +alex ___ Python tracker

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: +1; the keyword arg version is much more readable. -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13012 ___

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13012 ___ ___

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-09-20 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___ ___ Python-bugs-list

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-20 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13008 ___ ___ Python-bugs-list

[issue13013] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PyTuple_Pack is not freed on one error path. -- files: python_patch1 messages: 144330 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before returning from

[issue13014] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PyList_New is not freed on one error path. -- files: python_patch2 messages: 144331 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before returning from

[issue13015] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PyDict_Type.tp_repr is not freed on one error path. -- files: python_patch3 messages: 144332 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before

[issue13016] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PySequence_Fast is not freed on one error path. -- files: python_patch4 messages: 144333 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before returning

[issue13017] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using conv_content_model is not freed on one error path. -- files: python_patch5 messages: 144334 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before

[issue13018] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PyObject_CallObjec is not freed on one or more error paths. -- files: python_patch6 messages: 144335 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before

[issue13019] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: 1. Something that is allocated using PyObject_GetIter is not freed on one error path. 2. Something that is allocated using PyByteArray_FromStringAndSize is not freed on one error path -- files: python_patch7 messages: 144336 nosy:

[issue13020] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PySequence_Fast is not freed on one error path. -- files: python_patch8 messages: 144337 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before returning

[issue13021] Resource is not released before returning from the functiion

2011-09-20 Thread Suman Saha
New submission from Suman Saha sums...@gmail.com: Something that is allocated using PyUnicode_DecodeFSDefault is not freed on one error path. -- files: python_patch9 messages: 144338 nosy: Suman.Saha priority: normal severity: normal status: open title: Resource is not released before

[issue13021] Resource is not released before returning from the functiion

2011-09-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13021 ___ ___

[issue13021] Resource is not released before returning from the functiion

2011-09-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13021 ___ ___

[issue13020] Resource is not released before returning from the functiion

2011-09-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Hi, thanks for the report(s) and the patch(es)! I think it would be better to have a test that shows the refleak for each of the patches that you submitted. Just out of curiosity, how did you find these? -- nosy: +ezio.melotti

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13008 ___

[issue13021] Resource is not released before returning from the functiion

2011-09-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It's not me, it's Barry! (PEP 3147: 7b69e630d237) -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13021 ___

[issue12993] prepared statements in sqlite3 module

2011-09-20 Thread Mayur Angela Patel-Lam
Mayur Angela Patel-Lam patel.lam.fam...@gmail.com added the comment: Okay, I missed that in the documentation. I was looking for a handle to a prepared statement. I suppose it's hashing on the text of the SQL statement to determine equivalence? I'm willing to retract the request. I need to

[issue12996] multiprocessing.Connection endianness issue

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9c1c81d24e23 by Charles-François Natali in branch 'default': Issue #12996: multiprocessing.connection: transmit the header in network byte http://hg.python.org/cpython/rev/9c1c81d24e23 -- nosy: +python-dev

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file23208/issue13012.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13012

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 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/issue13012 ___ ___

[issue13021] Resource is not released before returning from the functiion

2011-09-20 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Suman, good eye, confirmed! Thanks for the patch, I'll commit this to 3.2 and 3.3. -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13021

[issue12996] multiprocessing.Connection endianness issue

2011-09-20 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12996

[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1d91a3ba5c87 by Charles-François Natali in branch 'default': Issue #12981: test_multiprocessing: catch ImportError when importing http://hg.python.org/cpython/rev/1d91a3ba5c87 -- nosy: +python-dev

[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

2011-09-20 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I committed the patch to catch the ImportError in test_multiprocessing. I'll commit the other patch (pure Python version) in a couple days. Ah, no, you're right - that's fine. Sorry for the false alarm. No problem. As they say,

[issue13013] Resource is not released before returning from the functiion

2011-09-20 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- components: +ctypes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13013 ___ ___ Python-bugs-list

[issue12961] itertools: unlabelled balls in boxes

2011-09-20 Thread Phillip Feldman
Phillip Feldman phillip.m.feld...@gmail.com added the comment: Mark: I disagree with your claim that in its basic form, this is covered by itertools.combinations. If you open the attached text on elementary combinatorics and go to page 11, you will see a table that lays out six of the eight

[issue13021] Resource is not released before returning from the function

2011-09-20 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- title: Resource is not released before returning from the functiion - Resource is not released before returning from the function ___ Python tracker rep...@bugs.python.org

[issue13021] Resource is not released before returning from the function

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7a48e98915f2 by Barry Warsaw in branch '3.2': - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for http://hg.python.org/cpython/rev/7a48e98915f2 New changeset ad0804d3dbd0 by Barry Warsaw in

[issue12961] itertools: unlabelled balls in boxes

2011-09-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Mark: I disagree ... Okay, I misunderstood. I thought you were still talking about the unlabelled balls in labelled boxes problem, which is an isomorphic problem to that solved by combinations_with_replacement. It looks as though you're

[issue13021] Resource is not released before returning from the function

2011-09-20 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13021 ___

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Zbyszek Szmek zbys...@in.waw.pl added the comment: Here are the un-reflowed documentation changes, as a patch this time. I've split the changes in two: 0001 is the real documentation change 0002 is the link fixes [optional]. -- Added file:

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Added file: http://bugs.python.org/file23211/0002-Fix-references-to-__next__-__iter__-and-nearby-refer.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Removed file: http://bugs.python.org/file23210/0001-Document-the-yield-from-syntax-and-StopIteration-ret.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Removed file: http://bugs.python.org/file23211/0002-Fix-references-to-__next__-__iter__-and-nearby-refer.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Added file: http://bugs.python.org/file23212/0001-Document-the-yield-from-syntax-and-StopIteration-ret.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Added file: http://bugs.python.org/file23213/0002-Fix-references-to-__next__-__iter__-and-nearby-refer.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread David Watson
New submission from David Watson bai...@users.sourceforge.net: The function _multiprocessing.recvfd() calls recvmsg() and expects to receive a file descriptor in an SCM_RIGHTS control message, but doesn't check that such a control message is actually present. So if the sender sends data without

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread David Watson
Changes by David Watson bai...@users.sourceforge.net: Added file: http://bugs.python.org/file23215/recvfd-skip-reduction-fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13022 ___

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13022 ___ ___

[issue12981] rewrite multiprocessing (senfd|recvfd) in Python

2011-09-20 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: On Tue 20 Sep 2011, Charles-François Natali wrote: I committed the patch to catch the ImportError in test_multiprocessing. This should go in all branches, I think - see issue #13022. --

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Removed file: http://bugs.python.org/file23212/0001-Document-the-yield-from-syntax-and-StopIteration-ret.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Removed file: http://bugs.python.org/file23213/0002-Fix-references-to-__next__-__iter__-and-nearby-refer.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Added file: http://bugs.python.org/file23216/0001.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682 ___

[issue11682] PEP 380 reference implementation for 3.3

2011-09-20 Thread Zbyszek Szmek
Changes by Zbyszek Szmek zbys...@in.waw.pl: Added file: http://bugs.python.org/file23217/0002.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11682 ___

[issue12806] argparse: Hybrid help text formatter

2011-09-20 Thread Denilson Figueiredo de Sá
Denilson Figueiredo de Sá denilso...@gmail.com added the comment: I was about to suggest this feature. I had the exact same need: a formatter that preserves newlines (and maybe whitespace), but that also automatically wraps the lines. In other words, the behavior would be similar to CSS

[issue13023] argparse should allow displaying argument default values in addition to setting a formatter class

2011-09-20 Thread Denilson Figueiredo de Sá
New submission from Denilson Figueiredo de Sá denilso...@gmail.com: In my script, I wanted two things at the same time: 1. Setting a formatter class so that the epilog would have the line breaks preserved. 2. Telling argparse to automatically display default values for all arguments.

[issue12961] itertools: unlabelled balls in boxes

2011-09-20 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Any additions would need to be motivated by real world problems. The issue is that adding more generators makes the module harder to learn and remember, so tools are not usually added for the sake of completeness. --

[issue13024] cgitb uses stdout encoding

2011-09-20 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: cgitb module writes its output to sys.stdout by default and so encode its HTML document into stdout encoding, whereas it doesn't specify the HTML encoding. Moreover it uses stdout error handler. If the locale encoding is ASCII

[issue13025] mimetypes should read the rule file using UTF-8, not the locale encoding

2011-09-20 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: On Debian and Ubuntu, /etc/mime.types file is pure ASCII, but on Fedora 15 it contains a non-ASCII character, ³ (U+00B3), in the line: application/vnd.geocube+xml g3 g³ And the file is encoded in UTF-8.

[issue13025] mimetypes should read the rule file using UTF-8, not the locale encoding

2011-09-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +Library (Lib), Unicode ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13025 ___

[issue13024] cgitb uses stdout encoding

2011-09-20 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +Unicode nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13024 ___

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13012 ___ ___ Python-bugs-list

[issue1172711] long long support for array module

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 15659e0e2b2e by Meador Inge in branch 'default': Issue #1172711: Add 'long long' support to the array module. http://hg.python.org/cpython/rev/15659e0e2b2e -- nosy: +python-dev

[issue1172711] long long support for array module

2011-09-20 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1172711 ___

[issue1172711] long long support for array module

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c56e546dc60 by Victor Stinner in branch 'default': Issue #1172711: Update What's New in Python 3.3 document for the struct module http://hg.python.org/cpython/rev/3c56e546dc60 --

[issue13012] Allow keyword argument in str.splitlines()

2011-09-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Patch looks good. I noticed a change in the conventional type for 'keepends' from 'int' to 'bool'. Several unit tests were updated to match this change. Perhaps other call sites should be updated too? A little greping shows: $ grep -Rl

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- assignee: - jcea nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13022 ___ ___

[issue13022] _multiprocessing.recvfd() doesn't check that file descriptor was actually received

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 21e7a55cb943 by Jesus Cea in branch '2.7': Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received http://hg.python.org/cpython/rev/21e7a55cb943 New changeset 447770470d00

[issue13013] Resource is not released before returning from the functiion

2011-09-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: I'll take this one. Suman, thanks for finding this. It will help in the future if you don't open a ton of bugs with the *exact* same title. They are harder to filter and keep track of that way. -- assignee: - meador.inge nosy:

[issue1172711] long long support for array module

2011-09-20 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 672b63aff0f4 by Meador Inge in branch 'default': Issue #1172711: Update What's New in Python 3.3 document for the array module. http://hg.python.org/cpython/rev/672b63aff0f4 --

[issue13004] pprint: add option to truncate sequences

2011-09-20 Thread Steven Samuel Cole
Steven Samuel Cole steven.samuel.c...@gmail.com added the comment: @anand: as the names say, the depth parameter limits the depth of display while the length parameter limits the length. for example, with a data structure of a list of lists of lists and a depth of 2, only the first two levels

[issue7434] general pprint rewrite

2011-09-20 Thread Steven Samuel Cole
Changes by Steven Samuel Cole steven.samuel.c...@gmail.com: -- nosy: +ssc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7434 ___ ___

[issue12961] itertools: unlabelled balls in boxes

2011-09-20 Thread Phillip Feldman
Phillip Feldman phillip.m.feld...@gmail.com added the comment: Ideally, I'd like to see support for all combinations of the following occupancy problem features: - Labeled and unlabeled boxes - Labeled and unlabeled balls - Empty boxes allowed and empty boxes forbidden - Boxes with no capacity

[issue12961] itertools: unlabelled balls in boxes

2011-09-20 Thread Phillip Feldman
Phillip Feldman phillip.m.feld...@gmail.com added the comment: With the exception of the empty boxes forbidden category, I've come across all of these at one time or another, many in the context of error control coding (data communications). Much of the early work on occupancy problems was