Changes by Ned Deily n...@acm.org:
--
nosy: +David.Edelsohn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23457
___
___
Python-bugs-list mailing
Tim Smith added the comment:
On Darwin, it would be nice if LINKFORMODULE used -undefined dynamic_lookup
instead of explicitly linking to a framework binary. Modules with explicit
links to a framework cause segfaults when they are imported from a different,
but compatible, framework
Demian Brecht added the comment:
Thanks for the clarification Martin. After giving this some further thought, I
think that the best way to go is to /only/ calculate and add the Content-Length
header if each element in the list or tuple is pre-encoded. If it's mixed or
only strings, then there
On 2/12/2015 7:26 AM, ast wrote:
Hello
Here is how text appears in IDLE window
http://www.cjoint.com/data/0BmnEIcxVAx.htm
Do you get anything similar when running the console interpreter?
Yesterday evening I had not this trouble. It appears
this morning. I restarted my computer with no
Nick Coghlan added the comment:
3.2 is in security-fix only mode, so nothing's going to change there.
For 3.3+, the per-module import lock design means the issue doesn't happen.
However, I wonder if there may be some now dead code relating to the global
import lock that could be deleted.
Martin Panter added the comment:
The length of an encoded Latin-1 string should equal the length of the
unencoded text string, since it is a one-to-one character-to-byte encoding. So
encoding should not actually be needed to determine the Latin-1 encoded length.
Though I’m not particularly
Ned Deily added the comment:
Since there has been no followup to this issue, I'm going to close it. Feel
free to reopen if you can document a reproducible problem with a Python source
release.
--
resolution: - works for me
stage: - resolved
status: open - closed
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23383
___
Steve Dower added the comment:
Wow, I didn't expect that so quickly :)
I'll check these out as soon as I can, but they look okay from a quick glance
on my phone.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23450
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +rhettinger
title: super behavioru and abstract base classes (either implementation or
documentation/error message is wrong) - super behaviour and abstract base
classes (either implementation or documentation/error message is
Zachary Ware added the comment:
The patch is way out of date, pgen.vcxproj needs to be updated to match the
rest of our projects.
If nobody else takes this over (and it is low priority for a reason!), I'll get
back to it eventually.
--
nosy: +steve.dower
Steve Dower added the comment:
It may be useful if you want an error rather than the 32-bit version, though
there are other ways to check that if it's critical and it probably is better
in the script.
Patches welcome :)
--
___
Python tracker
Mark Lawrence added the comment:
With #20079 closed but #20087 still open where do we stand with this issue?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20088
New submission from Ulrich Dorsch:
TypeError: startswith first arg must be str or a tuple of str, not bytes
In line 558 of plistlib.py at the beginnging of def _is_fmt_xml(header) is
the problem, caused by the use of the byte arguments defined in line 555
(prefixes = (b'?xml', b'plist')).
Mark Lawrence added the comment:
I'm not certain exactly what is being asked for here so could the originator
please clarify their needs? I also don't really know who owns this hence the
changes to the nosy list.
--
components: +Windows
nosy: +BreamoreBoy, dstufft, steve.dower,
Fabien fabien.mauss...@gmail.com:
But this was exactly my point! Today in 2015 it's incredibly easy to
write py2/py3 code for a scientist. The whole SciPy track has done the
transition. Not an issue anymore either, for me at least (python
youngster ;-)
I write both Py2 and Py3 code, but I
Pod added the comment:
Not the OP, but I find this message a bug because it's confusing from the
perspective of a user of the tokenize() function. If you give tokenize a
readlines() that returns a str, you get this error message that confusingly
states that something inside tokenize must be a
Steve Dower added the comment:
_Py_verifyfd has to go away, unfortunately. It requires inside knowledge of the
exact CRT version, and with VC14 the CRT will automatically upgrade so that
we're always using the latest.
I've gotten a function added to the CRT to make it unnecessary for release
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23146
___
___
Python-bugs-list mailing list
Mark Lawrence added the comment:
Have there been any recent reports of this test failing on these platforms?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21874
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17306
___
___
Stefan Krah added the comment:
Yes, but these (degenerate) arrays tend to arise only as a result of slicing.
Last time I looked NumPy had MAX_NDIM=32, so we should be fine.
--
___
Python tracker rep...@bugs.python.org
Hi Python Users,
Good day!
I am currently using ENVI for my image processing/remote sensing work, but
would love to divert into open source python programming for remote
sensing. Can you give me some good sites where I can see practical examples
of how python is used for remote sensing specially
Serhiy Storchaka added the comment:
The patch LGTM. But native speaker should check documentation part.
--
title: Behavior of ZipFile with file-like object and BufferedWriter. -
Document that binary IO classes work with bytes-likes objects
___
Serhiy Storchaka added the comment:
signal_cast_socket_t.patch LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23450
___
___
On 2015-02-12 12:34, charles.sart...@gmail.com wrote:
Hello there!
I`m trying to group by a list of Row() objects in 12days interval and sum().
values. Here is an example of the list
[Row(time=datetime.datetime(2013, 1, 1, 0, 0), sum=4676557380615),
Row(time=datetime.datetime(2013, 1, 2, 0,
Hello
Here is how text appears in IDLE window
http://www.cjoint.com/data/0BmnEIcxVAx.htm
Yesterday evening I had not this trouble. It appears
this morning. I restarted my computer with no effect.
A windows Vista update has been done this morning,
with about 10 fixes. I suspect something gone
On Thu, 12 Feb 2015 04:34:03 -0800, charles.sartori wrote:
Hello there!
I`m trying to group by a list of Row() objects in 12days interval and
sum(). values. Here is an example of the list
[Row(time=datetime.datetime(2013, 1, 1, 0, 0), sum=4676557380615),
Row(time=datetime.datetime(2013,
charles.sart...@gmail.com wrote:
Hello there!
I`m trying to group by a list of Row() objects in 12days interval and
sum(). values. Here is an example of the list
[Row(time=datetime.datetime(2013, 1, 1, 0, 0), sum=4676557380615),
[Row(time=datetime.datetime(2013, 1, 2, 0, 0),
Mark Lawrence added the comment:
Would you guys please review the patch as it's Double Dutch to me.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21107
___
Hello there!
I`m trying to group by a list of Row() objects in 12days interval and sum().
values. Here is an example of the list
[Row(time=datetime.datetime(2013, 1, 1, 0, 0), sum=4676557380615),
Row(time=datetime.datetime(2013, 1, 2, 0, 0), sum=6549630855895),
On Wed, Feb 11, 2015 at 8:56 PM, Chris Angelico ros...@gmail.com wrote:
On Thu, Feb 12, 2015 at 1:57 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
The reason I don't like this replacing def isn't because the name is
necessarily lost. It's because the lack of the well-defined def
statement
Steve Dower added the comment:
Do you mean pip.exe? Does running 'python.exe -m pip install ...' work for you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21568
___
eryksun added the comment:
For 3.5 this affects Windows as well, since the new CRT supports RFC1766
language codes, but only without a codepage spec:
Python 3.5.0a1 (v3.5.0a1:5d4b6a57d5fd, Feb 7 2015, 18:15:14)
[MSC v.1900 64 bit (AMD64)] on win32
Type help, copyright, credits or
Roundup Robot added the comment:
New changeset 9e10c4255277 by Victor Stinner in branch 'default':
Issue #23450: Fix signal.set_wakeup_fd() on Windows
https://hg.python.org/cpython/rev/9e10c4255277
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
Updated patch. Thanks for the review Serhiy.
--
Added file: http://bugs.python.org/file38110/scandir-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22524
Brett Cannon added the comment:
If you put a print call after your `from . import *` call you will notice it
never gets executed. Basically import is still in the middle of finishing
imports when that import * is reached, including setting the module attributes
on the package. Basically you
Thank you Peter, I was doing wrong at get_key function...
Thnak you so much!
--
https://mail.python.org/mailman/listinfo/python-list
Brett Cannon added the comment:
I'm adding Nick to see if he has anything to add since he was the one that
worked on the change that Richard said caused the problem. But in my opinion
this is in the same realm as importing as a side-effect of spawning a thread;
don't do it.
--
nosy:
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file38110/scandir-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22524
___
STINNER Victor added the comment:
(I regenerated scandir-4.patch, I had a local private changeset. I removed it.)
--
Added file: http://bugs.python.org/file38111/scandir-4.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
All correct. plistlib.load() requires binary file object as documented [1].
[1] https://docs.python.org/3/library/plistlib.html#plistlib.load
--
nosy: +ronaldoussoren, serhiy.storchaka
resolution: - not a bug
status: open - closed
STINNER Victor added the comment:
An environment variable is an easy way to make sure that all
subprocesses also have assert dialogs disabled. In release builds they
are always disabled, hence the _DEBUG check.
If _PyVerify_fd() must go, I would prefer to always disable CRT check.
Otherwise,
On Fri, Feb 13, 2015 at 3:56 AM, Marko Rauhamaa ma...@pacujo.net wrote:
$ python3
Python 3.4.1 (default, Nov 3 2014, 14:38:10)
[GCC 4.9.1 20140930 (Red Hat 4.9.1-11)] on linux
Type help, copyright, credits or license for more information.
import sys
sys.path = [ '/usr/lib64/python2.7' ] +
On 2015-02-12 17:45, Gisle Vanem wrote:
I tried using Interactive Python with a PyQt4 console:
IPython.exe qtconsole
But got a
ImportError: IPython requires PyQT4 = 4.7, found 4.10.4
Looking at Ipython's check (in
site-packages\IPython\external\qt.py): if QtCore.PYQT_VERSION_STR
I believe this sort of lexicographical comparison wart is one of the
reasons the Python-dev gang decided that there would be no micro versions
9. There are too many similar assumptions about version numbers out in the
real world.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
Antonio Cota added the comment:
I tried the following on python 3.5.0a1:
#init.py
__all__ = ['second', 'first']
print('i\'m starting the directory')
#first.py
print('hi, i\'m the first')
from . import second
#second.py
print('hi, i\'m the second')
from . import first
import a.first
i'm
Steve Dower added the comment:
In that case, this should be reported to the setuptools project, since they are
responsible for creating the pip.exe launcher when pip is installed.
--
___
Python tracker rep...@bugs.python.org
On Fri, Feb 13, 2015 at 1:39 AM, Marko Rauhamaa ma...@pacujo.net wrote:
Fabien fabien.mauss...@gmail.com:
But this was exactly my point! Today in 2015 it's incredibly easy to
write py2/py3 code for a scientist. The whole SciPy track has done the
transition. Not an issue anymore either, for me
Steve Dower added the comment:
To be clearer (while still respecting the confidentiality agreement I'm under),
previously this code would (if _DEBUG) display an assertion dialog and
(regardless of _DEBUG) terminate the process:
close(fd); // succeeds, assuming a good fd
close(fd); //
勇刚 罗 added the comment:
yes python -m pip works for me
but pip.exe doesn't work
2015年2月12日 下午10:55于 Steve Dower rep...@bugs.python.org写道:
Steve Dower added the comment:
Do you mean pip.exe? Does running 'python.exe -m pip install ...' work for
you?
--
Steve Dower added the comment:
EBADF will still be returned; _PyVerify_fd is only there to prevent the
assertion dialogs in debug builds. Release builds will not need _PyVerify_fd at
all (though it's public, so it will remain, but it won't be necessary to
protect calls into the CRT). As I
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10486
___
___
Demian Brecht added the comment:
The attached patch fixes the name
--
keywords: +patch
Added file: http://bugs.python.org/file38112/issue23442.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23442
Hi,
I'd like to query two (or more) RESTful APIs concurrently. What is the pythonic
way of doing so? Is it better to use built in functions or are third-party
packages? Thanks.
Best,
Ari
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Feb 12, 2015 at 9:45 AM, Gisle Vanem gva...@yahoo.no wrote:
I tried using Interactive Python with a PyQt4 console:
IPython.exe qtconsole
But got a
ImportError: IPython requires PyQT4 = 4.7, found 4.10.4
Looking at Ipython's check (in site-packages\IPython\external\qt.py):
if
On Fri, Feb 13, 2015 at 3:45 AM, Gisle Vanem gva...@yahoo.no wrote:
Looking at Ipython's check (in site-packages\IPython\external\qt.py):
if QtCore.PYQT_VERSION_STR '4.7':
raise ImportError(IPython requires PyQt4 = 4.7, found
%s%QtCore.PYQT_VERSION_STR)
So even if '4.10' '4.7', my
Erick Jones added the comment:
This ended up biting me also. I had a list of URLs to fetch with
authentication. One of the URLs was bad (returning 401 even with
authentication), and that was causing all of the subsequent URLs to fail as
well since the reset count wasn't getting reset.
I
I tried using Interactive Python with a PyQt4 console:
IPython.exe qtconsole
But got a
ImportError: IPython requires PyQT4 = 4.7, found 4.10.4
Looking at Ipython's check (in site-packages\IPython\external\qt.py):
if QtCore.PYQT_VERSION_STR '4.7':
raise ImportError(IPython requires
Chris Angelico ros...@gmail.com:
On Fri, Feb 13, 2015 at 1:39 AM, Marko Rauhamaa ma...@pacujo.net wrote:
I write both Py2 and Py3 code, but I keep the two worlds hermetically
separated from each other.
[...]
You don't need to be afraid of the gap.
No problem. When I write Py3, I write
I'm pleased to announce the release of Cython 0.22.
This release has numerous bug fixes and several new features. It is is
available in the usual locations:
http://cython.org/release/Cython-0.22.tar.gz
https://pypi.python.org/pypi/Cython/0.22
Happy Coding!
Robert
Features added
STINNER Victor added the comment:
Patch version 5:
- Use None value for the d_type instead of DT_UNKNOW to *prepare* support for
platforms where the dirent structure has no d_type field. Serhiy guess that
such platform have no DT_xxx constant neither. DirEntry doesn't DT_xxx
constants if
Changes by Antonio Cota antocot...@gmail.com:
--
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23447
___
___
On Fri, Feb 13, 2015 at 4:19 AM, Skip Montanaro
skip.montan...@gmail.com wrote:
I believe this sort of lexicographical comparison wart is one of the reasons
the Python-dev gang decided that there would be no micro versions 9. There
are too many similar assumptions about version numbers out in
On Thu, Feb 12, 2015 at 10:19 AM, Skip Montanaro
skip.montan...@gmail.com wrote:
I believe this sort of lexicographical comparison wart is one of the reasons
the Python-dev gang decided that there would be no micro versions 9. There
are too many similar assumptions about version numbers out in
Tim Chase wrote: So the test should actually be something like
if LooseVersion(QtCore.PYQT_VERSION_STR) LooseVersion(4.10):
balk()
That's exactly what they do now in IPython/utils/version.py with
the comment:
Utilities for version comparison
It is a bit ridiculous that we need
On 2015-02-12 18:37, Gisle Vanem wrote:
Tim Chase wrote: So the test should actually be something like
if LooseVersion(QtCore.PYQT_VERSION_STR)
LooseVersion(4.10): balk()
That's exactly what they do now in IPython/utils/version.py with
the comment:
Utilities for version
101 - 167 of 167 matches
Mail list logo