New submission from James Morgan :
Hi,
For some reason I have recently lost the ability to open IDLE for python 2.6.2.
I was able to open it for 2.5 without issue. I reinstalled 2.6.2 several times,
removed 2.5, tried 2.6.5 instead, still cannot load IDLE. I can load the python
command
James Morgan added the comment:
Thanks for the reply.
I have used idle before on this system without issue, and since 2.5 worked I
figured there was some difference between 2.5 and 2.6 which was causing the
issue.
I have found since that the issue is likely not with idle at all however, but
James Morgan added the comment:
Sorry, I guess I misunderstood the function as I saw some issues which appeared
similar in style to my own.
Never mind this then I will seek help elsewhere. Thankyou.
--
___
Python tracker
<http://bugs.python.
Changes by James Morgan :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue8723>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by James Teh :
--
nosy: +jteh
___
Python tracker
<http://bugs.python.org/issue8959>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from James Lee :
http://svn.python.org/view/python/branches/py3k/Lib/sndhdr.py?r1=56957&r2=56987
seems to have broken sndhdr as it incorrectly detects files as voc (all that
time ago and nobody has noticed...):
[j...@miku]~$ xxd test.wav | head -n 1
000: 5249 4646 2478
James Lee added the comment:
Thanks for the update... The link was actually just a "diff to previous" of the
changelist that caused the problem (r56987), sorry for the confusion. :)
Attached is a quick and dirty unittest complete with some test files. It only
tests the format o
New submission from James Tatum :
ConfigParser defines a number of exception classes which all ultimately derive
from ConfigParser.Error. ConfigParser.Error, however, only derives from
Exception. These should all derive from StandardError.
--
components: Library (Lib)
files
Changes by James Tatum :
Removed file: http://bugs.python.org/file18237/ConfigParser.StandardError.patch
___
Python tracker
<http://bugs.python.org/issue9406>
___
___
Changes by James Tatum :
Added file: http://bugs.python.org/file18238/ConfigParser.StandardError.patch
___
Python tracker
<http://bugs.python.org/issue9406>
___
___
Pytho
Changes by James Tatum :
Removed file: http://bugs.python.org/file18238/ConfigParser.StandardError.patch
___
Python tracker
<http://bugs.python.org/issue9406>
___
___
Changes by James Tatum :
Added file: http://bugs.python.org/file18239/ConfigParser.StandardError.patch
___
Python tracker
<http://bugs.python.org/issue9406>
___
___
Pytho
James Lee added the comment:
Right now if you have any moderately complex Python based application (or
extension set) the only way to easily debug it on windows is by building Python
yourself, which is a horrible solution since it means you may end up with a
subtly different version to what
James Lee added the comment:
Ah, sorry, I see what you mean now... I thought the request for patch was to
modify the installer itself, but it meant just make the msi.py script generate
a separate zip file alongside the .msi installer.
I'll take a look at providing a patch with this ove
James Lee added the comment:
Attached is a simple patch against msi.py from the py3k branch. It generates a
.zip file containing all the PDB files (minus a select few) in the PCbuild
directory. I imagine most people only want python31.pdb, but it is very
frustrating when you have a crash
James Matthews added the comment:
This is marked as fixed but am still seeing this error in 2.7.12 on HP-UX 11.31.
/opt/hp-gcc64-4.7.1/bin/gcc -pthread -shared
build/temp.hp-ux-B.11.31-9000-800-2.7/root/build/Python-2.7.12/Modules/_ssl.o
-L/usr/local/lib -lssl -lcrypto -o build/lib.hp-ux-B
New submission from James Matthews:
Cannot build Python 2.7.12 on HP-UX due to the following error:
/opt/hp-gcc64-4.7.1/bin/gcc -pthread -shared
build/temp.hp-ux-B.11.31-9000-800-2.7/root/build/Python-2.7.12/Modules/_ssl.o
-L/usr/local/lib -lssl -lcrypto -o build/lib.hp-ux-B.11.31-9000-800
New submission from James Crowther:
Currently I can't use socket to resolve host names to IP addresses. This is
something critical to mine as well as other applications that run over
networks.
When I attempt to do the following:
import socket
socket.getaddrinfo(hostname, None
James Crowther added the comment:
Hi Ned,
Doesn’t seem to matter, I can try my local host name given by;
socket.gethostname()
or I can try another host on the network, same result.
If I do the exact same operation using the same python version on windows or
linux, then I get the
James Crowther added the comment:
Hi Ned,
Currently running 10.12.3. and output is as follows
Jamess-MacBook-pro:crowdrender_repository jamesmac$ python3.5
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 26 2016, 10:47:25)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "
James Crowther added the comment:
Hi Ned,
Thats ok, thanks! I’m going to try it on another machine, its really
strange, I’m wondering what I might have done on my mac to cause it to flake
out like this. Will do some more testing with other macs running 10.12 and see
if they have the
James Schneider added the comment:
I'd like to ask for a status on getting this merged?
As a network administrator, these changes would have a magical effect on my
code dealing with routing tables and ACL's.
--
nosy: +James Schneider
New submission from James Lu:
The heapq library uses a list or other mutable sequence time to represent a
heap. Since Python is a highly OOP language, why not make heaps their own data
type?
--
components: Library (Lib)
messages: 268159
nosy: James.Lu
priority: normal
severity: normal
James Lu added the comment:
Even a wrapper class would be helpful, it's simply more pythonic.
On Fri, Jun 10, 2016 at 6:02 PM, Raymond Hettinger
wrote:
>
> Raymond Hettinger added the comment:
>
> The main reason is that there would be very little benefit. Lists are a
>
New submission from James Lu:
Both max heaps and min heaps have uses in algorithms. Some algorithms require
both. Why doesn't the heapq library support max heaps (not including the
private _heapify_max() method)?
--
components: Library (Lib)
messages: 268211
nosy: James.Lu
pri
James Lu added the comment:
It's not a very pythoniic way to simply negate the value. Plus, the
majority of heap users want performance (heap was made for speed), so a C
version would be much better.
On Sat, Jun 11, 2016 at 4:39 PM, Raymond Hettinger
wrote:
>
> Raymond Hettinge
New submission from James Paget:
On Windows 10 Professional 64-bit, typing "pip list --outdated" or "python -m
pip install -U pip" at the Windows command prompt causes Python 2.7.12rc1 to
crash. I get the standard "python.exe has stopped working" crash not
James Paget added the comment:
I have submitted this to pip as you have suggested (see pip Issue #3795), but
feel that Python.exe should not crash even if there is a problem with a
third-party package.
--
___
Python tracker
<http://bugs.python.
James Paget added the comment:
Python Packaging Authority member pfmoore from pypa/pip says "there's no
ctypes-based code that could be causing the error" and "Python appears to be
crashing as a result of pure Python code" and "there's no way that I can see
James Paget added the comment:
The 2.7.12rc1+ build resolves the issue for me.
--
___
Python tracker
<http://bugs.python.org/issue27305>
___
___
Python-bugs-list m
New submission from James Lu:
This would be useful for libraries like tqdm (progress bar module).
--
components: Interpreter Core
messages: 270581
nosy: James.Lu
priority: normal
severity: normal
status: open
title: Dictionary iterator has no len()
type: enhancement
versions: Python 3.6
James Lu added the comment:
same for itertools iterators - libraries such as tqdm would benefit from
this
On Sat, Jul 16, 2016 at 3:08 PM, James Lu wrote:
>
> New submission from James Lu:
>
> This would be useful for libraries like tqdm (progress bar module).
>
> -
James Lu added the comment:
I think you closed it too quickly. You see, computing the length of
combinations() doesn't require looping all the way through the iterator;
you can compute it quickly. I created a wrapper class just for this purpose.
On Sat, Jul 16, 2016 at 5:24 PM, R. David M
New submission from James Domingo:
The platform.release() function in Python 3.5.1 returns the correct value on
Windows 2008 Server R2:
C:\Users\jdoe\Documents\Python>python-3.5.1-embed-amd64\python.exe
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit
(AM
New submission from James Kesser:
I believe I have come across a bug with RotatingFileHandler in
logging/handlers.py
The attached script shows that when you are logging using RotatingFileHandler
pointed at the same file from multiple logger instances, it works at first
showing logging events
James Kesser added the comment:
My approach was just as outlined in the first few paragraphs here, just naming
loggers for each module using __name__:
http://docs.python.org/2/howto/logging.html#logging-advanced-tutorial
If this is not recommended the documentation should be updated to
James Kesser added the comment:
Thanks for quick response!
--
___
Python tracker
<http://bugs.python.org/issue17407>
___
___
Python-bugs-list mailing list
Unsub
New submission from David James:
Lib/argparse.py [1] doesn't mention a license in it. Could you please add a
license to it?
According to the argparse project [2], argparse is licensed under the Python
license. Chromium OS uses argparse. If you would add information about the
licen
James Pye added the comment:
Considering the API changes necessary for adding qualname, perhaps a better
solution would be to just start using the qualname instead of the function's
"basename"--co_name is the qualname. This would offer an automatic improvement
to the readabil
James Pye added the comment:
Thinking about this again.. perhaps a better approach would be to force the
embedder to define the symbol in their binary.
That is, libpython.x doesn't define Py_FatalError. The binary that links in
libpython defines it.
(and a "me too" on Jona
James O'Cull added the comment:
We have more information on this bug here. It's SSL v2 related when pushing to
IIS.
http://stackoverflow.com/a/16486104/97964
Here's a paste from the StackOverflow answer:
I found a few ways of dealing with this issue:
To fix t
James O'Cull added the comment:
I appreciate the response all the same. Thanks for taking the time to look at
it, Antoine.
--
___
Python tracker
<http://bugs.python.org/is
James Saryerwinnie added the comment:
I confirmed the issue in tip. One of the issues with the original patch is
that it modifies the tokeneater method used by getblock which won't work
if the first token is any of the special cased tokens in the original patch
('@', 'd
Changes by James Socol :
--
nosy: +jamessocol
___
Python tracker
<http://bugs.python.org/issue9883>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from James Goodwin:
The IMAP4 Example for Python 3.4 (Section 21.15.2) does not show the
appropriate host information for the example to work.
Suggested fix would be to change the line "M = imaplib.IMAP4()" to "M =
imaplib.IMAP4('localhost')"
James Goodwin added the comment:
I do see that. I agree that this is a duplicate of that one.
--
___
Python tracker
<http://bugs.python.org/issue22658>
___
___
James Burke added the comment:
I'm also getting this error.
It appears to me to be caused by the length of the module name rather than case.
mp_bug.py will run fine for me, but if I change it to mp_bug_longname.py then I
will get this error.
import multiprocessing
import time
class M
New submission from James Wahlman:
The app is not code signed properly so when using Python 2.7.9 on OS X 10.10 or
any version or OS X I imagine when a user enables the built in OS X firewall
and runs Python it complains about allowing the app thru the firewall. The only
way to fix since it
New submission from James Wahlman:
The app is not code signed properly so when using Python 2.7.9 on OS X 10.10 or
any version of OS X I imagine when a user enables the built in OS X firewall
and runs Python it complains about allowing the app thru the firewall. The only
way to fix since it
Changes by James Teh :
--
nosy: +jteh
___
Python tracker
<http://bugs.python.org/issue20916>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
James Luscher added the comment:
Eric,
I am not familiar with the 'g' format and did not know it was the default, but
the documentation, read fully, is correct. It just took the response of
Christopher Welborn to "wake me up" (it was a LONG day and I was "strug
New submission from James Salter:
For python 3.5, PC/pyconfig.h contains the following for vs2015 support:
/* VS 2015 defines these names with a leading underscore */
#if _MSC_VER >= 1900
#define timezone _timezone
#define daylight _daylight
#define tzname _tzname
#endif
This breaks any pyt
New submission from James Salter:
Encountered trying to build numpy with python 3.5b3, visual studio 2015.
>From distutils/_msvccompiler.py:MSVCCompiler.link:
if self._need_link(objects, output_filename):
ldflags = (self.ldflags_shared_debug if de
James Salter added the comment:
This also affects py2exe, which dynamically generates stub .pyc loaders inside
a ZIP which then load .pyd modules outside the ZIP with the same name.
Windows 8, x64, visual studio 2015 enterprise.
It is simple enough to work around by doing a del sys.modules
New submission from James Paget:
This applies to Python 3.5.1rc1 only. The Windows 64-bit standalone installer
installs setuptools 18.2, but the latest version is 18.5. It should be noted
that the Python 2.7.11rc1 Windows 64-bit standalone installer installs
setuptools 18.5. Other Python
New submission from James Hennessy:
The tempfile.SpooledTemporaryFile class doesn't correctly preserve data for
text (non-binary) SpooledTemporaryFile objects when Unicode characters are
written. The attached program demonstrates the failure. It creates a
SpooledTemporaryFile object, w
New submission from James Tatum:
In https://github.com/python/typeshed/issues/180, we discussed a slight
ambiguity with PEP 484's mention of forward references. It wasn't entirely
clear that they don't apply unless using function annotations. This patch
attempts to clear u
Changes by James Tatum :
Removed file: http://bugs.python.org/file42785/forward_references.patch
___
Python tracker
<http://bugs.python.org/issue26982>
___
___
Python-bug
Changes by James Tatum :
Added file: http://bugs.python.org/file42786/forward_references.patch
___
Python tracker
<http://bugs.python.org/issue26982>
___
___
Python-bug
Changes by James Tatum :
Added file: http://bugs.python.org/file42787/forward_references.patch
___
Python tracker
<http://bugs.python.org/issue26982>
___
___
Python-bug
Changes by James Tatum :
Removed file: http://bugs.python.org/file42786/forward_references.patch
___
Python tracker
<http://bugs.python.org/issue26982>
___
___
Python-bug
James Tatum added the comment:
FYI, NamedTemporaryFile doesn't work well with Windows. There are a handful of
issues about it.
--
nosy: +James.Tatum
___
Python tracker
<http://bugs.python.org/is
James Rutherford added the comment:
The fix for this still doesn't set Content-Length to zero when body is None,
but I don't see any reason why this should be the case. For example, the
following snippet would work for any 'empty' body:
if 'content-length'
James Rutherford added the comment:
Thanks for setting up the new issue, I'll cook up a patch. I'm assuming this
affects all Python 3.X versions but I've specifically encountered it on Python
2.7.
--
nosy: +jimr
versions: +Python 2.7, Python 3.2, Python
James Rutherford added the comment:
OK, thanks.
--
versions: -Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue23539>
___
___
Python-bug
James Rutherford added the comment:
OK, I've got a patch but it's failing on 'test_send_file'[1], which is sending
a body on a GET request. According to the IETF memo[2]:
Bodies on GET requests have no defined semantics. Note that sending
a body on a GET requ
James Rutherford added the comment:
Patch attached for the 2.7 branch, including updated tests. All tests pass. Let
me know if this looks like a sensible approach and I'll produce something
comparable for 3.X.
The logic now is as it was before, except that we set a content length of zer
James Rutherford added the comment:
The first patch should actually be modified so the condition reads (update
attached):
if body is None and method_expects_body:
thelen = 0
elif body is not None:
...
Demian, I believe this is equivalent to your 'expectin
James Rutherford added the comment:
Happy to remove OPTIONS from the list of methods that gets a content-length
where body is None, but do we also want to consider behaviour if it's the empty
string? My feeling is that '' implies "present but empty" (so should have
James Rutherford added the comment:
I actually consider this a fix for the fix in 14721, rather than a new feature.
The only new behaviour here is setting content length to be zero if body is
None on PATCH, POST, or PUT. Happy to change the labeling if that's the
consensus but IMO i
James Rutherford added the comment:
>> My feeling is that '' implies "present but empty" (so should have a
>> content-length set to zero), whereas None implies "missing" (so should only
>> have a content-length header set to zero if the method
James Rutherford added the comment:
OK, sounds like we're approaching consensus? And I believe that the patch as-is
captures that consensus, so should I proceed and make another for 3.X for
review?
--
___
Python tracker
<http://bugs.py
James Rutherford added the comment:
Single patch against default makes sense and I'll do that in future.
As for the review comments, I'm happy to go with all of your suggestions but
have offered a tweak to the docstring that you can take or leave at your
James Rutherford added the comment:
Hi all, apologies for the spam, but I just wanted to confirm that no-one is
waiting on anything from me... I'm happy to consolidate the final minor points
& make the patch against python3 if that would simpli
James Rutherford added the comment:
Ok I'll have a go at a consolidated python3 patch tomorrow.
--
___
Python tracker
<http://bugs.python.org/issue23539>
___
___
James Rutherford added the comment:
Python 3 patch attached. The documentation has changed structure a little so
I've adapted (simplified) this from the original. Otherwise, it's pretty much
the same, except with python3 fixes, and incorporated feedback. I'll upload an
updat
James Rutherford added the comment:
Updated 2.7 patch attached.
--
Added file: http://bugs.python.org/file38570/issue23539-py27.patch
___
Python tracker
<http://bugs.python.org/issue23
James Rutherford added the comment:
Updated docs look good to me, thanks!
--
___
Python tracker
<http://bugs.python.org/issue23539>
___
___
Python-bugs-list mailin
New submission from James Tocknell:
ConfigParser(defaults={1:2.4}) and ConfigParser(defaults={"a":5.2}) cause an
exception when configparser tries to perform string operations on 1 and 5.2. I
didn't see it documented that defaults must only contain strings, and using
Config
James Tocknell added the comment:
Here's a patch for 2.7 (based of the head of the 2.7 branch), something similar
could be done for 3.4 (I wasn't sure what branch I was supposed to base the
patch off, since 3.4 is inactive). The string requirement was already noted in
the docstr
New submission from James Edwards:
There's inconsistent leading whitespace between the two classes in the 4th code
snippet of the "Special Method Lookup" section.
https://docs.python.org/3/reference/datamodel.html#special-method-lookup
The (very substantial :) included p
New submission from James Edwards:
I realize this is a huge patch, I'd be happy to split it to multiple little
patches (one per file, one per documentation directory, etc.) to make things
easier. Just let me know.
The patch attempts to do a few things (with exceptions, as noted
Changes by James Edwards :
--
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue23921>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by James Powell :
--
nosy: +james, r.david.murray
___
Python tracker
<http://bugs.python.org/issue10933>
___
___
Python-bugs-list mailing list
Unsub
James Powell added the comment:
We investigated this issue with pdmccormick & r.david.murray.
The behaviour appears to be intentional. If the trace function raises an
Exception, system tracing is disabled entirely.
See attached documentation patch to clarify this.
--
keywords: +p
Changes by James Powell :
--
nosy: +james
___
Python tracker
<http://bugs.python.org/issue17380>
___
___
Python-bugs-list mailing list
Unsubscribe:
James Powell added the comment:
See attached patch to clarify this in the docs.
--
keywords: +patch
Added file: http://bugs.python.org/file38910/issue_17380.patch
___
Python tracker
<http://bugs.python.org/issue17
Changes by James Powell :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue17380>
___
___
Python-bugs-list mailing list
Unsubscribe:
James Powell added the comment:
Discussed with Nick Coghlan.
See attached patch to return `signature(object)` only if both `__new__` and
`__init__` are shared with `object`.
Otherwise, raise TypeError indicating built-in types not supported.
https://docs.python.org/3/library/inspect.html
James Powell added the comment:
See attached patch for unittest.
For 3.4, test that inspect.signature(str) raises TypeError.
For >3.5, this can be improved to use _testcapi.matmulType
--
Added file: http://bugs.python.org/file38949/issue_23934-test.pa
James Edwards added the comment:
Thanks Berker, I responded to most of your comments in rietveld.
A few of your comments suggested "we should get rid of X", and while I can't
say I disagree, I really tried to limit the scope of the changes to whitespace
and formatting.
As fa
James Edwards added the comment:
Thanks for the review Serhiy.
I'll prepare a revised patchset, given the comments from you and Berker and
have it uploaded today.
Thanks again.
--
___
Python tracker
<http://bugs.python.org/is
James Edwards added the comment:
Attaching revised patch per reviews.
Notable changes:
* Reverted howto/curses.rst multiple inline statements -> multi-target
assignment (curses.rst is now unchanged)
* Reverted library/subprocess.rst "==>" to "# ==>" chang
James Edwards added the comment:
What about:
For the list and tuple types, ``x in y`` is true if and only if there exists an
-index *i* such that ``x == y[i]`` is true.
+index *i* such that either ``x == y[i]`` or ``x is y[i]`` is true.
Seems to address your issue, and match the semantics of
James Edwards added the comment:
It seems like this issue has morphed over time.
At the beginning, it looked like you expected perfectly reasonable (but odd)
definitions of __call__ attributes, where the logic inside raised an Exception,
to be somehow determined to be "uncallable&qu
James Edwards added the comment:
If you start the interactive interpreter with the -S switch, e.g.
>python.exe -S
Do you still see this behavior?
--
nosy: +jedwards
___
Python tracker
<http://bugs.python.org/issu
James Edwards added the comment:
It looks like this is a bug in pyreadlines as suggested by eryksun, but for a
different reason.
Even though the Caps Lock + Shift combination is recognized correctly (as lower
case), the logic in the pyreadlines module forces it to upper case.
See lines 44-45
James Edwards added the comment:
Inspect could probably be updated to use 3.3's __qualname__ in the case of
classes-in-classes; classes-in-functions or functions-in-functions would likely
be harder, but I'm not sure it's impossible.
--
Changes by James Edwards :
--
nosy: +pitrou, yselivanov
___
Python tracker
<http://bugs.python.org/issue24078>
___
___
Python-bugs-list mailing list
Unsubscribe:
James Edwards added the comment:
Added Yury (inspect module) and Antoine (PEP 3155) to nosy -- apologies if
you're not interested.
--
___
Python tracker
<http://bugs.python.org/is
401 - 500 of 579 matches
Mail list logo