stefanholek ste...@epy.co.at added the comment:
These undo lists come into existence when history entries are edited
interactively (Arrow-Up, edit line, Arrow-Up, edit line, Enter - undo list of
first history entry leaks).
--
components: +Extension Modules
versions: +Python 2.6,
New submission from Stefan Krah stefan-use...@bytereef.org:
The implicit timeout in regrtest.py makes it harder to write automated
test scripts for 3rd party modules. First, you have to remember to
set --timeout=0 for long running tests. Then, you have to remember
not to use the --timeout option
Ross Lagerwall rosslagerw...@gmail.com added the comment:
All stable buildbots appear to be green, so closing...
--
nosy: +rosslagerwall
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Le vendredi 03 juin 2011 10:02:12, vous avez écrit :
The implicit timeout in regrtest.py makes it harder to write automated
test scripts for 3rd party modules. First, you have to remember to
set --timeout=0 for long running tests.
New submission from Марк Коренберг socketp...@gmail.com:
How to test:
#! /usr/bin/python
import subprocess, sys
# will print err to sys.stderr
subprocess.call(['rmdir', '/no_such_dir'])
# will NOT print err to sys.stderr
subprocess.call(['rmdir', '/no_such_dir'],
Changes by Alexey Smirnov alexey.smir...@gmx.com:
--
nosy: +alexey-smirnov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12251
___
___
New submission from Hanöfner Harald ha.ha...@yahoo.de:
The follow code:
s = urc:\that\is\a\new\unicode\path
raise the follow error:
SyntaxError: (unicode error) 'rawunicodeescape' codec can't decode bytes in
position 10-11: truncated \u
That is already corrected in Py 3 builds.
Марк Коренберг socketp...@gmail.com added the comment:
patch (was not tested) attached
--
keywords: +patch
Added file: http://bugs.python.org/file7/z.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12251
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Even in raw unicode strings, \u is processed as an escape sequence; see the
very last paragraph of
http://docs.python.org/reference/lexical_analysis.html#string-literals
Yes, this can be surprising, and was changed with Python 3.
Changes by Evgeny Tarasov etarasov@gmail.com:
--
nosy: +Evgeny.Tarasov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12251
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
STINNER Victor rep...@bugs.python.org wrote:
The implicit timeout in regrtest.py makes it harder to write automated
test scripts for 3rd party modules. First, you have to remember to
set --timeout=0 for long running tests.
Ah?
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12251
___
___
Roundup Robot devnull@devnull added the comment:
New changeset f69a2716d433 by Victor Stinner in branch 'default':
Close #12250: Disable the regrtest timeout by default
http://hg.python.org/cpython/rev/f69a2716d433
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
Roundup Robot devnull@devnull added the comment:
New changeset 277bbe6cae53 by Charles-François Natali in branch 'default':
Issue #12196: Make test.support's requires_linux_version a decorator.
http://hg.python.org/cpython/rev/277bbe6cae53
--
___
Charles-François Natali neolo...@free.fr added the comment:
It's a duplicate of issue #10806, fixed in 2.7, 3.1 and 3.2.
Closing.
--
nosy: +charles-francois.natali
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Subprocess error if fds 0,1,2
Марк Коренберг socketp...@gmail.com added the comment:
Why not to backport to python 2.6 ? this is the bug, not a feature.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12251
___
R. David Murray rdmur...@bitdance.com added the comment:
Because 2.6 is in security-fix-only mode.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12251
___
Francisco Martín Brugué franci...@email.de added the comment:
Hi all,
that is my first contribution. Please let me know if all it's OK.
Thanks in advance !
--
keywords: +patch
nosy: +francismb
Added file: http://bugs.python.org/file8/issue_12185.patch
Adam Woodbeck adam.woodb...@gmail.com added the comment:
Hi Francisco,
I finally found time to create a patch for this issue. I was just saving the
patch I wrote as your update arrived in my inbox. I've included my patch for
good measure. It's better to have two proposed patches than none
New submission from Éric Araujo mer...@netwok.org:
I am working on a patch to document manifest.Manifest methods and list all
exceptions defined in errors.
--
assignee: eric.araujo
components: Distutils2, Documentation
messages: 137522
nosy: alexis, eric.araujo
priority: normal
R. David Murray rdmur...@bitdance.com added the comment:
The documentation is, in principle, wrong. The actual authority for the
correct implementation is PEP3101, which says the following:
The str.format() function will have
a minimalist parser which only attempts to figure out when
R. David Murray rdmur...@bitdance.com added the comment:
Note that the PEP also explicitly addresses your concern about getattr, as well
(validation of the name is delegated to the object's __getattr__).
--
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11197
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1669349
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
title: Add support for PEP 381 -- Mirror Authenticity - Add support for PEP
381 Mirror Authenticity
versions: +Python 3.3 -3rd party
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
How about reusing unittest discovery in regrtest?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12231
___
Éric Araujo mer...@netwok.org added the comment:
This sounds non-trivial to implement. Do you have any concrete ideas or a
proof of concept?
--
nosy: +eric.araujo, ezio.melotti, michael.foord
versions: +Python 3.3 -Python 2.7
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Hello. This tracker is used to report bugs and file feature requests for
Python itself, not request help (mailing list such as
http://mail.python.org/pipermail/python-list/ are appropriate venues to ask for
for help). I’m changing your
Éric Araujo mer...@netwok.org added the comment:
I can’t see why not. Would you like to work on a patch?
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12240
___
Éric Araujo mer...@netwok.org added the comment:
+1 to what David said. See also #5753.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12238
___
Éric Araujo mer...@netwok.org added the comment:
Yes, it’s unclear whether Unix in the docs included Mac OS X or not.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12243
Éric Araujo mer...@netwok.org added the comment:
This looks like an invalid bug to me; Python itself creates the site-packages
directory, with a README file if I remember correctly. If the sysadmin removes
the directory, it’s their problem, not a Python bug. Do you agree?
--
New submission from Roman Alexeev letit@gmail.com:
The name of the attribute holding annotations is `__annotations__`, not
`func_annotations` as PEP-3107 says.
--
assignee: docs@python
components: Documentation
messages: 137532
nosy: Roman.Alexeev, docs@python
priority: normal
Éric Araujo mer...@netwok.org added the comment:
Your patch adds the cd before running make, but other examples and filenames
(for example :file:`tools/sphinx`) are also relative to Doc. How about adding
something like this after the very first paragraph:
All commands in this document should
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I'm not sure this improves the docs. Will give it more thought and thorough
review at a later date. Also, I will compare it to the docstrings in the
spec itself.
--
priority: normal - low
Éric Araujo mer...@netwok.org added the comment:
If it’s not too much hassle for you and if it doesn’t improve maintenance
costs, we’d feel safer with a test.
Martin, could you review this patch?
--
nosy: +loewis
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
This is probably because Tshepang works in a dev environment.
I think we should have a nice message like The installation path xxx seems not
to exist, aborting installation
--
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12248
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Hm, in my dev environment (checkout of 3.3), site-packages exists.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Strange, you should get a /usr/[local]/lib/python3.3/site-packages when you
just run ./configure; make
It looks like you have a dev environment that has installed some stuff
--
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
s/should get/should not get/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
___
___
Georg Brandl ge...@python.org added the comment:
Well, let's make it clear then. What about replacing the text-only
Availability with a directive that renders into a link that displays what the
individual values mean?
--
nosy: +georg.brandl
___
Georg Brandl ge...@python.org added the comment:
I actually like the cd Doc inclusion; it makes it very clear what is going on.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12249
___
R. David Murray rdmur...@bitdance.com added the comment:
Only because we had Macintosh in there. We don't mention OS/X explicitly
anywhere else in the docs that I could find (except one prose mention in the
logging docs).
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Hi! I cleaned up your patch and fixed a bug: you have to call sort before
calling remove_duplicates (the result in your patch had two 'a' entries).
One line was marked as excluded because it was a this cannot happen
error, and I agreed.
How
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file22231/packaging-manifest.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11751
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3974
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Georg: our post seem to have crossed despite Roundup's attempts at locking. +1
to your idea about the directive.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12243
Éric Araujo mer...@netwok.org added the comment:
I ported the patch to packaging. Please test.
--
components: +Distutils2
nosy: +alexis
status: closed - open
versions: -Python 2.7, Python 3.2
Added file: http://bugs.python.org/file22232/darwin-target-sysconfig-p7g.diff
Éric Araujo mer...@netwok.org added the comment:
Fair enough. If you think it’s enough to let people know that all paths in
:file: roles are relative to Doc, then I can commit it.
--
title: add missing command - Document working dir for “make html”
versions: +Python 2.7, Python 3.2
Éric Araujo mer...@netwok.org added the comment:
Ah, I understand; I have a $srcdir/Lib/site-packages directory, but packaging
wants to install into $prefix/site-packages, which does not exist. +1 to
adding a nice message. Tshepang, would you like to update your patch?
--
Éric Araujo mer...@netwok.org added the comment:
Patch needs to update the default server in packaging too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12226
___
Georg Brandl ge...@python.org added the comment:
It's fine, yes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12249
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks for the patch. Please join the discussion on the other bug report.
--
nosy: +eric.araujo
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Add support for ArchLinux to
Éric Araujo mer...@netwok.org added the comment:
For the resolution problem, see #11457.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11993
___
Éric Araujo mer...@netwok.org added the comment:
Can you test this patch?
--
keywords: +patch
Added file: http://bugs.python.org/file22233/fix-newer-mtime.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11933
New submission from Éric Araujo mer...@netwok.org:
When compiling with --enable-shared, the libpython file is not ignored by
Mercurial (or Bazaar, I guess). Any objection to the attached patch? I used a
wildcard, but could also hard-code the full filename with a fixed shared lib
number.
Éric Araujo mer...@netwok.org added the comment:
A note sounds good.
--
assignee: - docs@python
components: +Documentation -Interpreter Core, Unicode
nosy: +docs@python, eric.araujo
versions: +Python 2.7 -Python 3.1
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
All func_* attributes in 2.x have been given __*__ names in 3.x.
--
nosy: +eric.araujo
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker
New submission from Éric Araujo mer...@netwok.org:
Doc/library/functions.rst does not talk about how ABC interact with isinstance
or issubclass. This simple patch adds a link.
--
assignee: eric.araujo
components: Documentation
files: link-isinstance-to-abc.diff
keywords: needs review,
Éric Araujo mer...@netwok.org added the comment:
Thanks for catching this. Is this the only instance of the typo, or are there
any others in reference/datamodel or library/operator?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11941
___
___
R. David Murray rdmur...@bitdance.com added the comment:
The mailbox module would benefit from having this precision available.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11457
New submission from Éric Araujo mer...@netwok.org:
packaging still uses the DISTUTILS_USE_SDK environment variable to tweak
compilation on Windows. Do we want to change the name? Pro: separates
distutils and packaging, con: requires users to set one more var during the
transition period.
I
Ben Wolfson wolf...@gmail.com added the comment:
Hm. As I interpret this:
The str.format() function will have
a minimalist parser which only attempts to figure out when it is
done with an identifier (by finding a '.' or a ']', or '}',
etc.).
The present implementation is at
New submission from Éric Araujo mer...@netwok.org:
get_compiler_versions uses string regexes to match bytes streams returned by
subprocess. The test did not catch this because they mock subprocess output
with strings in self._exes.
We have to decide whether we propagate the bytes object up
New submission from Éric Araujo mer...@netwok.org:
When working on the docs for new_compiler, I read that it was possible to get
an msvc compiler on Unix. I tried it, even wrote a unit test to make sure it
worked, and found out that not all compiler classes can be instantiated on my
New submission from Éric Araujo mer...@netwok.org:
Now that we can break compat in distutils2/packaging, we can change the default
install dir to use PEP 370 user site-packages. For users without root,
copy-pasting “pysetup run install_dist” from the docs would Just Work™. This
would also
Roundup Robot devnull@devnull added the comment:
New changeset 4efc9ded0a03 by Éric Araujo in branch '3.2':
Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe.
http://hg.python.org/cpython/rev/4efc9ded0a03
New changeset 41c918897286 by Éric Araujo in branch 'default':
Roundup Robot devnull@devnull added the comment:
New changeset 39c29bc8bc35 by Éric Araujo in branch '2.7':
Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe.
http://hg.python.org/cpython/rev/39c29bc8bc35
--
___
Python
Éric Araujo mer...@netwok.org added the comment:
Thank you for the report and patch!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12249
R. David Murray rdmur...@bitdance.com added the comment:
I agree that the current situation is a bit murky and ought to be clarified,
but I'm going to leave it to Eric to point they way forward, as he is far more
knowledgeable about this area than I.
--
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12248
___
___
Python-bugs-list mailing list
Petri Lehtinen pe...@digip.org added the comment:
I've played around with the str.format() code for a few weeks now, to
investigate its poor performance compared to the % operator.
Having written a few parsers before, I would change it to parse each
part separately:
1. field_name
2a. if
Stefan Krah stefan-use...@bytereef.org added the comment:
I think there should be a warning that the connection is unauthenticated
(i.e. not secure). Users tend to be upset if they see 'https' and later
find out that no certificates were verified.
A reasonably secure alternative is to publish
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
On Fri, 2011-06-03 at 16:18 +, Éric Araujo wrote:
Éric Araujo mer...@netwok.org added the comment:
Ah, I understand; I have a $srcdir/Lib/site-packages directory, but packaging
wants to install into $prefix/site-packages, which
Brian Curtin br...@python.org added the comment:
Attached is a patch that makes this about twice as fast for regular files and
about 15 times faster for symbolic links and directories.
Not that this would be anyone's performance bottleneck, but it does make the
time more of a constant due to
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
On Fri, 2011-06-03 at 15:47 +, Éric Araujo wrote:
Éric Araujo mer...@netwok.org added the comment:
Your patch adds the cd before running make, but other examples and filenames
(for example :file:`tools/sphinx`) are also
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Attached is a patch for review.
It adds st_atim, st_ctim and st_mtim.
They are defined even when the underlying system does not have nanosecond
precision.
--
keywords: +patch
stage: - patch review
Added file:
New submission from Tim Lesher tles...@gmail.com:
While most of the occurrences of urlparse were corrected to urllib.parse
when the module was renamed, two were missed: one in the second example, and
one in the See also note for RFC 3986.
--
assignee: docs@python
components:
Changes by Tim Lesher tles...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file22238/remove-urlparse.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12261
___
Martin v. Löwis mar...@v.loewis.de added the comment:
If users use a browser to do secure uploading, there is no need to publish the
certificate. It is signed by a trusted CA (cacert), so you just need to make
sure your browser knows about the cacert certificate.
--
Eric V. Smith e...@trueblade.com added the comment:
PEP 3101 defines format strings as intermingled character data and markup.
Markup defines replacement fields and is delimited by braces. Only after markup
is extracted does the PEP talk about interpreting the contents of the markup.
So,
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
st_atim, st_mtim and st_ctim were introduced in 2008 version of POSIX (and were
earlier provided by glibc as an extension). To avoid compilation failure with
some exotic versions of libc, I suggest:
- In
Martin v. Löwis mar...@v.loewis.de added the comment:
I suggest that rather than using composite time stamps, decimal.Decimal is used
to represent high-precision time in Python.
On input to os.utime, the function could just polymorphically accept Decimal,
and try its best.
I see three
Brian Curtin br...@python.org added the comment:
Looks like I didn't test this enough - many other test failures are occurring.
Disregard this patch for now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11583
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
os.utimensat() and os.futimens() already exist since Python 3.3 and require
2-tuples (or None) as second and third argument.
(utime() is deprecated since POSIX 2008:
Tim Golden m...@timgolden.me.uk added the comment:
One (presumably unintended) side-effect is that you can now do os.path.isdir on
a wildcard and the first returned entry will be tested for directoryness:
import os
os.path.isdir (c:/tem*)
# = True where c:/temp exists
--
Changes by Tim Lesher tles...@gmail.com:
--
nosy: +tlesher
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11620
___
___
Python-bugs-list mailing
New submission from Jesse Litton 3vi...@gmail.com:
On Windows, I've been trying to call a test script that gets its I/O handled
via file descriptors 3 4
socat EXEC:python test.py userid,pty,fdin=3,fdout=4 TCP4:server:23,crlf
But I'm getting [Errno 9] Bad file descriptor when the python
Brian Curtin br...@python.org added the comment:
Can you provide a simple test script?
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12262
___
anatoly techtonik techto...@gmail.com added the comment:
Sorry for the delay. I've just uploaded
http://pypi.python.org/pypi/ctypesgen/0.r125 from Ubuntu using python2.6 with
patched distutils module to https://pypi.python.org/pypi and can confirm it
works without problems on Linux.
So I can
Brian Curtin br...@python.org added the comment:
Here's a patch that works. All tests are passing.
I changed from using FindFirstFile to GetFileAttributes, which provides
basically the same performance characteristics.
One change in this implementation is to not raise a WindowsError when the
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Is socat a cygwin utility? In this case, you should use the python
interpreter built for the cygwin platform.
I'm quite certain that the standard win32 python cannot work the way you want.
Keep in mind that on Windows, file
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +alanmcintyre
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12198
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
type: - feature request
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12201
___
Benjamin Peterson benja...@python.org added the comment:
No additional type-checking was added. The problem is that __dir__ didn't work
on old-style classes at all in 2.7.1:
$ python
Python 2.7.1 (r271:86832, Mar 24 2011, 22:44:47)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license
Ben Wolfson wolf...@gmail.com added the comment:
PEP 3101 defines format strings as intermingled character data and markup.
Markup defines replacement fields and is delimited by braces. Only after markup
is extracted does the PEP talk about interpreting the contents of the markup.
So, given
STINNER Victor victor.stin...@haypocalc.com added the comment:
How about reusing unittest discovery in regrtest?
Does this feature support filtering by keyword for file names and function
names?
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
This is a bit tricky. It may be superseded, but it is still there, is possible
used in older code, has not been deprecated as far as I know, and appears in
dir(ast).
The two current mentions of PyCF_ONLY_AST in ast doc are:
An abstract
1 - 100 of 139 matches
Mail list logo