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
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
Changes by Nick Coghlan ncogh...@gmail.com:
--
dependencies: +general pprint rewrite
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13004
___
___
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
___
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
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
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
___
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
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
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
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
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
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
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
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13012
___
___
Changes by Meador Inge mead...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11816
___
___
Python-bugs-list
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13008
___
___
Python-bugs-list
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
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
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
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
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
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
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:
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
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +haypo
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13021
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: patch review - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13021
___
___
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
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
___
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
___
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
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
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
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13012
___
___
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
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
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
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,
Changes by Mark Dickinson dicki...@gmail.com:
--
components: +ctypes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13013
___
___
Python-bugs-list
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
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
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
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
Changes by Barry A. Warsaw ba...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13021
___
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:
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
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
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
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
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
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
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
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13022
___
___
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.
--
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
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
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
___
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
___
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
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.
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.
--
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
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.
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Library (Lib), Unicode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13025
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Unicode
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13024
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13012
___
___
Python-bugs-list
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
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
___
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
--
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
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
___
___
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
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:
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
--
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
Changes by Steven Samuel Cole steven.samuel.c...@gmail.com:
--
nosy: +ssc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7434
___
___
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
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
79 matches
Mail list logo