Eric Snow ericsnowcurren...@gmail.com added the comment:
I just got the same error with a clean install. I'll have to poke at it some
other time.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15344
Serhiy Storchaka storch...@gmail.com added the comment:
Serhiy - why did you remove that documentation bit?
Because it's not relevant anymore. With patch you will never get
UnicodeError exceptions in case of unrepresentable text data.
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset caea3c64442b by Eli Bendersky in branch 'default':
Some fixes for the documentation of multiprocessing (per issue #13686)
http://hg.python.org/cpython/rev/caea3c64442b
--
nosy: +python-dev
Eli Bendersky eli...@gmail.com added the comment:
Switching this to 3.3 only
Fixes for 1-3 committed in caea3c64442b
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13686
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7b97cea795d8 by Eli Bendersky in branch 'default':
Issue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch
by Serhiy Storchaka, with some minor style adjustments by me.
Eli Bendersky eli...@gmail.com added the comment:
Fixed in 3.3
Thanks for the patch
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15296
___
Ned Deily n...@acm.org added the comment:
os.path.join is working as documented. See
http://docs.python.org/library/os.path.html#os.path.join
If any component is an absolute path, all previous components (on Windows,
including the previous drive letter, if there was one) are thrown away, and
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1110692aac71 by Eli Bendersky in branch 'default':
Additional fixes to multiprocessing docs (for issue #13686)
http://hg.python.org/cpython/rev/1110692aac71
--
___
Python
Eli Bendersky eli...@gmail.com added the comment:
Done (except 5 and 6, which are non-issues on a second look)
--
status: open - closed
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13686
Eli Bendersky eli...@gmail.com added the comment:
Serhiy, can you also take a look at #9458 - it may be related?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1767933
___
Eli Bendersky eli...@gmail.com added the comment:
Closing, as I don't think it's terribly important to backport this.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14190
Ned Deily n...@acm.org added the comment:
Fixing sys.executable to point to the stub launcher instead of the interpreter
in the fw will also fix other unrelated issues, like making python3-32 work
properly in 64-/32-bit builds for IDLE and for tests that spawn interpreters in
subprocesses.
Hynek Schlawack h...@ox.cx added the comment:
Hynek: You must forgive me, I'm a recovering Windows programmer. I thought
extended attributes were a Linux-only thing. Can you tell me what other
platforms they are available on? And/or suggest some alternate language?
Ronald Oussoren ronaldousso...@mac.com added the comment:
I removed the call to realpath from pythonw because resolving symlinks breaks
the feature. Realpath also converts relative paths to absolute paths, and that
probably explains the new failure you're having.
I'll try to find a solution
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 677a9326b4d4 by Ned Deily in branch 'default':
Issue #4832: Modify IDLE to save files with .py extension by
http://hg.python.org/cpython/rev/677a9326b4d4
--
nosy: +python-dev
Ned Deily n...@acm.org added the comment:
Committed for 3.3. I'm +0.5 for 2.7 and 3.2. It seems like a bug to me.
Terry, I'll leave it up to you to handle that and any further doc updates you
want to make.
--
title: idle filename extension - IDLE does not supply a default ext of
Pan Yongzhi fossi...@users.sourceforge.net added the comment:
I know this is working as documented. But working as documented does not mean
it is not a bug.
I cannot deduce that it will append a separator if joining with an empty string
from the documentation. Also, this behavior is implicit,
Changes by Eduardo Cereto Carvalho eduardocer...@gmail.com:
--
nosy: +Eduardo.Cereto.Carvalho
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11445
___
Tim Golden m...@timgolden.me.uk added the comment:
Well os.listdir doesn't fail to access a UNC path on Windows x64 in
general. So presumably this particular path is not accessible by the
buildbot process owner?
--
___
Python tracker
Daniel Holth dho...@fastmail.fm added the comment:
I must have missed the export_symbols keyword argument to Extension(), or it
was added.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Well, this particular path is the build directory itself, so it's certainly
accessible through the normal (non-UNC) path. There has to be something else
:-)
Jeremy told me his buildbot process runs as a service, perhaps that is related?
Tim Golden m...@timgolden.me.uk added the comment:
It's using an administrative share (\\server\d$) and those are usually
restricted with share permissions -- different from NTFS permissions.
That the process runs as a service is likely to have an effect since
services are conventionally run
Serhiy Storchaka storch...@gmail.com added the comment:
ElementTree write works with two kinds of output -- binary and text. The
difference between them is only determined by encoding argument. If encoding is
unicode, then output is text, else it is binary. There is no other way for
filename
Antoine Pitrou pit...@free.fr added the comment:
It's using an administrative share (\\server\d$) and those are usually
restricted with share permissions -- different from NTFS permissions.
That the process runs as a service is likely to have an effect since
services are conventionally run
Tim Golden m...@timgolden.me.uk added the comment:
For this particular buildbot setup, maybe yes. But it would be possible
in principle to have a buildbot configuration which could allow the test
to execute. (eg one running under a user account which can access the
path via an admin share). Does
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +jkloth
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15338
___
___
Python-bugs-list mailing
New submission from Simon Hayward simonhayw...@gmail.com:
HOWTOs - Argparse Tutorial, the code example will raise a syntax error when
run. A trailing python3 reference (if called as a function): 'end=', to
suppresses a newline remains.
print {}^{} == .format(args.x, args.y), end=
Should
Ronald Oussoren ronaldousso...@mac.com added the comment:
v5 adds test cases for sys.executable and calls realpath on dirname(argv[0]) in
pythonw.c and also has the changes in Ned's v4.
The test failure for test_venv is expected, the note in
http://docs.python.org/dev/library/venv.html
Jeremy Kloth jeremy.kl...@gmail.com added the comment:
The buildbot service account is a standard user (per the buildbot
servce installation directions). When logged on, the user can access
the share. Just when logged on as a service is when it cannot.
After much searching, I still cannot
Martin v. Löwis mar...@v.loewis.de added the comment:
umedoblock: your patch is incorrect, as it produces moji-bake. if there is a
file name b'f\x94n', it will decode as sjis under your patch (to u'f\u99ac'),
even though it was meant as cp437 (i.e. u'f\xf6n').
--
Antoine Pitrou pit...@free.fr added the comment:
I find the patch complicated. If you are using a Lock, surely you don't need a
deque, you can keep the original iterator (which is also more readable since it
mirrors the semantics quite closely)?
--
umedoblock umedobl...@gmail.com added the comment:
Hi, Martin.
I tried your test case with attached file.
And I got below result.
p3 ./encodings.py
encoding: sjis, filename: f馬
encoding: cp437, filename: fön
sjis_filename = f馬
cp437_filename = fön
There are two success cases.
So I think that
R. David Murray rdmur...@bitdance.com added the comment:
Whatever the good or bad points of the API design, it is what it is and has
been for a very long time. It is not something that is going to change,
because the break in backward compatibility would be too large.
What is unclear about
Tim Golden m...@timgolden.me.uk added the comment:
My guess is that it's to do with Service Hardening. I did a quick dump
of my token in an interactive session and as the owner of a service.
Quite a few differences. I haven't read up on this area yet so I'm not
sure what options there are / how
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c09f454af2c6 by Brett Cannon in branch 'default':
Issue #15053: Make sure all functions related to the import lock have
http://hg.python.org/cpython/rev/c09f454af2c6
--
nosy: +python-dev
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15053
___
Changes by Brett Cannon br...@python.org:
--
nosy: +Yury.Selivanov, larry, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15151
___
___
Tim Golden m...@timgolden.me.uk added the comment:
Simplest solution might be to catch PermissionError and call skipTest from
within. This would allow buildbots to run the test which had access through the
relevant share.
--
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15169
___
___
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15169
___
___
Éric Araujo mer...@netwok.org added the comment:
Yep, bf23a6c215f6 fixed it, thanks for the ping. Brian or Antoine, can you
close this or was there something else?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14600
New submission from Daniel Swanson popcorn.tomato.d...@gmail.com:
The title should be self explanatory.
I needed Drag-and-drop for a project I was working on, (maybe I shouldn't be
refering to it in the past tense as I haven't started yet) so I checked the
documentation for tkinter and found:
Changes by Brian Curtin br...@python.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14600
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9e164b404983 by Brett Cannon in branch 'default':
Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use
http://hg.python.org/cpython/rev/9e164b404983
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9e164b404983 by Brett Cannon in branch 'default':
Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use
http://hg.python.org/cpython/rev/9e164b404983
--
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15169
___
Brett Cannon br...@python.org added the comment:
MAXPATHLEN no longer shows up in Python/import.c.
--
dependencies: +Clear C code under PyImport_ExecCodeModuleObject()
resolution: - fixed
status: open - closed
___
Python tracker
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
If no one gets to it first, I'll write-up a draft when I get a chance.
--
assignee: docs@python - rhettinger
nosy: +rhettinger
priority: normal - low
___
Python tracker
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15345
___
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
Ned mentioned that test_venv fails on line 95 when you run test_venv *in* a
virtualenv, that is:
$ pyvenv testenv
$ testenv/bin/python3 -m test.test_venv
This fails because sys.prefix != sys.base_prefix for testenv/bin/python3, and
Ned Deily n...@acm.org added the comment:
That's correct, the failing test was being run from a venv. I see now that
what had changed is that the fixes for Issue15241 recently added the
test_prefixes test case to test_venv and that fails when the test is run from
within a venv. Without that
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15339
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15328
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +bethard, tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15327
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15302
___
___
Víctor Terrón quinta...@gmail.com added the comment:
I would like to take on this issue if, as it seems, Ron is no longer working on
it. I'm thinking of using HTML5 and maybe replicating the default output of
Sphinx.
--
nosy: +vterron
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4d480a2a6296 by Antoine Pitrou in branch '3.2':
Issue #15338: skip test_UNC_path when the current user doesn't have enough
permissions to access the path.
http://hg.python.org/cpython/rev/4d480a2a6296
New changeset
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15270
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7eac87fa7a06 by Antoine Pitrou in branch '2.7':
Issue #15338: skip test_UNC_path when the current user doesn't have enough
permissions to access the path.
http://hg.python.org/cpython/rev/7eac87fa7a06
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ec2caf810e5e by Antoine Pitrou in branch '3.2':
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
http://hg.python.org/cpython/rev/ec2caf810e5e
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1242ed59573e by Antoine Pitrou in branch 'default':
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
http://hg.python.org/cpython/rev/1242ed59573e
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
Using an HTML5 doctype is ok, but I'm not sure it's a good idea to use new
HTML5 elements/features yet (those shouldn't be necessary anyway, so basically
you should end up with valid HTML 4 strict with an HTML5 doctype).
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9bbc4900301c by Antoine Pitrou in branch '2.7':
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
http://hg.python.org/cpython/rev/9bbc4900301c
--
___
Roger Serwy roger.se...@gmail.com added the comment:
I suggest to add a decorator @Debugger.internal for all methods that the
debugger should not step into. It should set a function attribute that the
debugger then checks for.
The decorator idea may work. I'll need to see how to make it
Ezio Melotti ezio.melo...@gmail.com added the comment:
Have you tried doing some benchmarks before and after the patch?
If this patch is applied I think it would be good to change posixpath too.
Also make sure that the changes you made are covered by the tests.
--
nosy: +ezio.melotti
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
superseder: - Use argparse instead of getopt in test.regrtest
type: - enhancement
versions: +Python 3.4 -Python 3.3
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
superseder: - Use argparse instead of getopt in test.regrtest
type: - enhancement
versions: +Python 3.4 -Python 3.3
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
superseder: - Use argparse instead of getopt in test.regrtest
type: - enhancement
versions: +Python 3.4 -Python 3.3
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15331
___
___
New submission from Roger Serwy roger.se...@gmail.com:
IDLE fails to close if the debugger was active.
Steps to reproduce:
1) Start IDLE with only a shell.
2) Enable debugger.
3) Press enter in the shell. (Causes debugger to activate)
4) Close the shell window. (File-Exit or click X)
5) Click
New submission from Roger Serwy roger.se...@gmail.com:
The IDLE shell does not respond to commands if the debugger window is closed by
clicking X. This is due to PyShell's executing flag not being reset.
Steps to reproduce:
1) Start IDLE with a shell.
2) Enable debugger.
3) Press enter in the
Changes by Roger Serwy roger.se...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15348
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset de18c4470ff1 by Ezio Melotti in branch '2.7':
#15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.
http://hg.python.org/cpython/rev/de18c4470ff1
--
nosy: +python-dev
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - test needed
type: enhancement - behavior
versions: +Python 3.3, Python 3.4 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
This and the two similar issues can be fixed without waiting for the
enhancement patch by correcting the typos in the getopt invocation. I would be
happy to file patches or a combined patch to fix just the typos.
--
Serhiy Storchaka storch...@gmail.com added the comment:
Patch updated with some comments.
--
Added file: http://bugs.python.org/file26377/etree_write_utf16_5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1767933
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
As the test is constructed now, that test will fail if run from a venv. It will
be a simple matter to skip it if test_venv being run from a venv - I can add
that at some point, but I agree it's orthogonal to the crux of this issue.
Antoine Pitrou pit...@free.fr added the comment:
Apparently the patch didn't work:
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/290/steps/test/logs/stdio
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
If someone wants to propose a patch we can reopen the issue.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15328
Tim Golden m...@timgolden.me.uk added the comment:
Take the other approach and catch ACCESS_DENIED and skip?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15334
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 814927ff4ef2 by Antoine Pitrou in branch '2.7':
Try other approach to fix issue #15334.
http://hg.python.org/cpython/rev/814927ff4ef2
--
___
Python tracker
Tim Golden m...@timgolden.me.uk added the comment:
(I just ran up a service and its environ does include PROMPT, at least
on an XP machine)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15334
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset dad89e7479e8 by Antoine Pitrou in branch '3.2':
Try other approach to fix issue #15334.
http://hg.python.org/cpython/rev/dad89e7479e8
New changeset b4e4c57637cf by Antoine Pitrou in branch 'default':
Try other
Cesar Mello cme...@gmail.com added the comment:
Just as a note: the following command line with /q instead of /qb works without
the need for elevation:
msiexec /q /i python-2.7.3.amd64.msi MSIFASTINSTALL=7
TARGETDIR=C:\Users\Mello\Python27
And it is pretty fast! This was on a Windows 7
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15338
___
Changes by samwyse samw...@gmail.com:
--
nosy: +samwyse
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13866
___
___
Python-bugs-list mailing list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0dbffd3c1317 by Ned Deily in branch 'default':
Issue #15241: Fix test_prefixes failure in test_venv due to symlink in
http://hg.python.org/cpython/rev/0dbffd3c1317
--
___
Mark Shannon m...@hotpy.org added the comment:
Larry, you're the expert on this.
Looks to me like the format character in PyArg_ParseTuple in posix_fchown and
kin should be 'k' (unsigned long) rather than 'l' (signed long).
--
nosy: +Mark.Shannon, larry
type: - behavior
Antoine Pitrou pit...@free.fr added the comment:
It worked!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15334
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14458
___
___
Python-bugs-list mailing
Ned Deily n...@acm.org added the comment:
Possible duplicate of Issue4591?
--
nosy: +haypo, ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15301
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15275
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15280
___
___
Python-bugs-list
Larry Hastings la...@hastings.org added the comment:
I don't think k is the right answer.
POSIX defines the user and group parameters as uid_t and gid_t respectively; in
turn, uid_t and gid_t are defined as integers, pointedly omitting the either
of the words signed or unsigned. So POSIX
do1 d...@yandex.ru added the comment:
Problem emerged when well-known backup software (rdiff-backup) is 'crashed' (as
in no backups). So I think this is not that theoretical.
--
___
Python tracker rep...@bugs.python.org
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15301
___
Larry Hastings la...@hastings.org added the comment:
Thinking about it some more, maybe we need to be smart about whether
uid_t/gid_t are signed or unsigned.
I'm no good with configure hackery--could anyone here enhance the configure
script so it could tell us whether or not uid_t and gid_t
Ned Deily n...@acm.org added the comment:
There is a proposed patch by haypo with Issue4591.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15301
___
Ned Deily n...@acm.org added the comment:
v5 fixes the non normalized path issue. However, the PYTHONEXECUTABLE env var
- argv processing is still broken, as detected by the test_osx_env failure.
It's definitely caused by interaction between pythonw.c and the main
interpreter; if the
100 matches
Mail list logo