Eventlet is a concurrent networking library for Python that allows you to
change how you run your code, not how you write it.
http://pypi.python.org/pypi/eventlet/0.15.0
This release features websocket13 support, improved PyPy compatibility and
wheel package. Thanks to all contributors!
Huge
Ask on the goagent googlecode?
exe is fow win, dig out more on the linux version. I bet it should be
delivered with py source in that version.
Regards.
2014-07-03 10:20 GMT+08:00 liuerfire Wang liuerf...@gmail.com:
Hi 水静流深
the source code is on https://github.com/goagent/goagent
Hi Terry,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
On Wed, 02 Jul 2014 23:00:15 +0300, Marko Rauhamaa wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
Rational(2).sqrt() * Rational(2).sqrt() == Rational(2)
False
Square root of 2 is not a rational number.
Nobody said it
On 03/07/2014 02:17, Rita wrote:
On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong irmen.nos...@xs4all.nl
mailto:irmen.nos...@xs4all.nl wrote:
On 2-7-2014 4:04, Rita wrote:
yes, this helps. But I want to know who uses the module, serpent.
So, when
I upgrade it or remove it they
On 03/07/2014 04:54, Peter Romfeld wrote:
Hi,
I am stuck at a simple image upload function, in django i just used:
for feature phones:
file = request.body
iOS with Form:
class ImageForm(forms.Form):
image = forms.FileField()
What is forms? image is defined at the class level, not the
seq = [1,2]
seq.extend((3,4))
OK, this feature is referenced in the Python Library reference here :
https://docs.python.org/3.2/library/stdtypes.html#typesseq-mutable
not thoroughly referenced but, anyway, referenced.
seq+= {5, 6} # the order of extending is not determined
On 07/03/2014 06:09 AM, Terry Reedy wrote:
Yes, but what puzzled me is that running
subprocess.check_output(r'pyflakes c:\programs\python34\lib')
in the regular interpreter *does* produce output instead of the error
message. My guess is that it fills up the pipe, so that check_output
starts
On Thu, Jul 3, 2014 at 5:51 PM, candide c.cand...@laposte.net wrote:
Good and interesting observation. But I can't find out where this feature is
referenced in the Language/Library Reference. Because, as my first post
explains, augmented assignment performs the binary operation associated to
On Wed, 02 Jul 2014 21:06:52 -0700, Rustom Mody wrote:
On Thursday, July 3, 2014 7:49:30 AM UTC+5:30, Steven D'Aprano wrote:
On Wed, 02 Jul 2014 23:00:15 +0300, Marko Rauhamaa wrote:
On the other hand, floating-point numbers are perfect whenever you
deal with science and measurement.
On 07/03/2014 10:03 AM, Wolfgang Maier wrote:
On 07/03/2014 06:09 AM, Terry Reedy wrote:
- what is happening to the stderr output when run in IDLE ? I guess it
is caught and suppressed somewhere, but to add to your observations the
check_output call doesn't hang on IDLE, but finishes eventually
On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence breamore...@yahoo.co.uk
wrote:
On 03/07/2014 02:17, Rita wrote:
On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong irmen.nos...@xs4all.nl
mailto:irmen.nos...@xs4all.nl wrote:
On 2-7-2014 4:04, Rita wrote:
yes, this helps. But I want to
From that link:
An augmented assignment expression like x += 1 can be rewritten as x =
x + 1 to achieve a similar, but not exactly equal effect. In the
augmented version, x is only evaluated once. Also, when possible, the
actual operation is performed in-place, meaning that
On Thu, 03 Jul 2014 09:51:35 +0300, Marko Rauhamaa wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
[...]
By the way, there's no need to use an invented example. Here is an
actual example:
py import math
py from fractions import Fraction
py math.sqrt(Fraction(2))**2
Hi All,
I have the following code which when executed waits to be interrupted by
SIGINT, SIGTERM or SIGQUIT. When an object is initialized, it creates a
threading.Condition() and acquires() it! The program then registers the signal
handlers where notify() and release() is called when the
In article mailman.11450.1404382552.18130.python-l...@python.org,
Sangeeth Saravanaraj sangeeth.saravana...@gmail.com wrote:
Hi All,
I have the following code which when executed waits to be interrupted by
SIGINT, SIGTERM or SIGQUIT.
We need more information. What version of Python are
On 03-Jul-2014, at 3:49 pm, Roy Smith r...@panix.com wrote:
In article mailman.11450.1404382552.18130.python-l...@python.org,
Sangeeth Saravanaraj sangeeth.saravana...@gmail.com wrote:
Hi All,
I have the following code which when executed waits to be interrupted by
SIGINT, SIGTERM or
On Thu, Jul 3, 2014 at 8:27 PM, Sangeeth Saravanaraj
sangeeth.saravana...@gmail.com wrote:
But does the behavior of threading.Condition.wait() depends on operating
system?!
The behaviour of signals certainly does - there's a huge difference
between Windows and POSIX, and there are lesser
Steven D'Aprano st...@pearwood.info:
If you don't think Fraction counts as arbitrary precision rational
number, what do you think does?
I was assuming you were referring to an idealized datatype.
Fraction() doesn't have a square root method. Let's make one:
def newton(x, n):
guess
On 03/07/2014 10:27, Rita wrote:
On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence breamore...@yahoo.co.uk
mailto:breamore...@yahoo.co.uk wrote:
On 03/07/2014 02:17, Rita wrote:
On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong
irmen.nos...@xs4all.nl
On 03/07/2014 10:35, candide wrote:
From that link:
An augmented assignment expression like x += 1 can be rewritten as x =
x + 1 to achieve a similar, but not exactly equal effect. In the
augmented version, x is only evaluated once. Also, when possible, the
actual operation is
On Wednesday, July 2, 2014 4:02:00 PM UTC-4, MRAB wrote:
If you want 'between' to be an instance method of the MyTime class, it
needs 'self' as well as the 2 arguments 't1' and 't2'.
You can then compare the hours, minutes and seconds of self against
those of t1 and t2:
On Thu, Jul 3, 2014 at 10:51 PM, kjaku...@gmail.com wrote:
So I've now gotten this:
class MyTime:
def between(self, t1, t2):
return (t1.hours, t1.minutes, t1.seconds) = (self.hours,
self.minutes, self.seconds) and (self.hours, self.minutes, self.seconds) =
(t2.hours,
On Thursday, July 3, 2014 9:01:09 AM UTC-4, Chris Angelico wrote:
And what happens when you run this code? A NameError, I would expect.
Do you understand how to define and call methods?
ChrisA
Altered the code. But yes a nameerror came up
class MyTime:
def __init__(self,
On 2014-07-03 13:51, kjaku...@gmail.com wrote:
On Wednesday, July 2, 2014 4:02:00 PM UTC-4, MRAB wrote:
If you want 'between' to be an instance method of the MyTime class, it
needs 'self' as well as the 2 arguments 't1' and 't2'.
You can then compare the hours, minutes and seconds of self
On Thu, Jul 3, 2014 at 11:08 PM, kjaku...@gmail.com wrote:
Altered the code. But yes a nameerror came up
When that sort of thing happens, you have three basic approaches to
solving the problem.
1) Read the traceback, look at the line of code it points to, and see
if you can figure out what it
On Thursday, July 3, 2014 9:11:49 AM UTC-4, MRAB wrote:
On 2014-07-03 13:51, kjaku...@gmail.com wrote:
On Wednesday, July 2, 2014 4:02:00 PM UTC-4, MRAB wrote:
If you want 'between' to be an instance method of the MyTime class, it
needs 'self' as well as the 2 arguments
On Fri, Jul 4, 2014 at 1:21 AM, kjaku...@gmail.com wrote:
I keep getting an invalid syntax on the t1 = (9, 59, 59) line, not sure why?
t1 = (9, 59, 59)
Two points. Firstly, as I said before, posting the entire exception
helps us enormously. Secondly, with most computerized parsers, the
file
On 03/07/2014 16:21, kjaku...@gmail.com wrote:
On Thursday, July 3, 2014 9:11:49 AM UTC-4, MRAB wrote:
I'm pleased to see that you have answers. In return would you please
use the mailing list
https://mail.python.org/mailman/listinfo/python-list or read and action
this
Coworker takes PEP8 as gospel and uses 4 spaces
to indent. I prefer tabs. Boss want's us to
unify. The sole thing you get with spaces as
far as I can tell, is that someone loading the
code into Notepad will still see a 4 character
indent. That may be true, but that same person
is going to
On Fri, Jul 4, 2014 at 3:31 AM, Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces
to indent. I prefer tabs. Boss want's us to
unify.
1) PEP 8 is meant to be guidelines, *not* a set of hard-and-fast rules.
2) Tabs let different people display the indents at
In article mailman.11462.1404408676.18130.python-l...@python.org,
Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces
to indent. I prefer tabs.
[...]
Just need ammo for when the hammer of code
unification comes down.
There are so many battles to fight that
Tobiah wrote:
Coworker takes PEP8 as gospel and uses 4 spaces
to indent. I prefer tabs. Boss want's us to
unify. The sole thing you get with spaces as
far as I can tell, is that someone loading the
code into Notepad will still see a 4 character
indent. That may be true, but that same
On 07/03/2014 10:46 AM, Tim Chase wrote:
Any evidence out there that this part of PEP8 is becoming
more optional or even obsolete, as I've heard others
say about the 80 char line length?
Just need ammo for when the hammer of code
unification comes down.
I'm not sure you'll get a whole lot of
Hello,
On Fri, 4 Jul 2014 03:38:27 +1000
Chris Angelico ros...@gmail.com wrote:
On Fri, Jul 4, 2014 at 3:31 AM, Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces
to indent. I prefer tabs. Boss want's us to
unify.
1) PEP 8 is meant to be guidelines,
On 2014-07-03, Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces to indent. I prefer
tabs. Boss want's us to unify. The sole thing you get with spaces
as far as I can tell, is that someone loading the code into Notepad
will still see a 4 character indent.
Any evidence out there that this part of PEP8 is becoming
more optional or even obsolete, as I've heard others
say about the 80 char line length?
Just need ammo for when the hammer of code
unification comes down.
I'm not sure you'll get a whole lot of PEP8 is optional or
obsolete, though
On 2014-07-03 19:02, Grant Edwards wrote:
That may be true, but that same person is going to have a
difficult time editing the code.
That's true with Notepad, but with dozens of other programming
editors, code indented with spaces will read and edit prefectly.
Not so for tab-indented
In article 17f05a1b-44c8-4f25-afe9-5dbcffb99...@gmail.com,
I have the following code which when executed waits to be interrupted by
SIGINT, SIGTERM or SIGQUIT. When an object is initialized, it creates a
threading.Condition() and acquires() it! The program then registers the
signal handlers
On 07/03/2014 12:44 PM, Simon Ward wrote:
On 3 July 2014 18:31:04 BST, Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces to indent. I
prefer tabs. Boss want's us to unify.
This isn't worth arguing about.
How point of view changes things.
Anyway, I
In article mailman.11469.1404418450.18130.python-l...@python.org,
Ned Deily n...@acm.org wrote:
In article 17f05a1b-44c8-4f25-afe9-5dbcffb99...@gmail.com,
I have the following code which when executed waits to be interrupted by
SIGINT, SIGTERM or SIGQUIT. When an object is initialized, it
On 3 July 2014 18:31:04 BST, Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces
to indent. I prefer tabs. Boss want's us to
unify.
This isn't worth arguing about. Pick a convention, it's probably going to be a
compromise, get used to it. PEP8 is as good a base
On 07/03/2014 12:40 PM, Tim Chase wrote:
On 2014-07-03 19:02, Grant Edwards wrote:
That may be true, but that same person is going to have a
difficult time editing the code.
That's true with Notepad, but with dozens of other programming
editors, code indented with spaces will read and edit
Anyway, I gave up the 80 char line length long ago, having little
feeling for some dolt
Same to you.
Haha, the language was too strong. The code I'm talking about is
only going to be seen by a small group of programmers. The current
trio has all been here for over 20 years. I'd be more
On Thu, Jul 3, 2014 at 8:36 AM, Mark Lawrence breamore...@yahoo.co.uk
wrote:
On 03/07/2014 10:27, Rita wrote:
On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence breamore...@yahoo.co.uk
mailto:breamore...@yahoo.co.uk wrote:
On 03/07/2014 02:17, Rita wrote:
On Wed, Jul 2, 2014 at
On 7/3/2014 2:23 PM, Tobiah wrote:
I think your suggestion of having GIT handle the transformations
is the way we'll go. nothing to quibble or worry about. Well put
spaces in the repository since it still seems to be the community's
preference and I'll convert to tabs with GIT on the fly.
On 04/07/2014 00:09, Rita wrote:
here is what I am doing now,
egrep 'from|import' *.py | wc -l which is giving me that. But this does
not give me the number of times the particular module gets called. I was
thinking of adding a logging feature to all of my modules so every time
they get called
On 2014-07-01, Florian Lindner mailingli...@xgm.de wrote:
Is there a way I can extract the named groups from a regular
expression? e.g. given (?Ptestgrp\d) I want to get something
like [testgrp].
The match object has an attribute called groupdict, so you can get
the found named groups using
On 03Jul2014 16:43, Roy Smith r...@panix.com wrote:
[...]
Hmmm, I just also noticed what I think is a bug in the docs
(https://docs.python.org/2/library/threading.html). It says, If a call
with blocking set to True would block, return False immediately. Isn't
that backwards? Doesn't that
On 04-Jul-2014, at 1:43 am, Ned Deily n...@acm.org wrote:
In article 17f05a1b-44c8-4f25-afe9-5dbcffb99...@gmail.com,
I have the following code which when executed waits to be interrupted by
SIGINT, SIGTERM or SIGQUIT. When an object is initialized, it creates a
threading.Condition() and
On Thu, 03 Jul 2014 10:31:04 -0700, Tobiah wrote:
Coworker takes PEP8 as gospel and uses 4 spaces to indent. I prefer
tabs. Boss want's us to unify.
Point out to your boss, and your co-worker, that PEP 8 *explicitly*
states that it is not compulsory except for the standard library, and
On Fri, Jul 4, 2014 at 11:02 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
As I understand it, Unix coders tend to prefer spaces, and Windows users
tend to be more comfortable with tabs. This isn't a hard-and-fast rule,
you'll find plenty of exceptions, but it seems to me that
On Thu, 03 Jul 2014 21:07:28 +0300, Paul Sokolovsky wrote:
Hello,
On Fri, 4 Jul 2014 03:38:27 +1000
Chris Angelico ros...@gmail.com wrote:
On Fri, Jul 4, 2014 at 3:31 AM, Tobiah tshep...@rcsreg.com wrote:
Coworker takes PEP8 as gospel and uses 4 spaces to indent. I prefer
tabs. Boss
On Fri, Jul 4, 2014 at 11:21 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Summing up: if you care about other human beings, use spaces. If you
don't care about other human beings, you may use tabs, but other human
beings surely will take how you treat them into account ;-).
In article mailman.11478.1404437416.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
On Fri, Jul 4, 2014 at 11:21 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Summing up: if you care about other human beings, use spaces. If you
don't care about other
On Jul 3, 2014 10:31 AM, Tobiah tshep...@rcsreg.com wrote:
Just need ammo for when the hammer of code unification comes down.
One issue that I've encountered in the past (one of the reasons outside of
pep8) that I switched to spaces is when working with libraries other than
your own. If you want
I have taken the code and gone a little further, but I need to be able to
protect myself against commas and single quotes in names.
How is it the best to do this?
so in my file I had on line 44 this trainer name.
Michael, Wayne John Hawkes
and in line 95 this horse name.
Inz'n'out
this
Ned Deily added the comment:
It fails with Python 2's urllib2.urlopen as well.
--
nosy: +ned.deily, orsenthil
versions: +Python 2.7, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21896
New submission from Hristo Venev:
PyObject* PyLong_FromString(const char *str, char **pend, int base)
pend should be const char**
I think casting const away when not required should be a crime punishable by
imprisonment.
--
messages: 222152
nosy: h.venev
priority: normal
severity:
Changes by Hristo Venev hri...@venev.name:
--
components: +Interpreter Core
type: - security
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21909
___
Mark Lawrence added the comment:
@Roland please accept our apologies for the delay in getting back to you.
Can someone else take a look please as I know nothing about ctypes, thanks.
--
nosy: +BreamoreBoy, amaury.forgeotdarc, belopolsky
___
Python
Mark Lawrence added the comment:
@David please accept our apologies for the delay in getting back to you.
Can someone else take a look please as I know nothing about ctypes, thanks.
--
nosy: +BreamoreBoy, amaury.forgeotdarc, belopolsky
versions: +Python 3.4, Python 3.5 -Python 3.3
Ned Deily added the comment:
As far as I can tell, the problem you are seeing with the menu not disappearing
when iconifying is caused by the use of grab_release() in do_popup(). If I
remove it, using an X11-based Tk 8.6, the focus stays on the menu and clicking
on the iconify button causes
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: +Build
type: - behavior
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13745
Mark Lawrence added the comment:
@patrick please accept our apologies for the delay in getting back to you.
--
nosy: +BreamoreBoy, christian.heimes
versions: +Python 3.4, Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
Vitaly Isaev added the comment:
I confirm the urgent need in this feature.
--
nosy: +vitalyisaev2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20337
___
Changes by Ned Deily n...@acm.org:
--
resolution: - out of date
stage: - resolved
status: open - closed
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15549
___
Mark Lawrence added the comment:
Note that #13672 referred to in msg156962 refers to #13855.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12857
Mark Lawrence added the comment:
Note that #13672 refers to #12857.
--
nosy: +BreamoreBoy
type: behavior - enhancement
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13855
Changes by Berker Peksag berker.pek...@gmail.com:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13672
___
___
Mark Lawrence added the comment:
@Joe sorry for the delay in getting back to you.
@David is this within your remit?
--
nosy: +BreamoreBoy, r.david.murray
versions: +Python 3.4, Python 3.5 -Python 3.1
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
Is this a good, bad or indifferent idea?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13946
___
Andy Maier added the comment:
Hi, I would like to revive this issue, and have a few comments:
1. In Darren's original proposal, I suggest to say implicit (old-style)
relative imports instead of old-style relative imports, because that is the
term used in the Python Tutorial (the description
Jan Kanis added the comment:
I can write a patch. I haven't signed a contributor agreement but I have no
problem doing so. I am not sure when I will have time to write a patch though,
so it could take some time.
--
___
Python tracker
Andy Maier added the comment:
Hi, I would like to revive this issue and have added a review comment to
issue10225-py3k.diff.
Otherwise, I have reviewed the changes in both diffs and think they are good to
go.
Andy
--
nosy: +andymaier
___
Python
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20069
___
___
New submission from Jan Kanis:
The resolution of issue 5445 should be documented somewhere properly, so people
can depend on it or not.
IOBase.writelines handles generator arguments without problems, i.e. without
first draining the entire generator and then writing the result in one go. That
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +steve.dower, zach.ware
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21151
___
Andy Maier added the comment:
Éric,
I have reviewed the patch, and have one minor comment on it (see review page).
Otherwise, I think it is good to go into v3 (The version list for this issue
also shows 2.7, and the 2.7 version of this file is quite different from the v3
tip version, so a
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com:
--
nosy: +josh.rosenberg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21906
___
___
Claudiu Popa added the comment:
Here's a test patch which uses inspect.unwrap. Unfortunately, I can't test with
numba, so I don't know if it works for that, but any decorated function which
uses `functools.update_wrapper` or `wraps` should be detected by doctest.
--
keywords: +patch
New submission from Ram Rachum:
Ditto for lists and any other place this could be applicable.
--
components: Interpreter Core
messages: 222168
nosy: cool-RR
priority: normal
severity: normal
status: open
title: IndexError: tuple index out of range should include the requested
index and
Changes by Ram Rachum r...@rachum.com:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20218
___
Ram Rachum added the comment:
What do you think about exposing this directly?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18212
___
___
Ram Rachum added the comment:
Hey-ho... Anyone feels like implementing this? (I don't program in C so I
can't.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20663
___
New submission from Jonas Diemer:
I was having trouble with the logging module under Jython: I was getting
seemingly sporadic wierd null pointer exceptions in the logging code.
The problem seemed to be related to references that were passed to the logger,
e.g.
logger.debug(My object: %s,
Jonas Diemer added the comment:
Find attached a demo script that causes the erratic behavior in regular Python
(2.7.5 on Windows).
The log file contains two lines, both show the new name of the object, although
the first debug() was called befor the name change.
I think this problem could be
Andrew Svetlov added the comment:
Fixed in 71a0743f36db and 06bdd7e8fffd
--
nosy: +asvetlov
resolution: - fixed
stage: patch review - resolved
status: open - closed
versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3
___
Python
R. David Murray added the comment:
What is the reason for using the conditional approach rather than a skip
decorator? Does it not work in this context, or is it just that you copied the
existing approach? It's fine either way, but I'm curious.
--
R. David Murray added the comment:
Yes. It will be necessary to check the RFC to figure out what should be done
here.
--
components: +email
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13940
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21912
___
___
Python-bugs-list
R. David Murray added the comment:
The whole point of the logging API is that the message is *not* formatted
unless the message is actually emitted. So this is just how logging works, not
something that can be fixed, as far as I can see.
--
nosy: +r.david.murray
Jonas Diemer added the comment:
I see your point.
The decision whether to log or not is actually made synchronously to the actual
logging call, as far as I can tell (i.e. if self.isEnabledFor... is checked
directly in debug()). So at this place, the formatting could already happen.
I don't
Mark Lawrence added the comment:
On Windows 7 206 codecs tests passed and 4 skipped with the patch included.
--
keywords: +patch
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
Added file: http://bugs.python.org/file35840/Issue14014.diff
Mark Lawrence added the comment:
Can we have a reply to this please as I don't understand enough about sqlite3
to comment.
--
nosy: +BreamoreBoy
title: sqlite3 module ignores placeholers in CREATE TRIGGER code - sqlite3
module ignores placeholders in CREATE TRIGGER code
Mark Lawrence added the comment:
Can we have a patch review on this please
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14124
___
Mark Lawrence added the comment:
Apparently not :)
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14121
___
Mark Lawrence added the comment:
Can someone comment please as I'm not brave enough to touch the C code or docs.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14189
___
R. David Murray added the comment:
The decision as to whether or not to pass the message along to the next stage
is made at numerous points in the pipeline.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21912
Mark Lawrence added the comment:
FWIW the same occurs on Windows 7 with 3.5.0 but given there are known
differences between Windows and *nix is this really an issue?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Vinay Sajip added the comment:
I don't see a reason to defer the formatting to the actual output of the
messages (other than the current implementation of logging).
The current implementation of logging is like that for a reason, even though
you may not see it - it defers doing work until
1 - 100 of 191 matches
Mail list logo