Changes by Martin Dengler mar...@martindengler.com:
--
nosy: +mdengler
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8098
___
___
Python-bugs-list
Cain gamingleg...@gmail.com added the comment:
Running Windows 7.
I get the following output when running the requested command:
File stdin, line 1
python.exe Lib\idlelib\idle.py
SyntaxError: invalid syntax
--
___
Python tracker
Markus com...@gmx.ch added the comment:
Applied the patch, but could not verify 'it works for me' as Element lacks the
attrib keyword.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14818
Charles-François Natali neolo...@free.fr added the comment:
Alright, closing for good then.
Andrew, if you want to get this fixed, you should report this to the autofs
folks, because it's definitely not a Python bug.
--
stage: - committed/rejected
status: open - closed
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you please attach your idle.py, and/or figure out why it has a syntax error
on line 1?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14838
Martin v. Löwis mar...@v.loewis.de added the comment:
Ah, I think I know what happened. When I said command line, I didn't mean
Python (command line), but CMD shell, as found in the start menu (i.e.
cmd.exe). The line I gave you is, of course, invalid Python syntax.
If you have never used
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Reproducing the issue is not too hard, see the example below. Does your program
play with sys.modules?
import sys
b'x'.decode('utf-8')
import locale; del locale.encodings # Not necessary with python2
del
New submission from Vetoshkin Nikita nikita.vetosh...@gmail.com:
When I attempt to remove package with pysetup remove 'package-name' on Fedora
17 - it fails with:
'my-package' cannot be removed
Error: [Errno 18] Invalid cross-device link
strace'ing showed that there was an attempt to call
New submission from Markus com...@gmx.ch:
Example Code to reproduce:
from xml.etree import ElementTree as etree
class xetree:
cElement = etree.Element
class Element(etree.Element):
def __init__(self, tag, attrib=None):
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eli.bendersky, ezio.melotti
priority: normal - release blocker
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14849
Markus com...@gmx.ch added the comment:
New bug - C implementation of ElementTree: Inheriting from Element breaks text
member
http://bugs.python.org/issue14849
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13988
Ezio Melotti ezio.melo...@gmail.com added the comment:
Attached patch fixes Element constructor to accept 'attrib' as keyword arg. I
couldn't find a way to make this work using PyArg_ParseTupleAndKeywords, so I
ended up parsing the kwds by hand.
While adding more tests I found out another
Serhiy Storchaka storch...@gmail.com added the comment:
Anyone can review the patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1767933
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file25628/issue14818-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14818
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Added file: http://bugs.python.org/file25629/issue14818-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14818
___
Hynek Schlawack h...@ox.cx added the comment:
I've implemented a _safe_rmtree which gets used if os.fwalk() and os.unlinkat()
are available.
Test suite still passes in regression mode both on Mac (= no effect) and Linux.
Let me know if I missed something.
--
assignee: - hynek
Petri Lehtinen pe...@digip.org added the comment:
+Same a rmtree but uses safe functions to avoid race conditions
^
typo
+onerror(os.unlinkat, os.path.join(path, name),
sys.exc_info())
+onerror(os.fwalk, path, sys.exc_info())
The
Antoine Pitrou pit...@free.fr added the comment:
Python 3.3 now has per-module import locks, and PyImport_ImportModuleNoBlock
simply redirects to PyImport_ImportModule. See issue9260.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - A finer
Hynek Schlawack h...@ox.cx added the comment:
Thanks Petri. I've added the missing s in my repo and attach a proposed
separate doc patch, I'd like reviewed by someone whose English is better than
mine. :)
--
nosy: +ezio.melotti, georg.brandl
Added file:
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14472
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
I have now upgraded OpenSSL to 0.9.8x for 2.7, to 1.0.0j for 3.2, and to 1.0.1c
for 3.3.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14543
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14543
___
Éric Araujo mer...@netwok.org added the comment:
How did you install my-package?
--
versions: +3rd party, Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14848
___
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment:
pysetup install.
strace of removal looks like this:
stat(/home/nekto0n/workspace/pillar/penv/lib/python2.7/site-packages/ygroup/__init__.py,
{st_mode=S_IFREG|0664, st_size=0, ...}) = 0
New submission from Serhiy Storchaka storch...@gmail.com:
codecs.charmap_decode behaves differently with native and user string as decode
table.
import codecs
print(ascii(codecs.charmap_decode(b'\x00', 'replace', '\uFFFE')))
('\ufffd', 1)
class S(str): pass
...
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14850
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9260
___
___
Python-bugs-list
Andrew McNabb amcn...@mcnabbs.org added the comment:
I see no evidence that this is a bug in Linux, and I think it's ridiculous to
close it when a trivial one-line fix is available. I won't reopen it because
it's obvious no one wants to address this. :(
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 347735ec92eb by Richard Oudkerk in branch 'default':
#12098: Make multiprocessing's child processes inherit sys.flags on Windows
http://hg.python.org/cpython/rev/347735ec92eb
--
nosy: +python-dev
Andrew McNabb amcn...@mcnabbs.org added the comment:
I posted a bug report with the kernel here:
https://bugzilla.kernel.org/show_bug.cgi?id=43262
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14702
Richard Oudkerk shibt...@gmail.com added the comment:
Failure to build _multiprocessing will mean that multiprocessing cannot
be imported. So if the function goes somewhere in multiprocessing then
it makes running the test suite with multiple processes dependent on the
building of
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14849
___
Antoine Pitrou pit...@free.fr added the comment:
Since multiprocessing also depends on threading, the change has broken
the AMD64 Fedora without threads 3.x buildbot. I had not realized
that the buildbots ran the test suite using multiple processes.
They don't. It's only the import failing,
New submission from gene eduv...@nrao.edu:
Hi,
I've downloaded both source versions of Python for Mac 2.6.8 and have unziped
them with Mac GUI or gunzip but all attempts fail due to build not finding
files. First missing file is pyconfig.h which appears to be named
pyconfig.h.in. When I
Changes by Oleg Plakhotnyuk oleg...@gmail.com:
Removed file: http://bugs.python.org/file25562/test_calendar.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14796
___
Oleg Plakhotnyuk oleg...@gmail.com added the comment:
I didn't event know that there is such a handy assertRaisesRegex context.
Many thanks for pointing this out!
--
Added file: http://bugs.python.org/file25632/test_calendar.patch
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Since multiprocessing also depends on threading, the change has broken
the AMD64 Fedora without threads 3.x buildbot. I had not realized
that the buildbots ran the test suite using multiple processes.
They don't. It's only the import
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2034b3de1144 by Antoine Pitrou in branch 'default':
Move private function _args_from_interpreter_flags() to subprocess.py, so
http://hg.python.org/cpython/rev/2034b3de1144
--
Brett Cannon br...@python.org added the comment:
I see three options (which can be combined). One is to keep using something
like the uncache context manager to make sure the expected modules get removed.
Two is to check the keys of sys.modules at the end of a context manager and if
there are
Marc Abramowitz msabr...@gmail.com added the comment:
I just ran into this issue with Python 2.5 (doesn't seem to be an issue in =
2.6?) and for the benefit of anyone else, I'm copying the answer from `Vinay's
Google Group post
Marc Abramowitz msabr...@gmail.com added the comment:
Or for a practical example, here's how I used the above technique to solve this
problem in web2py:
diff --git a/gluon/main.py b/gluon/main.py
index 57bf647..2f69c6b 100644
--- a/gluon/main.py
+++ b/gluon/main.py
@@ -68,6 +68,13 @@
Ned Deily n...@acm.org added the comment:
This is not the right place to get help for building or using Python (see, for
example, http://www.python.org/community/lists/). That said, you should read
the README files included in the source directory, in particular, the step
about running
New submission from Frederick Ross madhad...@gmail.com:
When parsing something like 'ax/aay/a' with xml.etree.ElementTree, or
'{}{}' with json, these parser throw exceptions instead of reading a single
element of the kind they understand off the stream (or throwing an exception if
there is no
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14788
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14789
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14792
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14795
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14797
___
___
Python-bugs-list
Jason R. Coombs jar...@jaraco.com added the comment:
Thanks for the tip Amaury. Following that lead, I see that distribute does
indeed have a sandbox module which attempts to sandbox sys.modules, which can
break the encodings modules. I'm going to address the issue in distribute
first, but I
Petri Lehtinen pe...@digip.org added the comment:
Seems that at least all links to the time() function in the time module point
to the module (top of the module page) instead of the function.
All references use the :func: role, so this must be an issue in Sphinx.
Georg: Do you have a clue
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14808
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14814
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 40900f791469 by Petri Lehtinen in branch '2.7':
Fix time.time() references in the time module docs
http://hg.python.org/cpython/rev/40900f791469
New changeset d15f01b0c1a0 by Petri Lehtinen in branch '3.2':
Fix
Petri Lehtinen pe...@digip.org added the comment:
Georg: Nevermind, I got help from #python-dev :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14842
___
New submission from Gregory P. Smith g...@krypto.org:
./python Lib/test/test_file.py# passes
./python Lib/test/test_file.py /dev/null # fails
nohup ./python Lib/test/test_file.py # fails
==
FAIL: testStdin
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2d2079593212 by Petri Lehtinen in branch '2.7':
#14798: pyclbr now raises ImportError instead of KeyError for missing packages
http://hg.python.org/cpython/rev/2d2079593212
New changeset 895246f1a06a by Petri
Petri Lehtinen pe...@digip.org added the comment:
Fixed, thanks for the patch.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14798
Marc Abramowitz msabr...@gmail.com added the comment:
Just to make this a tad easier, I put Joakim's patch into a gist:
[marca@logger01.prod1 Python-2.7.3]$ pwd
/home/marca/src/Python-2.7.3
[marca@logger01.prod1 Python-2.7.3]$ curl -sk
https://raw.github.com/gist/2727063/
Marc Abramowitz msabr...@gmail.com added the comment:
curl -sk https://raw.github.com/gist/2727063/ | patch -p1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14572
___
Terry J. Reedy tjre...@udel.edu added the comment:
permutations(i,r) has an obvious default length, len(i).
For combinations(i,r), r = len(i), the return is i itself. Uninteresting.
You are asking for something else, that combinations(i) be powerset(i), which
is a different function. Powerset
Terry J. Reedy tjre...@udel.edu added the comment:
This issue is invalid *here* because this tracker is for the CPython
implementation and the documentation, not the python.org site. I have, however,
sent a message to the pypi catalog-sig mailing list, which *is* the proper
venue. Thanks for
Markus com...@gmx.ch added the comment:
SubElement needs to handle the attrib keyword too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14818
___
Terry J. Reedy tjre...@udel.edu added the comment:
If python itself runs, you can easily try this from inside the interpreter
from idlelib import idle
This *should* bring up the Idle shell window. It just did for me on 64 bit
Win7. If not, there *should* be an error traceback you can cut and
Jesús Cea Avión j...@jcea.es added the comment:
Status of this feature?. Ready to integrate?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14684
___
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +needs review
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14684
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14787
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +brett.cannon, eric.smith, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14787
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.2, Python 3.3 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14824
___
Jasper St. Pierre jstpie...@mecheye.net added the comment:
The documentation is just flat out wrong, actually:
if ' ' in typename:
parts = typename.split()
typename = '_'.join(parts)
The documentation is claiming the inverse.
I don't know why we would ever have a space in
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14790
___
___
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14834
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
It has been noted elsewhere (but I cannot find it) that 1) an uncaught
StopIteration raised in an expression *within* a genexp is indistinguishable
from the StopIteration raised *by* the genexp upon normal termination; and 2)
this makes
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +doerwalter, lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14850
___
___
Zachary Ware zachary.w...@gmail.com added the comment:
I'll go with foolhardy, or just green :P. I wasn't aware that this topic was
quite as contentious as it seems to be.
I agree that tuples and lists are similar. I was trying to keep my wording at
here's another way to look at things that
Piotr Dobrogost p...@bugs.python.dobrogost.net added the comment:
Just bumped into this issue when installing gevent 1.0b2 on Vista 64bit using
pip. I think it would be worth to mention that although I'm not quite new to
Python and in the past I already investigated issue with distutils not
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 79e6ff3d9afd by Senthil Kumaran in branch '2.7':
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
http://hg.python.org/cpython/rev/79e6ff3d9afd
New changeset a9d43e21f7d8 by Senthil
Senthil Kumaran sent...@uthcode.com added the comment:
Thanks for raising this issue, Nick. Yes, I verified in both RFC 3986 and 2396
and realized we can safely adopt a generic parsing system for query and
fragment portions of the urls for any scheme. Since it was supported in earlier
Q abon...@gmail.com added the comment:
My bad. That's indeed what I did. Won't repeat the mistake, sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14823
___
Cain gamingleg...@gmail.com added the comment:
Terry - just ran that command as you suggested and it did bring up idle,
however also reported errors in the command window:
Warning: configHandler.py - IdleConf.GetThemeDict -
problem retrieving theme element 'stderr-foreground'
from theme
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14836
___
Roger Serwy roger.se...@gmail.com added the comment:
The reason why IDLE failed to launch is due to stderr=None when using
pythonw.exe. The first Warning message cause IDLE to abort. See issue13582 for
more details and a solution to the problem of IDLE not starting.
Cain, your home directory
Martin v. Löwis mar...@v.loewis.de added the comment:
Closing as a duplicate. Roger, thanks for the analysis.
--
resolution: - duplicate
status: open - closed
superseder: - IDLE and pythonw.exe stderr problem
___
Python tracker
82 matches
Mail list logo