Antoine Pitrou added the comment:
A quick grep indicates at least the following modules use os.path but only
import os:
bdb, binhex, cgitb, compileall, cProfile, doctest, filecmp, fileinput, fnmatch,
ftplib, gettext, glob, imghdr, imp, inspect, linecache, mailbox, mimetypes,
modulefinder,
Serhiy Storchaka added the comment:
May be add temporary replacement for collections.abc?
class _AbcModulePlaceholder(type(_collections_abc)):
def __warn(self):
import warnings
warnings.warn('collections.abc used without importing',
DeprecationWarning,
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +nadeem.vawda, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20781
___
Westley Martínez added the comment:
I understand this is an old issue. Sorry if it is no longer relevant.
I have usually have at least two versions of Python installed on Windows: 2.x
and 3.x.
In Windows 7, if you pin a certain shortcut to the start menu, you can't tell
what version of
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17390
___
___
Terry J. Reedy added the comment:
I do not understand what you mean by Exchange the names of python and pythonw
in the python33 folder.. In any case, idle.bat cannot run both simultaneously.
Perhaps idle.bat should have an option to start with python instead of pythonw.
--
Sean Rodman added the comment:
Here is a working patch for python 2.7. all it does is lowercase the module
name, but once I did that and clicked the link it worked correctly.
--
keywords: +patch
Added file: http://bugs.python.org/file34233/issue16484.patch
Sean Rodman added the comment:
Note: It doesn't change the actual module name. Just how it is represented in
the link.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
Changes by Ned Deily n...@acm.org:
--
Removed message: http://bugs.python.org/msg212255
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
___
Serhiy Storchaka added the comment:
All works on 3.4, but on 3.3 and 2.7 it looks hanged.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20781
___
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
___
___
Mark Lawrence added the comment:
Makes sense to me. Can someone please add mvl to the nosy list, I don't dare :)
FYI https://mail.python.org/pipermail/python-dev/2010-December/106942.html
--
nosy: +BreamoreBoy
___
Python tracker
Serhiy Storchaka added the comment:
Oh, no, I just not pressed Enter after copying long testing command line. ;)
All works on 3.3 too, but on 2.7 I got incomplete result.
$ ./python -c 'import bz2, hashlib; d =
bz2.BZ2File(../example-file.csv.bz2).read(); print len(d),
Larry Hastings added the comment:
So, it's a very common idiom.
Common doesn't imply correct or supported. There are plenty of other
packages/modules who don't import their subpackages/submodules during
initialization. Unless explicitly supported by the module, using a submodule
without
Ned Deily added the comment:
[Note, due to a bug tracker error now fixed, s couple of comments made to this
issue earlier today were dropped. I'm manually adding them here on behalf of
the original submitters.]
At Wed Feb 26 17:05:01 CET 2014, Paul Tunison added the comment:
I can confirm
Ned Deily added the comment:
At Wed Feb 26 17:09:49 CET 2014, Dhanannjay Deo added the comment:
Confirmed for python 2.7.3 on ubuntu 12.04 lts. Why this issue is still open
after 4 years ?
--
nosy: +Dhanannjay.Deo
versions: -Python 2.6
___
Python
Antoine Pitrou added the comment:
So, it's a very common idiom.
Common doesn't imply correct or supported. There are plenty of
other packages/modules who don't import their subpackages/submodules
during initialization. Unless explicitly supported by the module,
using a submodule
Serhiy Storchaka added the comment:
Actually this file is composed of two bzip2 streams. Python 2.7 doesn't support
decompressing of multi-stream inputs, this feature was added in 3.3. So this is
not a bug.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
Nadeem Vawda added the comment:
As Serhiy said, multi-stream support was only added to the bz2 module in 3.3,
and there is no plan to backport functionality this to 2.7.
However, the bz2file package on PyPI [1] does support multi-stream inputs,
and you can use its BZ2File class as a drop-in
New submission from Victor Lazzarini:
It appears various symbols are missing from Python27.lib, 64bit build.
Here is a list of undefined symbols (from link errors):
/debug/Opcodes /c/mingw-builds/x64-4.8.1-posix-seh-rev5/mingw64/bin/gcc.exe
-Wl,--add-stdcall-alias -shared -o ../py.dll
Sean Rodman added the comment:
Here is the patch for python 3.2. It implements the same fix that the 2.7 patch
does.
--
Added file: http://bugs.python.org/file34234/issue16484_python3.2.patch
___
Python tracker rep...@bugs.python.org
Changes by Nikolay Bryskin devel.n...@gmail.com:
--
nosy: +nikicat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18748
___
___
Python-bugs-list
Changes by Sebastian Rittau srit...@jroger.in-berlin.de:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20504
___
___
Terry J. Reedy added the comment:
Idle start up seems unnecessarily fragmented into multiple files.
idlelib/__main__.py
idlelib/idle.py
idlelib/idlew.py
can all be started from the command line by name with either python or pythonw
or run once by import. idlelib/__main__.py can also be
Nick Coghlan added the comment:
Oops, I forgot to assign this to MvL for a yes/no decision as the maintainer
of the Windows installer when I first created it years ago.
It's too late for 3.4.0 now, so marking this as one for 3.5. However, if Larry
and Martin are amenable, it might also be
Nick Coghlan added the comment:
One suggestion I like from the thread (thanks for digging up that reference
Mark) is to drop the GUI from the IDLE shortcut.
The other suggestions I don't think are worth worrying about - these names have
been as they are for quite some time, and it's mainly
New submission from mike bayer:
The Python builtin property() historically does not allow inspect.getargspec to
be called on any of __get__(), __set__(), or __delete__(). As of 3.4, it seems
that this call now succeeds. However the answer it gives for __delete__()
seems to be incorrect.
Changes by mike bayer mike...@zzzcomputing.com:
--
components: +Library (Lib)
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
mike bayer added the comment:
for context, we are currently creating wrappers around these methods in
SQLAlchemy, and in the case of property dunders, we expect that exception and
catch it. So when the exception doesn't happen, we assume the answer is
correct, but in this case it's not -
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +larry, ncoghlan, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
Yury Selivanov added the comment:
Larry, I think the problem is that
property.__delete__.__text_signature__
'(instance, /)'
but should be something like '($self, instance, /)'.
What do you think?
--
___
Python tracker
New submission from akira:
subprocess' stdout pipe is open for *reading* but its value is documented as an
argument for `BaseEventLoop.connect_write_pipe`. It should be
`BaseEventLoop.connect_read_pipe` instead. As it currently is for subprocess'
stderr.
The patch is attached.
--
Changes by Yury Selivanov yselivanov...@gmail.com:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20786
___
Changes by Sean Rodman srodman7...@gmail.com:
Removed file: http://bugs.python.org/file34234/issue16484_python3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
Changes by Sean Rodman srodman7...@gmail.com:
Removed file: http://bugs.python.org/file34233/issue16484.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
Sean Rodman added the comment:
Sorry guys, I missed a place I needed to add the lower() fuction to the
module.__name__. Here is a fixed patch for python2.7.
--
Added file: http://bugs.python.org/file34236/issue16484_python2.7.patch
___
Python
New submission from Matt Goodman:
The flags that you need to compile against libpythonXX.lib are hidden inside of
the distutils.msvccompiler class. This is ok if you want to use distutils to
compile extensions against the binary, but other build systems need to run
initialize() to get access
Changes by Michael Crusoe michael.cru...@gmail.com:
--
nosy: +Michael.Crusoe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1222585
___
___
Terry J. Reedy added the comment:
The last installation I did now said to reboot to finish the installation, but
I forget which it was. Since that was my alternative fix, this could perhaps be
closed. I will try to check the coming installs.
--
___
Terry J. Reedy added the comment:
3.3.4 installed without incident. So closing as presumed 'unique glitch'.
--
resolution: - works for me
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Sean Rodman srodman7...@gmail.com:
Added file: http://bugs.python.org/file34238/issue16484_python3.3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
Sean Rodman added the comment:
Here are the python3.2 and python3.3 patches. Please let me know if there is
anything I need to change on these.
--
Added file: http://bugs.python.org/file34237/issue16484_python3.2.patch
___
Python tracker
Terry J. Reedy added the comment:
This may be related to #18052. In any case, I do not have the problem now.
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
I don't see any reason not to change the next release of all versions.
My only concern is about the length and whether Windows has a limit for either
the start menu or the taskbar tooltip popup
The Doc server icon should be removed from 3.x until it is made to
R. David Murray added the comment:
Having thought further about this (prompted by a suggested fix by Varun
Sharma), I'm going to reject it. The reason is that the email package in 3.2
compatibility mode still uses the Header object to encapsulate headers that
have invalid binary data in
Roundup Robot added the comment:
New changeset 5dec1604322c by Brett Cannon in branch 'default':
Issue #20763: Fix importlib.machinery.PathFinder to support
http://hg.python.org/cpython/rev/5dec1604322c
--
nosy: +python-dev
___
Python tracker
New submission from Brett Cannon:
changeset 89406:5dec1604322c tip
Issue #20763: Fix importlib.machinery.PathFinder to support
PathEntryFinder instances which only define find_module().
Reported by Yukihiro Nakadaira. [#20763]
author Brett Cannon br...@python.org
dateWed, 26 Feb 2014
Changes by Brett Cannon br...@python.org:
--
dependencies: +old sys.path_hooks importer does not work with Python 3.4.0rc1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20789
___
Brett Cannon added the comment:
Cherrypick bug is http://bugs.python.org/issue20789
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20763
___
___
Brett Cannon added the comment:
Committed for Larry to cherrypick into 3.4.0. No Misc/NEWS so that Larry
doesn't have merge issues and since it will be covered by 3.4.0.
--
resolution: - fixed
status: open - closed
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20776
___
___
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20778
___
___
Brett Cannon added the comment:
The more I think about this, the less useful it seems to be. We need zipimport
written in C for bootstrapping issues. If that's the case then time should be
put into making that work and not duplicating the functionality. I'm going to
leave this open but
New submission from Brett Cannon:
E.g. importlib.abc.InspectLoader() has load_module() deprecated by no
equivalent exec_module() documented. Make sure that no other exec_module()
instances have been added but undocumented.
--
assignee: brett.cannon
components: Documentation
messages:
Terry J. Reedy added the comment:
Patch fixes problem on 3.3. I need to test 2.7 and add a note to
idle_test/README that class widget attributes must be deleted because module
may not be deleted, at least for a while.
--
assignee: - terry.reedy
Terry J. Reedy added the comment:
This has been left open to see if the undlying problem can be found. If #20567
is a guide, there might be a root.destroy that should be followed by del root.
--
resolution: - fixed
stage: - needs patch
___
Python
Andrew P. Lentvorski, Jr. added the comment:
Ayup, I are an idiot. Sorry.
ggRAM = bytearray('\x00'*RAM_SIZE_BYTES)
Works fine.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20783
Changes by Andrew P. Lentvorski, Jr. bs...@allcaps.org:
--
resolution: - invalid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20783
___
___
Vajrasky Kok added the comment:
From http://hg.python.org/cpython/rev/1a1a9d6fb278
+t1 = TESTFN
+#t1 = writeTmp(1, ['A\nB\r\nC\rD+IKw-'], mode='wb')
+self.addCleanup(safe_unlink, TESTFN)
You left out the debugging statement.
And this English statement:
# Unlikely
R. David Murray added the comment:
It doesn't? I checked all the links that I made in the whatsnew entry when I
made it, and importlib.abc.InspectLoader.exec_module takes me to an exec_module
method entry under InspectLoader.
--
nosy: +r.david.murray
Westley Martínez added the comment:
How about adding an optional argument to OutputWindow that specifies the title
for the window? Or would this be more suitable for EditorWindow (which
OutputWindow inherits from)? Either way, doing this would allow any
OutputWindow to specify its own
Terry J. Reedy added the comment:
That looks like a sensible approach.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17390
___
___
Ned Deily added the comment:
Thanks for the reminder, David. Here are patches for 3.x and 2.7 that include
updated versions of the proposed pyexpat.c and test_pyexpat.py patches along
with a doc update along the lines suggested by David.
--
stage: - patch review
versions: -Python
Changes by Ned Deily n...@acm.org:
Added file: http://bugs.python.org/file34241/issue6676_27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6676
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
keywords: +patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20778
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
keywords: +3.3regression -3.2regression, patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20778
___
101 - 166 of 166 matches
Mail list logo