Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is a bug in the script; the code is similar to the following::
funclist = []
global_list = []
funclist.append(global_list)
global_list.append(1)
funclist.append(global_list)
print funclist
[[1], [1]]
i.e the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset dc16b6ab8e71 by Ross Lagerwall in branch 'default':
Issue #12517: Silence warning on windows buildbots (from 7fd80c61ddaa).
http://hg.python.org/cpython/rev/dc16b6ab8e71
--
nosy: +python-dev
Changes by Steven Samuel Cole steven.samuel.c...@gmail.com:
--
nosy: +ssc
title: pprint: add option to truncate seqeunces - pprint: add option to
truncate sequences
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13004
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a4e4facad164 by Nick Coghlan in branch 'default':
Close issue 12958 by flagging expected failures in test_socket on Mac OS X
http://hg.python.org/cpython/rev/a4e4facad164
--
nosy: +python-dev
resolution: -
David Lam d...@dlam.me added the comment:
This patch deletes the leftover special attributes.
Thanks for guiding me through my confusion and/or cluelessness!
--
keywords: +patch
Added file: http://bugs.python.org/file23191/12537.patch
___
Python
Changes by David Lam d...@dlam.me:
Added file:
http://bugs.python.org/file23192/12537.find.attribute.differences.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12537
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
We could also look at what other languages do and/or ask to the Unicode
consortium [0].
[0]: http://www.unicode.org/consortium/distlist.html
--
___
Python tracker rep...@bugs.python.org
Changes by intgr ma...@juffo.org:
--
nosy: +intgr
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11357
___
___
Python-bugs-list mailing list
Mark Dickinson dicki...@gmail.com added the comment:
Balls-in-boxes _is_ one of the most basic of the canonical combinatorial
problems.
Agreed. But in its basic form, this is covered by itertools.combinations,
isn't it? It may be worth a doc recipe showing how to use
Meador Inge mead...@gmail.com added the comment:
Updated patch fixing some issues pointed out by Ezio on Rietveld.
--
Added file: http://bugs.python.org/file23193/issue12943-3.patch
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I backported your last change to distutils2 as f5a74b1f9473.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9561
___
Éric Araujo mer...@netwok.org added the comment:
Fixed in distutils2 in 95172b1c5498.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10946
___
Éric Araujo mer...@netwok.org added the comment:
Fixed in distutils2 in b9ca25b3254e.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8933
___
Éric Araujo mer...@netwok.org added the comment:
Backported to distutils2 as 5e49c9bc43eb.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12785
___
Mark Dickinson dicki...@gmail.com added the comment:
And using combinations_with_replacement, it's even a one-liner:
balls_in_boxes = lambda n, k: (tuple(map(c.count, range(k))) for c in
combinations_with_replacement(range(k), n))
for item in balls_in_boxes(5,3): print(item)
...
(5, 0, 0)
Éric Araujo mer...@netwok.org added the comment:
I don’t see any problem with removing it from the 2.7 branch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12987
___
Changes by Marc Sibson sib...@gmail.com:
--
nosy: +marcs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4256
___
___
Python-bugs-list mailing list
Changes by Marc Sibson sib...@gmail.com:
--
nosy: +marcs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11176
___
___
Python-bugs-list mailing list
Changes by Marc Sibson sib...@gmail.com:
--
nosy: +marcs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12933
___
___
Python-bugs-list mailing list
Éric Araujo mer...@netwok.org added the comment:
As a question about a proposed PEP which is not accepted and has a competitor
(see python-threads about PEP 402), this is not really a bug report. Closing.
--
assignee: tarek - eric.araujo
resolution: - invalid
stage: -
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9c61f46ea6b4 by Éric Araujo in branch 'default':
Make regrtest look at internal dicts in sysconfig.
http://hg.python.org/cpython/rev/9c61f46ea6b4
--
nosy: +python-dev
___
New submission from Marien Zwart m_zw...@123mail.org:
dbm.whichdb (python 3) and whichdb.whichdb (python 2) only check for magic ==
0x13579ace to recognize gdbm databases. The recently released gdbm 1.9 series
adds 0x13579acd (for 32bit) and 0x13579acf (for 64bit) magics (see
src/gdbmconst.h
New submission from anatoly techtonik techto...@gmail.com:
This is self-explanative. Function definitions are identical. Syntax error
caused by the absence of empty line after the function definition.
Python 2.7.1 (r271:86832, Apr 12 2011, 16:16:18)
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on
Éric Araujo mer...@netwok.org added the comment:
Changing “if s in 'yn'” to “if s in ('y', 'n')” is not really an
improvement. It’s not more readable to always use tuples or frozensets
for membership testing; str has __contains__ for a reason :)
Let me eat my words: using “in 'yn'” matches
Changes by Jesús Cea Avión j...@jcea.es:
--
assignee: - jcea
nosy: +jcea
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13007
___
Éric Araujo mer...@netwok.org added the comment:
If you point out the reST files with examples that don’t work when copy-pasted,
we can fix them. Changing the behavior of the interpreter itself is probably
not possible.
--
nosy: +eric.araujo
___
Jesús Cea Avión j...@jcea.es added the comment:
I have a question... What about the endianness of the data?. For instance, if
an Intel machine (little endian) creates a GDBM file, can it a) be recognized
as such in Sparc (big endian)? b) Can be open and used in Sparc?
--
Changes by Éric Araujo mer...@netwok.org:
--
components: +Library (Lib) -Distutils2
stage: test needed - needs patch
title: sort files before archiving for consistency - shutil: sort files before
archiving for consistency
versions: +Python 3.3 -3rd party
anatoly techtonik techto...@gmail.com added the comment:
If changing behavior of console is not possible now, schedule it for python4.
http://stackoverflow.com/questions/1392413/calculating-a-directory-size-using-python/1392549#1392549
--
___
Python
Éric Araujo mer...@netwok.org added the comment:
When I upload modules to PyPI, distutils is clucking about a missing
README, even though PyPI accepts README.rst, and I am providing that.
PyPI doesn’t do anything with README, it displays the value of long_description.
warning: sdist:
Éric Araujo mer...@netwok.org added the comment:
Closing as duplicate.
--
assignee: tarek - eric.araujo
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - sdist refuses README.rst
___
Python tracker
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13007
___
New submission from Éric Araujo mer...@netwok.org:
The docs for packaging now live at docs.python.org. Maintaining separate
documentation for the distutils2 backport would take much time for little
benefit. Tarek agreed that we could just delete them, so I will remove them,
add a file to
Éric Araujo mer...@netwok.org added the comment:
(Replying to myself to avoid this showing up in the weekly report as unanswered)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13009
___
Tom Christiansen tchr...@perl.com added the comment:
Ezio Melotti rep...@bugs.python.org wrote
on Mon, 19 Sep 2011 11:11:48 -:
We could also look at what other languages do and/or ask to the
Unicode consortium.
I will look at what Java does a bit later on this morning, which is the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 14cafb8d1480 by Jesus Cea in branch '2.7':
Close #13007: whichdb should recognize gdbm 1.9 magic numbers
http://hg.python.org/cpython/rev/14cafb8d1480
New changeset 7a41855b6196 by Jesus Cea in branch '3.2':
Close
Marc-Andre Lemburg m...@egenix.com added the comment:
Tom Christiansen wrote:
I'm pretty sure that anything that claims to be UTF-{8,16,32} needs
to reject both surrogates *and* noncharacters. Here's something from the
published Unicode Standard's p.24 about noncharacter code points:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 07efe83795b0 by Mark Dickinson in branch '2.7':
Issue #12973: Fix int.__pow__ overflow checks that invoked undefined behaviour,
thereby producing incorrect results on Clang.
Éric Araujo mer...@netwok.org added the comment:
Follow the “review” link for some comments.
Do you have a test file that I could use to reproduce the bug and make sure
it’s fixed?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
So, do you think adding a warning about symlink
handling issues in the docs would be enough?
Given the constraints, yes, it would be good to have that warning in
the docs.
Okay. Adding the easy keyword to lure contributors.
Even better
Éric Araujo mer...@netwok.org added the comment:
I’d like to commit this; do you need help to address the review I did, or do
you want me to take over if you don’t have the time?
--
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - eric.araujo
resolution: accepted - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue793069
Éric Araujo mer...@netwok.org added the comment:
If I’m not mistaken, 2b9a0a091566 fixed this.
--
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - packaging: fix database to stop skipping uninstall tests on
win32
Florian Berger fber...@florian-berger.de added the comment:
Okay. Adding the easy keyword to lure contributors.
Thanks.
I wonder if there is something to fix at all; tar is a smart container
format whereas zip is simpler, so I would not be surprised if the
source of the difference is just
Éric Araujo mer...@netwok.org added the comment:
Basic support for categories now added to install_data:
Can you add tests?
I couldn't see a packaging.util function for matching lines of type
key = value,
If there are many places that could benefit from such a function, we can add it.
Thomas Holmes tho...@devminded.com added the comment:
I got a bit distracted and I think had some questions on the review. I will go
back over the state of this patch and get some feedback to you tonight or
tomorrow evening.
--
___
Python tracker
New submission from Steven Samuel Cole steven.samuel.c...@gmail.com:
it says in the last paragraph of the chapter at
http://docs.python.org/devguide/setup.html#unix:
[...] ./python.exe on OS X [...]
.exe seems to indicate that should probably be './python.exe on Windows'
--
assignee:
Ezio Melotti ezio.melo...@gmail.com added the comment:
I believe it's ./python.exe on OS X. I'm not sure about Windows, maybe it's
just python.exe there.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
Steven Samuel Cole steven.samuel.c...@gmail.com added the comment:
i've gone through the process of checking out and building python as described
in the devguide; it seems the python executable is indeed called python.exe
under mac osx. i find this confusing.
a comment on the reason for this
R. David Murray rdmur...@bitdance.com added the comment:
It is python.exe on OS/X, which I've always found most odd. The reason is that
the OS/X filesystem is case insensitive by default, and there is a directory
named 'Python'.
--
nosy: +r.david.murray
Steven Samuel Cole steven.samuel.c...@gmail.com added the comment:
from my observations, david is correct, but this is not limited to os x. i have
checked out and rebuilt python twice on a linux system (kubuntu 10.10 i386
virtual machine):
1. in a 'conventional' setup using a local (i.e.
Glyph Lefkowitz gl...@twistedmatrix.com added the comment:
This has been a serious annoyance in the Twisted and pyOpenSSL release
processes; it effectively prevents us from timely uploads of win32 binaries of
any kind.
--
nosy: +glyph
___
Python
Guido van Rossum gu...@python.org added the comment:
I'm not Barry or Benjamin, but having followed the thread on p...@python.org,
this certainly looks like a security issue to me. As a second pair of eyes, I
recommend MvL, who builds our Windows installers.
--
nosy: +gvanrossum,
Benjamin Peterson benja...@python.org added the comment:
Approved for 3.1 as far as I'm concerned.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12989
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 99b808c94834 by Mark Dickinson in branch '3.2':
Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat.
http://hg.python.org/cpython/rev/99b808c94834
New changeset 2dbd5870de0b by Mark
Tom Christiansen tchr...@perl.com added the comment:
No good news on the Java front. They do all kinds of things wrong.
For example, they allow intermixed CESU-8 and UTF-8 in a real UTF-8
input stream, which is illegal. There's more they do wrong, including
in their documentation, but I
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f8280cf63d9e by Mark Dickinson in branch '2.7':
Backport issue #12973 list_repeat fix from 3.x.
http://hg.python.org/cpython/rev/f8280cf63d9e
--
___
Python tracker
David Watson bai...@users.sourceforge.net added the comment:
On Sun 18 Sep 2011, Charles-François Natali wrote:
I had a look at this patch, and the FD passing looked OK, except
that calculating the buffer size with CMSG_SPACE() may allow more
than one file descriptor to be received, with
Benny Siegert bsieg...@gmail.com added the comment:
Hmm, I thought I was making an argument _for_ applying the patch. As I see it,
these are benefits of merging the patch:
1. Being able to compile an unmodified upstream Python on MirBSD.
2. The patches in pkgsrc become smaller.
3. Future
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13004
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
Brian, you marked this 'patch review', bypassing 'test needed'. Should this
have any visible effect at the Python level that can be tested?
--
___
Python tracker rep...@bugs.python.org
Tom Christiansen tchr...@perl.com added the comment:
It appears that I'm right about surrogates, but wrong about
noncharacters. I'm seeking a clarification there.
--tom
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12729
Changes by Caio Romão caioro...@gmail.com:
Removed file: http://bugs.python.org/file23146/caioromao-fix-12930-v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12930
___
Caio Romão caioro...@gmail.com added the comment:
New patch version ack-ing Éric's suggestion.
Note: I'm now confused as to whether I should add my name to the ACKS file or
not, heh. This patch doesn't include the change.
--
Added file:
Caio Romão caioro...@gmail.com added the comment:
Attaching files for testing in a gzipped tarball:
- testfile-original.py: file to be reindented with reindent.py
- testfile-issue.py: resulting file after using the current
Tools/scripts/reindent.py
- testfile-expected.py: expected output
New submission from Malcolm Purvis malc...@purvis.id.au:
In Python 2.7.2, Linux executables built with freeze.py will only run on the
machine that contains the original build directory. This defeats the purpose
of having frozen programs. This problem did not exist in Python 2.5.
The
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
This needs to be part of the overall effort to build a better pprint. See
http://bugs.python.org/issue7434
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker
Meador Inge mead...@gmail.com added the comment:
Updated patch which adds and documents a '-h,--help' option. This option
was suggested during code review.
--
Added file: http://bugs.python.org/file23196/issue12943-4.patch
___
Python tracker
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7434
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
You said I can maintain the patch for future releases. This sounds like a
reasonable solution: you keep maintaining the patch; if you want python.org to
link to your patch, we can certainly arrange that. By the no minority
platforms
anand jeyahar anand.jeya...@gmail.com added the comment:
Umm... Excuse me but how is this max_length parameter different from the
(existing)depth parameter?
pformat(object,depth=3) seems to do the same thing.
--
nosy: +anandjeyahar
___
Python
71 matches
Mail list logo