New submission from Matt Joiner anacro...@gmail.com:
The navigation region at http://docs.python.org/dev/ should list Other
versions instead of Old versions as the in development docs are also
available here.
Docs for other versions
Python 2.7 (stable)
Python 3.2 (stable)
Old versions
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - subprocess close_fds behavior should only close open fds
___
Python tracker rep...@bugs.python.org
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
New submission from Georg Brandl ge...@python.org:
Why is that a concern? It is not needed for the doc build and intended to be
used on python.org only.
It's mentioned in
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
ok, the url is http://hg.python.org/devguide/file/5d4a90e568ed/docquality.rst
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13768
Changes by Jed Davis j...@panix.com:
--
nosy: +jld
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13781
___
___
Python-bugs-list mailing list
Ferringb ferri...@gmail.com added the comment:
In #13788, I've uploaded a patch modifying closerange along the same lines as
this discussion; someone w/ appropriate rights should set dependencies as
needed.
Either way, here's a question: does anyone actually know of a unix that does
procfs,
Charles-François Natali neolo...@free.fr added the comment:
Either way, here's a question: does anyone actually know of a unix that does
procfs, and has a daft opendir implementation as described below? Aka, are
we actually worrying about something relevant, or just hypotheticals?
I think
Ferringb ferri...@gmail.com added the comment:
The only question is: do other Unix also have /proc/pid/fd? e.g.
FreeBSD, OpenBSD. That's especially important because FreeBSD can have
a huge RLIMIT_NOFILE by default.
Unless the OS gives some way to optimize the process (whether inferring from
Georg Brandl ge...@python.org added the comment:
fwiw, s/MSDOS_WINDOWS/MS_WINDOWS/.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13788
___
Filip Gruszczyński grusz...@gmail.com added the comment:
No more double lookup.
--
Added file: http://bugs.python.org/file24244/13521_27_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13521
Gregory P. Smith g...@krypto.org added the comment:
Reopening. Comments added to the code review.
This issue is independent of the subprocess module issue in #8052. The
_posixsubprocess.c has its own fd closing loop.
Antoine Pitrou pit...@free.fr added the comment:
Actually, that code is from bc861add5d71.
But the error was also muted in the initial checkin in d0e06efb3165.
In any case, the silencing should be removed, both in 3.2 and 3.3 IMO.
--
___
Python
Filip Gruszczyński grusz...@gmail.com added the comment:
Bump! It's almost 3 months since I posted the patch, so I would like to remind
about this bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11694
Ross Lagerwall rosslagerw...@gmail.com added the comment:
FreeBSD has a /dev/fd as well as a procfs (deprecated AFAIK).
However, both may not be mounted so a patch would *need* to at least fallback
to the current functionality.
--
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Looks good to me.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11694
___
Changes by Georg Brandl ge...@python.org:
--
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11694
___
___
Changes by Jason R. Coombs jar...@jaraco.com:
Added file: http://bugs.python.org/file24245/2b7bf4e5cb9f.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
Changes by Jason R. Coombs jar...@jaraco.com:
Added file: http://bugs.python.org/file24246/1cdb64480494.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
Jason R. Coombs jar...@jaraco.com added the comment:
I've created yet another patch (1cdb64480494) which adds a regression test
under Python 2.7 to demonstrate that the fix works (based on
test_import_symlink_package.py).
--
___
Python tracker
Jason R. Coombs jar...@jaraco.com added the comment:
I've created yet another patch (1cdb64480494) which adds a regression test
under Python 2.7 to demonstrate that the fix works (based on
test_import_symlink_package.py).
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
No more double lookup.
Your patch doesn't check hashed2.eq_count.
Since the dict specification doesn't say on which instance __eq__ will
be called when doing a lookup, the patch should either check
``hashed1.eq_count + hashed2.eq_count``, or
Martin v. Löwis mar...@v.loewis.de added the comment:
See PCbuild/readme.txt, and follow its instructions scrupulously. If you use a
different build procedure, or different Tcl sources, you are on your own.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
For the record, can you explain why infinity and NaN can end up in AIFC files?
That said, the patch looks ok to me.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Juan Javier jjdomingu...@gmail.com added the comment:
Hello,
You're right, explaining the difference between CANCELLED and
CANCELLED_AND_NOTIFIED is gong to be hard and might be confusing. I also agree
that there is no precedent for storing the history of something, and I don't
like either
py.user port...@yandex.ru added the comment:
also strange(unobvious) behavior:
'{0:.3s}'.format((i for i in (1, 2, 3)))
'ge'
'{0:.3s}'.format(range(10))
'ran'
'{0:.3s}'.format(None)
'Non'
it would be better to print an error:
ValueError: Unknown format code 's' for object of type
R. David Murray rdmur...@bitdance.com added the comment:
No, it wouldn't. I expect
{}.format(x)
to produce something for an arbitrary x. Breaking that would break a
fundamental Python contract.
Improving the error message for 'd' is more possible. Perhaps the format code
'd' is not
R. David Murray rdmur...@bitdance.com added the comment:
Oh, and when you say there is nothing in the documentation about the 's' case
for arbitrary objects, it is made clear in various places that every object has
an str, which defaults to its repr if it has no specific __str__. Combine that
Antoine Pitrou pit...@free.fr added the comment:
The idea is to have access to the current state of the Future using a
property instead of calling several methods (done, cancelled, etc.).
I think one point of having methods is that querying is decoupled from
implementation. The internal
New submission from Kay Hayen kayha...@gmx.de:
Hello,
I am the author of the Python compiler Nuitka. It has the ability to
immediately execute the created executable file. For that I am using os.execl
to immediately replace the compiler and run the freshly created binary instead.
This worked
Antoine Pitrou pit...@free.fr added the comment:
Python's os.execl simply calls Windows' execv() function, which AFAIK has
nothing to do with cmd.exe.
--
nosy: +brian.curtin, pitrou, tim.golden
___
Python tracker rep...@bugs.python.org
py.user port...@yandex.ru added the comment:
R. David Murray wrote:
it is made clear in various places that every object has an str
here:
http://docs.python.org/py3k/library/string.html#format-specification-mini-language
3rd paragraph:
A general convention is that an empty format string ()
py.user port...@yandex.ru added the comment:
also here:
http://docs.python.org/py3k/library/string.html#format-examples
there is no example with list or tuple to know exactly how they are formatted
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
an empty format string is exactly what I was talking about. Putting nothing
between the {}'s is an empty format string. I can't think of any way to make
that wording clearer.
The format docs should not contains examples of the repr of
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 95b704cb7f7c by Terry Jan Reedy in branch '2.7':
#13039 allow proper deletion of ' ' in IDLE editor windows.
http://hg.python.org/cpython/rev/95b704cb7f7c
New changeset c6e7473b1fb5 by Terry Jan Reedy in branch
Terry J. Reedy tjre...@udel.edu added the comment:
I tested with 3.2.2 on Win7. Deletes prompt in editor window with both
backspace and delete keys, but not prompt in shell. EditorWindow.py is
identical in all three branches, at least in this area, so pushed. One nuisance
gone. Thanks Roger.
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13039
___
Jim Jewett jimjjew...@gmail.com added the comment:
Why was the delta-processing removed from the casing functions?
As best I can tell, the whole point of going through multiple levels of
indirection (courtesy splitbins) is to maximize compression and minimize the
amount of cache that unicode
Berker Peksag berker.pek...@gmail.com added the comment:
Hi Brett, did you have a chance to review the patch I submitted?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13588
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1c0c6fa7341c by Meador Inge in branch '3.2':
Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames
indexes.
http://hg.python.org/cpython/rev/1c0c6fa7341c
New changeset c0660d7cc1fe by
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/issue13629
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 03ea95e3b497 by Benjamin Peterson in branch 'default':
delta encoding of upper/lower/title makes a glorious return (#12736)
http://hg.python.org/cpython/rev/03ea95e3b497
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8f7e707ab729 by Benjamin Peterson in branch '3.2':
explain why we need this grammar file (closes #13766)
http://hg.python.org/cpython/rev/8f7e707ab729
New changeset ecc998ec8c6f by Benjamin Peterson in branch
py.user port...@yandex.ru added the comment:
R. David Murray wrote:
Putting nothing between the {}'s is an empty format string.
this is an empty replacement field
here:
http://docs.python.org/py3k/library/string.html#format-string-syntax
the definition of format string:
Format strings
Éric Araujo mer...@netwok.org added the comment:
To avoid repetition (“Docs for other versions” — “Other versions”), I’d propose
changing “Old versions” to “All versions”.
--
nosy: +eric.araujo, ezio.melotti, sandro.tosi, terry.reedy
title: Other versions - Reword “Old versions” in the
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this should be closed in favor of #13122. The sidebar needs more
change than just this one thing. See my proposal for a version-independent
sidebar in msg150907, which Georg B. approved of.
--
Éric Araujo mer...@netwok.org added the comment:
IMO this is a bug and should be fixed in stable versions too.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12705
___
New submission from Jim Jewett jimjjew...@gmail.com:
The documentation for hasattr, getattr, and delattr state that they are
equivalent to object.attribute access; this isn't quite true, because
object.attribute uses a NFKC-normalized version of the string as only the
secondary location,
New submission from AJ amanj...@gmail.com:
Copyright in the footer on *.python.org says -2011. I believe this can be
changed to 2012?
--
components: None
messages: 151321
nosy: amanjeev
priority: normal
severity: normal
status: open
title: Copyright Year - Chnage it to 2012 please
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +terry.reedy
priority: low - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6528
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13078
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
How difficult would it be to add tests for this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13052
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2134
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13465
___
___
Éric Araujo mer...@netwok.org added the comment:
Agreed (I’d just suggest finding something better than “Everything else” :-)
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Out of date links in the sidebar of the documentation index of
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
components: -None
nosy: +ezio.melotti
stage: - needs patch
title: Copyright Year - Chnage it to 2012 please - Copyright Year - Change it
to 2012 please
type: - enhancement
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a patch.
I found a similar instance that says unicode string or integer address
expected instead of %s instance, but it's inside an if
(!PyUnicode_Check(value)) {} so it should be ok (unicode string could be
replaced to 'str'
Kay Hayen kayha...@gmx.de added the comment:
Well, I saw that code, but expected that there must be more to it. But I found
out, the bug is actually caused by at least MinGW. See below how I build a
program with it, that does execl on an error exiting program and then the
errorlevel variable
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2dd96cf324ee by Ezio Melotti in branch '2.7':
#13695: fix a couple of typos in the doc.
http://hg.python.org/cpython/rev/2dd96cf324ee
New changeset bff9ab281385 by Ezio Melotti in branch '3.2':
#13695: fix a couple
Ezio Melotti ezio.melo...@gmail.com added the comment:
I fixed both 'type-specific' and 'Python 3'. The python-distribute link is not
part of our documentation so I can't fix it.
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg150397
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13443
___
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg150399
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13443
___
Terry J. Reedy tjre...@udel.edu added the comment:
I have read readme.txt, more than once. It seems a bit out-of-date. Parts of it
I have trouble understanding, or at least, being sure I have understood. It
seems to disagree with the devguide about whether to build debug or release
builds. I
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b4dac315feef by Ezio Melotti in branch '2.7':
#13715: fix typo in unicodedata doc. Patch by Eli Collins.
http://hg.python.org/cpython/rev/b4dac315feef
New changeset f50ff6dd6b41 by Ezio Melotti in branch '3.2':
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report and the patch!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Sorry, my messages could be confusing. What I meant is: While I think that
Antoine’s doc changes were clear improvements, in the specific case of the
functional howto there were good arguments in favor of keeping the part about
the functional
Boštjan Mejak bostjan.me...@gmail.com added the comment:
There's also one more typo in the doc for cmp_to_key() function. Fix the first
sentence Transform an old-style comparison function to a key-function. to
Transform an old-style comparison function to a key function. (note the
removal of
Changes by Georg Brandl ge...@python.org:
--
assignee: ezio.melotti - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13695
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
This was committed on py3k in 4f8c24830a5c. Terry, can the issue be closed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11906
___
New submission from Pedro Andres Aranda Gutierrez paag...@gmail.com:
When creating ElementTree objects that hold SVG drawings, I need a CDATA object
similar to the ProcessingInstruction object. There was a circumvention of the
problem for Python 2.6:
jbitcm- chakrapacka...@gmail.com added the comment:
I am working on it
--
nosy: +jbitcm-
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13691
___
New submission from Pedro Andres Aranda Gutierrez paag...@gmail.com:
I have extended the xml.etree.ElementTree.Element class and pass the text
attribute in the arguments. This creates much more compact code:
import xml.etree.ElementTree as xml
class Element(xml.Element):
Mark Diekhans ma...@kermodei.com added the comment:
The lack of the ability to pass a parameter to a test case is a very
frustrating restriction with unittest. The frequent need if for a database
connection for testing database related classes.
Yes, there are lots of other ways to work around
Éric Araujo mer...@netwok.org added the comment:
(I haven’t found an elegant XML lib, and have not yet needed to look for one as
I touch very little XML.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13275
73 matches
Mail list logo