On 23 August 2015 00:06:44 BST, Chris Angelico ros...@gmail.com wrote:
Precisely. Every time you support multiple versions of some
dependency, you have to test your code on all of them, and in the
common case (new features added in newer versions), you have to target
the oldest and weakest
hi dear friend
I have python version 2.4.3
Which version of PIL is appropriate for me and how can I add it to my systems?
Regards
--
https://mail.python.org/mailman/listinfo/python-list
Gerhard Häring added the comment:
I'm -1 because I believe that ultimately, adapters and converters were a
mistake to add to pysqlite. That's why I deprecated them in pysqlite 2.8.0.
Do you know what would be the correct step to propose a deprecation in the
sqlite3 module of Python proper? Is
On Mon, Aug 24, 2015 at 2:17 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
SQLite3 supports the non-standard
INSERT OR REPLACE ...
(or one can do INSERT OR IGNORE; the OR XXX has a number of values that are
allowed to control behavior... BUT the OR clause only
Mark Roseman added the comment:
I've put together a standalone tabs widget (mostly done) based on Tk canvas
widget, that emulates the behaviour of TextMate's tabs. I was able to modify
Roger's extension to use this widget. See attached screenshot newtabs.png (tabs
area is fully functioning,
Raymond Hettinger added the comment:
Thanks Petr
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24878
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 4432c441b639 by Raymond Hettinger in branch 'default':
Issue #24878: Fix typos and line wrap
https://hg.python.org/cpython/rev/4432c441b639
--
___
Python tracker rep...@bugs.python.org
On 08/23/2015 08:05 AM, Johannes Bauer wrote:
By git bisect he can find out where
he introduced the bug.
Like Cecil said, this is of little help. There was no code changed from
when he didn't notice the behavior until he did.
Note that this says nothing about the location of the bug, in can
Brett Cannon added the comment:
Here is a patch that adds the C version of the frame skipping. Unfortunately it
fails under test_threading, test_subprocess, test_multiprocessing_spawn. It's
due to is_internal_frame() somehow although setting a breakpoint in gdb in that
function never
Brett Cannon added the comment:
I did an initial code review on the 3.6 patch.
What would it take to add clang support for PGO? Is it simply using different
flags that configure can set in the generated Makefile? Or is it more involved
and would require maintaining two separate compile lines
Ilya Kulakov added the comment:
Steve,
What's going to be the required msvc compiler for 3.5 on Windows?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17797
___
On 23Aug2015 09:28, Laura Creighton l...@openend.se wrote:
In a message of Sat, 22 Aug 2015 06:53:21 -, ali ranjbar writes:
I have python version 2.4.3
Which version of PIL is appropriate for me and how can I add it to my systems?
If you really have python 2.4.3 then you badly need a
On Sunday 23 Aug 2015 16:05 CEST, Johannes Bauer wrote:
On 22.08.2015 16:15, Christian Gollwitzer wrote:
Probably yes. You should take a look at the OP again and compare
the time stamps. It says that in between two consecutive calls of
the same program, the request was served once in a
Gerhard Häring added the comment:
I propose to also set the SQLite extended error code if this is implemented.
What's the reasoning behind offering a error code to name mapping? This seem
problematic to me. In case a newer SQLite version introduces a new error code,
this error code cannot be
On Sunday 23 Aug 2015 17:44 CEST, MRAB wrote:
I never blamed bottle, I was asking if it could be a problem with
bottle.
The subject says otherwise. :-)
Yeah, my communication skills can take some improvement. I meant: I
have this problem. I think it could have to do something with bottle.
Alecsandru Patrascu added the comment:
I received the review and will post new patch versions as soon as I update
them.
Regarding PGO on clang, I will need a bit more time to edit the Makefile and
will post it just for clang, to be easier for us to see the differences.
--
On 2015-08-23 16:20, Cecil Westerhof wrote:
On Sunday 23 Aug 2015 16:05 CEST, Johannes Bauer wrote:
On 22.08.2015 16:15, Christian Gollwitzer wrote:
Probably yes. You should take a look at the OP again and compare
the time stamps. It says that in between two consecutive calls of
the same
In a message of Sat, 22 Aug 2015 06:53:21 -, ali ranjbar writes:
hi dear friend
I have python version 2.4.3
Which version of PIL is appropriate for me and how can I add it to my systems?
Regards
--
https://mail.python.org/mailman/listinfo/python-list
If you really have python 2.4.3 then
Alexey Gorshkov added the comment:
I don't understand: Why python-config needs to seek realpath? Why
python-config is trying to be smarter than one who starts ./configure script?
As so, the right thing to this, is remove smart parts from python-config. But
as for fast hack in to this is
On Sunday 23 Aug 2015 03:05 CEST, Chris Angelico wrote:
But in principal I have found the problem. (Not the reason.) The
problem is Firefox. (So it is not bottle and also not AngularJS.)
When using Chrome there is no problem. Not even when I do 15 times
a refresh. With Firefox there is this
I want to host my web application on pythonanywhere so that the people
of Mozilla can investigate the problem it has with this application. I
do not find documentation that is useful for me. Has anyone a good
resource?
The application I want to deploy on pythonanywhere:
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com:
Removed file: http://bugs.python.org/file40226/python2.7-3.6-pgo.zip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24915
___
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com:
--
keywords: +patch
Added file: http://bugs.python.org/file40231/python2.7-pgo.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24915
Changes by Alecsandru Patrascu alecsandru.patra...@intel.com:
Added file: http://bugs.python.org/file40232/python3.6-pgo.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24915
___
Paddy McCarthy added the comment:
OK, here's a suggested re-wording:
Python is an interpreted, interactive, object-oriented programming language
that also supports programming in procedural and functional styles. It
incorporates modules, exceptions, dynamic typing, very high level dynamic
On Sun, Aug 23, 2015 at 11:18 PM, Cecil Westerhof ce...@decebal.nl wrote:
Also an URL is unique, so I need to check that if it is found, the
values are the same as the ones I wanted to insert.
And if they aren't? Currently, all you do is print out a message and
continue on; what happens if you
Alecsandru Patrascu added the comment:
The patches are tested on Linux machines, with GNU GCC 4.8.3. From your output
I see that you are using the CLANG compiler. CLANG uses a different set of
flags for PGO that are not compatible with GCC's, therefore the compilation
will fail. Can you
On Sun, 23 Aug 2015 04:10 pm, Yuzhi Xu wrote:
I find out that python's VM seems to be very unfriendly with CPU-Cache.
Possibly. More comments below.
for example:
***
import time
a = range(500)
sum(a)
for i in range(100): #just to create a
Alecsandru Patrascu added the comment:
I added the patches as individual files and removed the zip file.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24915
___
On 22.08.2015 16:15, Christian Gollwitzer wrote:
Probably yes. You should take a look at the OP again and compare the
time stamps. It says that in between two consecutive calls of the same
program, the request was served once in a second, and once with serious
delays. Despite that the server
Mark Lawrence breamore...@yahoo.co.uk writes:
I was always led to believe that the subject was a difficult thing to
do, but here
https://www.reddit.com/r/learnpython/comments/3huz4x/how_to_do_math_inside_raw_input/
is a safe solution in only 23 characters, or are there any discernable
flaws
Jason R. Coombs added the comment:
I'm not upset by the idea of monkey patching in Setuptools for vetting certain
techniques. I've even considered having Setuptools adopt distutils entirely.
Today I filed https://bitbucket.org/pypa/setuptools/issues/417/adopt-distutils
to seed the discussion
Hi,
for i in range(100): #just to create a time interval, seems this disturb
cpu cache?
pass
Python interpreter consumes memory quite extensively because
everything is object. So constructions like:
range(100):
_take_ memory. Additionally it will trigger garbage collecting
Skip Montanaro added the comment:
Is this supposed to work on Macs using Apple's version of gcc? I've got the
latest version of Yosemite and XCode, and am getting these warnings when trying
to build 2.7:
clang: warning: argument unused during compilation: '-fprofile-generate'
Should this be
Skip Montanaro added the comment:
It is executed using the gcc command:
% gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fprofile-generate -I. -IInclude -I./Include
-DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c
clang: warning: argument
Steve Dower added the comment:
I notice you say adopt rather than vendor - effectively removing distutils
from the stdlib?
It could work, but to really be able to move distutils forward we need some
sort of side-by-side versioning, such that a package can declare which version
of distutils
I find out that python's VM seems to be very unfriendly with CPU-Cache.
see:
http://stackoverflow.com/questions/32163585/how-to-handle-cpu-cache-in-python-or-fastest-way-to-call-a-function-once
Yuzhi Xu schrieb am 23.08.2015 um 08:10:
I find out that python's VM seems to be very unfriendly with CPU-Cache.
see:
http://stackoverflow.com/questions/32163585/how-to-handle-cpu-cache-in-python-or-fastest-way-to-call-a-function-once
On Sun, 23 Aug 2015 10:07 pm, Vladimir Ignatov wrote:
Hi,
for i in range(100): #just to create a time interval, seems this
disturb cpu cache?
pass
Python interpreter consumes memory quite extensively because
everything is object. So constructions like:
range(100):
I understood that with sqlite3 in Python you can not use prepared
statements. Below the way I solved this.
Also an URL is unique, so I need to check that if it is found, the
values are the same as the ones I wanted to insert.
This is my code.
Mark Shannon added the comment:
If there is another issue for this, then it doesn't seem to be a release
blocker. I think it should be.
--
nosy: +Mark.Shannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24912
On 23.08.2015 18:47, Michael Torrie wrote:
Since this is an ajax thing, I can entirely
understand that Firefox introduces random delays. Practically all
ajax-heavy sites I've ever used has had random slowdowns in Firefox.
This would imply that random six-second delays have somehow passed the
R. David Murray added the comment:
How to do it is part of PEP 101 (https://www.python.org/dev/peps/pep-0101/).
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20851
Robert Collins added the comment:
say, something to run a test until failure, or to
watch for reference leaks, or to run tests in multiple processes :-))
I think a few complimentary things.
unittest extensability currently requires a new CLI entry point for each thing.
I'd like to fix that.
On Saturday, May 2, 2015 at 8:50:22 PM UTC+1, lbertolotti wrote:
Can I:
1.Enable a variable browser in Canopy editor similar to the Spyder editor?
2.Writing a function say log( gives me the function help, but I can't read
the whole documentation
3.Eclipse had a auto-complete, can I enable
Robert Collins added the comment:
Thanks for the patch!
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22812
___
Roundup Robot added the comment:
New changeset e285606efb82 by Robert Collins in branch '3.4':
Issue #22812: Fix unittest discovery examples.
https://hg.python.org/cpython/rev/e285606efb82
New changeset 875a851b9d5a by Robert Collins in branch '3.5':
Issue #22812: Fix unittest discovery
New submission from Jan Studený:
According to POSIX specification the pathname of user shell is stored in SHELL
(environmental variable, see
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08)
so I think that is good idea to use that pathname instead of hardcoded
Anyone?
--
https://mail.python.org/mailman/listinfo/python-list
Johannes Bauer dfnsonfsdu...@gmx.de writes:
You're entirely right that this kind of personal feud and immature
mockery is inappropriate for a mailing list and you're also right that
it does create a toxic atmosphere. Since Python is the lanauge I'm
most passionate about a detrimental effect
On Mon, Aug 24, 2015 at 8:09 AM, lbertolotti via Python-list
python-list@python.org wrote:
Anyone?
When you post a follow-up like this, it helps to provide some context.
Fortunately for you, I have a threaded email client, but not everyone
does - and not everyone was subscribed to the list when
Robert Collins added the comment:
Ok, so this is still in the noise space - it might be useful, it might not. Do
we have reports of machines failing to run the test suite (that are also
usefully big enough to compile Python and use it)?
--
___
eryksun added the comment:
The 3.5 build uses MSVC 14 (VS 2015):
https://docs.python.org/3.5/using/windows.html#compiling-python-on-windows
https://hg.python.org/cpython/file/3.5/PCbuild/readme.txt
--
nosy: +eryksun
___
Python tracker
Robert Collins added the comment:
Parameters please, TestCase has nothing to do with this - it really shouldn't
even have the method.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24193
Changes by Robert Collins robe...@robertcollins.net:
--
versions: +Python 3.5, Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24168
___
Carol Willing added the comment:
The highlighting of code box extends beyond the bounds of the box to the far
right of the page. A screenshot is attached as an example. The behavior occurs
on all versions (3.2+, 2.7.x) except 2.6.
Thanks for reporting this issue.
--
nosy: +willingc
Robert Collins added the comment:
Possibly silly q: how does one /make/ a Python release tarball? 'make dist'
which is the autoconf standard complains that it has no such target...
--
nosy: +rbcollins
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Thanks for the suggestion, but that would make programs using subprocess
non-portable. There is an open issue to use the *default* shell instead of
hard coding it (because the sh-alike is not at /bin/sh on, eg, Android), but
using the user shell would break
Robert Collins added the comment:
Applied to 3.6 only (since I don't want to disrupt the 3.5 release train, and
think that making packagers adjust on a point release would be mean).
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
Caio Ariede added the comment:
I tried to reproduce it using Python 3.4.3 and 3.4.2. No luck.
--
nosy: +Caio Ariede
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19469
Roundup Robot added the comment:
New changeset 3256764fadae by Robert Collins in branch '2.7':
Issue #22812: Fix unittest discovery examples.
https://hg.python.org/cpython/rev/3256764fadae
--
nosy: +python-dev
___
Python tracker
Changes by Robert Collins robe...@robertcollins.net:
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2786
___
New submission from asldkjfn:
Green bars cover yellow text box.
https://docs.python.org/2/faq/windows.html
--
assignee: docs@python
components: Documentation
messages: 249018
nosy: docs@python, reag
priority: normal
severity: normal
status: open
title: Docs layout bug
versions: Python
If I understand correctly asyncio, coroutines, etc. (and, of course,
Threads) are not simultaneously executed, and that if one wants that one
must still use multiprocessing. But I'm not sure. The note is still
there at the start of threading, so I'm pretty sure about that one.
The
Larry Hastings added the comment:
To make the tarballs, I use the release.py script from here:
https://hg.python.org/release
and run release.py --export versionnumber. I haven't peeked inside the
black box to see how the sausage is made.
--
___
Charles Hixson charleshi...@earthlink.net writes:
If I understand correctly asyncio, coroutines, etc. (and, of course,
Threads) are not simultaneously executed, and that if one wants that
one must still use multiprocessing. But I'm not sure. The note is
still there at the start of
Robert Collins added the comment:
Personally I'm very skeptical of all the multi-test setup facilties because of
the very poor interactions with parallel testing that this basic approach has.
But - we haven't yet brought in something sensible to let us deprecate
setUpModule and setUpClass, so
eryksun added the comment:
FYI, the size of the terminal associated with the C's stdout isn't related to
the IDLE shell. For example, in Linux when I run IDLE from the GUI, the
associated terminal size is 0x0.
On Windows, os.get_terminal_size uses the console API
GetConsoleScreenBufferInfo.
New submission from Isaac Levy:
OS: windows 7, python 3.4.3, tk version 8.6.1
os.get_terminal_size also fails.
shutil.get_terminal_size()
Traceback (most recent call last):
File pyshell#4, line 1, in module
shutil.get_terminal_size()
File C:\Python34\lib\shutil.py, line 1058, in
C.D. Reimer ch...@cdreimer.com writes:
I'm writing a chess engine to learn about Python classes and inheritance, and
using pytest for the unit test. I've created a Piece class, which has 99% of
the functionality for a chess piece, and subclass the other pieces -- Bishop,
King, Knight,
70 matches
Mail list logo