On Wednesday, January 22, 2014 5:08:25 AM UTC+2, Chris Angelico wrote:
I assume you're talking about pure Python code, running under CPython.
(If you're writing an extension module, say in C, there are completely
different ways to detect reference leaks; and other Pythons will
behave slightly
Le mardi 21 janvier 2014 18:34:44 UTC+1, Terry Reedy a écrit :
On 1/21/2014 6:38 AM, Tim Chase wrote:
On 2014-01-21 00:00, xeysx...@gmail.com wrote:
Well, I retired early, and I guess now I've got some spare time to
learn about programming, which always seemed rather mysterious. I
So my question is if I am giving multiple inputs(a new device say for example)
in a loop and creating a database(dictionary) for each new devices for example.
I want subsequent devices to save their data(values only not keys) to the
database of each of the already existing devices. How can I do
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
Pleae give example also. I will be thankful.
--
On Wednesday, 22 January 2014, Asaf Las roeg...@gmail.com wrote:
On Wednesday, January 22, 2014 5:08:25 AM UTC+2, Chris Angelico wrote:
I assume you're talking about pure Python code, running under CPython.
(If you're writing an extension module, say in C, there are completely
different
Asaf Las roeg...@gmail.com wrote in message
news:58c541ab-c6e1-45a8-b03a-8597ed7ec...@googlegroups.com...
Yes the question was about CPython. But i am not after CPython leaks
though detecting these would be good, but my own mistakes leading to
accumulation of data in mutable structures.
Unlikely. Are you sure that .heap and .lookup contents are still in sync
with your modification?
No it's not. Atfer having read about heapq it's clear why.
Thanks for the hint.
allows you to delete random nodes, but the lowest() method will slow down as
it has to iterate over all dict
On 22/01/2014 00:06, Shane Konings wrote:
The following is a sample of the data. There are hundreds of lines that need to
have an automated process of splitting the strings into headings to be imported
into excel with theses headings
See here for code that could simplify your extire task
On 22/01/2014 08:18, wxjmfa...@gmail.com wrote:
To my knowledge you are one of only two people who refuse to remove
double line spacing from google. Just how bloody minded are you?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
I'm trying to use --plat-name in
python33 setup.py bdist_wheel --plat-name=win-amd64
I have a patched distutils package on my path that does allow me to do cross
platform builds with normal distutils setup.py.
However, I noticed immediately that my allegedly amd64 build is saying things
On Wed, Jan 22, 2014 at 10:49:29AM +, Robin Becker wrote:
I'm trying to use --plat-name in
python33 setup.py bdist_wheel --plat-name=win-amd64
I have a patched distutils package on my path that does allow me to
do cross platform builds with normal distutils setup.py.
However, I
Hello,
working on OS X 10.8.5
Python 2.7
I've written a simple C extension for Python that uses the cairo graphic
library.
It works well, and I can call it from Python with no problem.
The only drawback is that I need to have the cairo library installed on
my system (so it seems my extension
Jean Dupont jeandupont...@gmail.com Wrote in message:
Op maandag 20 januari 2014 07:24:31 UTC+1 schreef Chris Angelico:
On Mon, Jan 20, 2014 at 3:04 PM, Jean Dupont jeandupont...@gmail.com wrote:
I started a thread [newbie] starting geany from within idle does not
work
I did try to do
On 2014-01-22, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Do you notice the assumption made? Let me highlight it for you:
THE WORDS OF OTHERS
The hidden assumption here is that *words are property*, that
they belong to whomever first publishes them. Having now
written
On 2014-01-22, wxjmfa...@gmail.com wxjmfa...@gmail.com wrote:
In fact, Python just becomes the last tool I (would)
recommend, especially for non-ascii users.
Have a care, jmf. People unfamiliar with your opinions might take
that seriously.
--
Neil Cerutti
--
On Wed, Jan 22, 2014 at 1:18 AM, wxjmfa...@gmail.com wrote:
In fact, Python just becomes the last tool I (would)
recommend, especially for non-ascii users.
That's right - only Americans should use Python!
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, January 22, 2014 7:15:34 PM UTC+5:30, Larry wrote:
On Wed, Jan 22, 2014 at 1:18 AM, wrote:
In fact, Python just becomes the last tool I (would)
recommend, especially for non-ascii users.
That's right - only Americans should use Python!
Of whom the firstest and worstest is
On Wednesday, January 22, 2014 4:31:32 PM UTC+5:30, Oscar Benjamin wrote:
Sounds reasonable. I don't know the answer or whether anyone else on this list
will but you can definitely find the relevant developers at this mailing list:
https://mail.python.org/mailman/listinfo/distutils-sig/
I
On 22/01/2014 08:18, wxjmfa...@gmail.com wrote:
In fact, Python just becomes the last tool I (would)
recommend, especially for non-ascii users.
https://www.youtube.com/watch?v=7aItpjF5vXc dedicated to jmf and his
knowledge of unicode and Python.
--
My fellow Pythonistas, ask not what our
Op maandag 20 januari 2014 10:17:15 UTC+1 schreef Alister:
On Sun, 19 Jan 2014 20:04:05 -0800, Jean Dupont wrote:
Op zaterdag 18 januari 2014 16:12:41 UTC+1 schreef Oscar Benjamin:
On 18 January 2014 14:52, Jean Dupont jeandupont...@gmail.com wrote:
Thanks Peter and Terry Jan for the
On Tue, 21 Jan 2014 15:49:16 -0800, Shane Konings wrote:
I have the following sample from a data set and I am looking to split
the address number and name into separate headings as seen below.
FarmIDAddress 1 1067 Niagara Stone 24260 Mountainview
3 25 Hunter 4
1091
On Wed, 22 Jan 2014 06:45:53 -0800, Jean Dupont wrote:
Op maandag 20 januari 2014 10:17:15 UTC+1 schreef Alister:
On Sun, 19 Jan 2014 20:04:05 -0800, Jean Dupont wrote:
Op zaterdag 18 januari 2014 16:12:41 UTC+1 schreef Oscar Benjamin:
On 18 January 2014 14:52, Jean Dupont
On Wednesday, January 22, 2014 10:43:39 AM UTC+2, Nicholas wrote:
There are some good tools recommended here:
http://stackoverflow.com/questions/110259/which-python-memory-profiler-is-recommended
But in general: use weak references wherever possible would be
my advice. They not only prevent
Hi
Inspired by Modifying the default argument of function
https://groups.google.com/forum/#!topic/comp.lang.python/1xtFE6uScaI
is it possible to create singleton using construct below :
def singleton_provider(x = [None]):
if singleton_provider.__defaults__[0][0] == None:
On Wednesday, January 22, 2014 10:56:30 AM UTC+2, Frank Millman wrote:
class MainObject:
def __init__(self, identifier):
self._del = delwatcher('MainObject', identifier)
class delwatcher:
def __init__(self, obj_type, identifier):
self.obj_type = obj_type
On Thu, Jan 23, 2014 at 3:07 AM, Asaf Las roeg...@gmail.com wrote:
is it possible to create singleton using construct below :
def singleton_provider(x = [None]):
if singleton_provider.__defaults__[0][0] == None:
singleton_provider.__defaults__[0][0] = SomeClass()
return
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
This is a gratuitous arp request
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
Description of each of the commands:
• config
◦ Parameters:
On Wednesday, January 22, 2014 2:06:17 PM UTC+5:30, indar kumar wrote:
So my question is if I am giving multiple inputs(a new device say
for example) in a loop and creating a database(dictionary) for each
new devices for example. I want subsequent devices to save their
data(values only not
On Wednesday, January 22, 2014 6:18:57 PM UTC+2, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 3:07 AM, Asaf Las r@gmail.com wrote:
Why not simply:
def get_singleton(x = SomeClass()):
return x
Or even:
singleton = SomeClass()
? Neither of the above provides anything above the last
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
Any link related to such type of problems or logic would be
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
I need to implement this with simple dictionarie. I know use
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
Just one hint and I have made the design for whole code.
On Thursday, January 23, 2014 12:37:36 AM UTC+8, Asaf Las wrote:
On Wednesday, January 22, 2014 6:18:57 PM UTC+2, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 3:07 AM, Asaf Las r@gmail.com wrote:
Why not simply:
def get_singleton(x = SomeClass()):
return x
Or
On Wednesday, January 22, 2014 7:01:50 PM UTC+8, lgabiot wrote:
Hello,
working on OS X 10.8.5
Python 2.7
I've written a simple C extension for Python that uses the cairo graphic
library.
It works well, and I can call it from Python with no problem.
The only drawback is
On Tue, 21 Jan 2014 16:06:56 -0800, Shane Konings wrote:
The following is a sample of the data. There are hundreds of lines that
need to have an automated process of splitting the strings into headings
to be imported into excel with theses headings
ID Address StreetNum StreetName
Hi everyone. First of all sorry if my english is not good.
I have a question about something in Python I can not explain:
in every programming language I know (e.g. C#) if you exceed the max-value of a
certain type (e.g. a long-integer) you get an overflow. Here is a simple
example in C#:
On Wed, Jan 22, 2014 at 11:09 AM, Philip Red
filippo.biolc...@googlemail.com wrote:
Hi everyone. First of all sorry if my english is not good.
I have a question about something in Python I can not explain:
in every programming language I know (e.g. C#) if you exceed the max-value of
a certain
Philip Red filippo.biolc...@googlemail.com Wrote in message:
Hi everyone. First of all sorry if my english is not good.
I have a question about something in Python I can not explain:
in every programming language I know (e.g. C#) if you exceed the max-value of
a certain type (e.g. a
wxjmfa...@gmail.com writes:
In fact, Python just becomes the last tool I (would)
recommend, especially for non-ascii users.
jmf
In fact, Python 3 is one of the best programming tools for non-ASCII users.
--
Piet van Oostrum p...@vanoostrum.org
WWW: http://pietvanoostrum.com/
PGP key:
On Thu, Jan 23, 2014 at 5:09 AM, Philip Red
filippo.biolc...@googlemail.com wrote:
Now I do the same with Python:
x = 9223372036854775807
print(type(x)) # class 'int'
x = x * 2 # 18446744073709551614
print(x)
Thank you for your answers!
--
https://mail.python.org/mailman/listinfo/python-list
Asaf Las roeg...@gmail.com Wrote in message:
On Wednesday, January 22, 2014 10:56:30 AM UTC+2, Frank Millman wrote:
class MainObject:
def __init__(self, identifier):
self._del = delwatcher('MainObject', identifier)
class delwatcher:
def __init__(self, obj_type,
Thank you ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 1/22/14 11:37 AM, Asaf Las wrote:
On Wednesday, January 22, 2014 6:18:57 PM UTC+2, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 3:07 AM, Asaf Las r@gmail.com wrote:
Why not simply:
def get_singleton(x = SomeClass()):
return x
Or even:
singleton = SomeClass()
? Neither of the above
On 1/22/14 12:09 PM, indar kumar wrote:
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for public
Just one hint and I have
I thought this blog might interest some of you
http://pydanny.com/awesome-slugify-human-readable-url-slugs-from-any-string.html
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
Le 22/01/14 18:31, 8 Dihedral a écrit :
Check the C source code generated
by Pyrex and check cython for what u
want, but I did try that out in any
mobile phone or flat panel
programming.
Thanks a lot for your answer.
I didn't use Pyrex or other tool, but wrote myself the C python
On Wednesday, January 22, 2014 9:18:19 PM UTC+2, Ned Batchelder wrote:
Chris is right here, too: modules are themselves singletons, no matter
how many times you import them, they are only executed once, and the
same module object is provided for each import.
Ned Batchelder,
El miércoles, 15 de enero de 2014 18:02:08 UTC+1, Sergio Tortosa Benedito
escribió:
Hi I'm developing a sort of language extension for writing GUI programs
called guilang, right now it's written in Lua but I'm considreing Python
instead (because it's more tailored to alone applications).
On 01/22/2014 11:23 AM, Mark Lawrence wrote:
I thought this blog might interest some of you
http://pydanny.com/awesome-slugify-human-readable-url-slugs-from-any-string.html
Thanks!
--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list
In article mailman.5846.1390415644.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
The Python integer type stores arbitrary precision.
Which is not only really cool, but terribly useful for solving many
Project Euler puzzles :-)
--
On Wednesday, January 22, 2014 6:18:57 PM UTC+2, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 3:07 AM, Asaf Las r...@gmail.com wrote:
is it possible to create singleton using construct below :
def singleton_provider(x = [None]):
if singleton_provider.__defaults__[0][0] == None:
On Wednesday, January 15, 2014 7:02:08 PM UTC+2, Sergio Tortosa Benedito wrote:
Hi I'm developing a sort of language extension for writing GUI programs
called guilang, right now it's written in Lua but I'm considreing Python
instead (because it's more tailored to alone applications). My
wxjmfa...@gmail.com wrote:
In fact, Python just becomes the last tool I (would)
recommend, especially for non-ascii users.
To the OP: Ignore wxjmfauth, he's our resident nutcase.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
lgabiot wrote:
Le 22/01/14 18:31, 8 Dihedral a écrit :
Check the C source code generated
by Pyrex ...
Thanks a lot for your answer.
We suspect that 8 Dihedral is actually a bot,
so you're *probably* wasting your time attempting
to engage it in conversation.
--
Greg
--
Chris Angelico wrote:
(Which
means, no, Python cannot represent Graham's Number in an int. Sorry
about that.)
This is probably a good thing. I'm told that any computer
with enough RAM to hold Graham's number would, from entropy
considerations alone, have enough mass to become a black
hole.
--
On Wednesday, January 22, 2014 6:18:57 PM UTC+2, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 3:07 AM, Asaf Las r...@gmail.com wrote:
ChrisA
and this one is about multiclass container function with
multithreading support:
import threading
def provider(cls, x = [threading.Lock(), {}]):
Hi,
Am 22.01.14 12:01, schrieb lgabiot:
Is it possible to link statically cairo to my extension, so that even if
cairo is not installed on a computer, the code will run?
I guess I would need to modify the setup.py file using distutils to
compile cairo statically into my .so file?
I've done
On Wed, Jan 22, 2014, at 13:26, Chris Angelico wrote:
The Python integer type stores arbitrary precision. It's not a machine
word, like the C# integer types (plural, or does it have only one?
C# has the usual assortment of fixed-width integer types - though by
default they throw exceptions on
On Wed, 22 Jan 2014 00:36:17 -0800, indar kumar wrote:
So my question is if I am giving multiple inputs(a new device say for
example) in a loop and creating a database(dictionary) for each new
devices for example. I want subsequent devices to save their data(values
only not keys) to the
I have the need to check for a files existence against a string, but I
need to do case-insensitively. I cannot efficiently get the name of
every file in the dir and compare each with my string using lower(),
as I have 100's of strings to check for, each in a different dir, and
each dir can have
In article mailman.5853.1390438708.18130.python-l...@python.org,
Larry Martell larry.mart...@gmail.com wrote:
I have the need to check for a files existence against a string, but I
need to do case-insensitively. I cannot efficiently get the name of
every file in the dir and compare each with
Oktest 0.13.0 is released.
https://pypi.python.org/pypi/Oktest/
Oktest is a new-style testing library for Python.
## unittest
self.assertEqual(x, y)
self.assertNotEqual(x, y)
self.assertGreaterEqual(x, y)
self.assertIsInstance(obj, cls)
self.assertRegexpMatches(text,
On Wed, Jan 22, 2014 at 6:08 PM, Roy Smith r...@panix.com wrote:
In article mailman.5853.1390438708.18130.python-l...@python.org,
Larry Martell larry.mart...@gmail.com wrote:
I have the need to check for a files existence against a string, but I
need to do case-insensitively. I cannot
In article mailman.5855.1390439920.18130.python-l...@python.org,
Larry Martell larry.mart...@gmail.com wrote:
The issue is that I run a database query and get back rows, each with
a file path (each in a different dir). And I have to check to see if
that file exists. Each is a separate search
On 2014-01-23 00:58, Larry Martell wrote:
I have the need to check for a files existence against a string, but I
need to do case-insensitively. I cannot efficiently get the name of
every file in the dir and compare each with my string using lower(),
as I have 100's of strings to check for, each
On 01/22/2014 04:58 PM, Larry Martell wrote:
I have the need to check for a files existence against a string, but I
need to do case-insensitively.
This should get you going. As it is, it will check the /entire/ string you send in even if it has path parts to it, and
there are probably other
Le 22/01/14 23:09, Gregory Ewing a écrit :
We suspect that 8 Dihedral is actually a bot,
so you're *probably* wasting your time attempting
to engage it in conversation.
Thanks,
so that will be my first real experience of the Turing test!!!
--
thanks a lot for your very precise answer!
shortly, as I'm running out of time right now:
I've got here a lot of informations, so I'll dig in the directions you
gave me. It will be a good compiling exercise... (I'm really new at all
this).
--
On Thu, Jan 23, 2014 at 12:27 PM, MRAB pyt...@mrabarnett.plus.com wrote:
On 2014-01-23 00:58, Larry Martell wrote:
I have the need to check for a files existence against a string, but I
need to do case-insensitively. I cannot efficiently get the name of
every file in the dir and compare each
On Thu, Jan 23, 2014 at 8:16 AM, Asaf Las roeg...@gmail.com wrote:
i am novice in python, but let me suggest you something:
it would be beneficial to use json text file to specify
your gui so composite data structure can be created using
json and then your program can construct window giving
On Thu, Jan 23, 2014 at 10:00 AM, Christian Gollwitzer aurio...@gmx.de wrote:
There might be another issue with the license of the library. Cairo is both
LGPL and MPL. For LGPL, only dynamic linking is without doubt, for MPL it
seems to be accepted to link statically. It all depends on whether
Hello,
I'm building an application using a simple sqlite3 database.
At some point, I need to select rows (more precisely some fields in
rows) that have the following property: their field max_level (an INT),
should not exceed a value stored in a variable called threshold, where
an int is
I did similar operations on UPDATE instead of SELECT, and it works there.
Maybe my mind is fried right now, but I can't figure out the solution...
so maybe I should rename my post:
cannot use =, with (?) in SELECT WHERE query ?
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 23, 2014 at 1:32 PM, lgabiot lgab...@hotmail.com wrote:
cursor = conn.execute(SELECT filename, filepath FROM files WHERE
max_level(?), threshold)
that doesn't work (throw an exception)
What exception, exactly? Was it telling you that an integer is not
iterable, perhaps? If so,
On 1/22/2014 9:32 PM, lgabiot wrote:
Hello,
I'm building an application using a simple sqlite3 database.
At some point, I need to select rows (more precisely some fields in
rows) that have the following property: their field max_level (an INT),
should not exceed a value stored in a variable
On 1/22/2014 9:32 PM, lgabiot wrote:
Hello,
I'm building an application using a simple sqlite3 database.
At some point, I need to select rows (more precisely some fields in
rows) that have the following property: their field max_level (an INT),
should not exceed a value stored in a variable
On 2014-01-23 03:32, lgabiot wrote:
cursor = conn.execute(SELECT filename, filepath FROM files
WHERE
max_level(?), threshold)
that doesn't work (throw an exception)
That last argument should be a tuple, so unless threshold
is a tuple, you would want to make it
sql = SELECT ... WHERE
On 1/22/2014 9:29 PM, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 8:16 AM, Asaf Las roeg...@gmail.com wrote:
i am novice in python, but let me suggest you something:
it would be beneficial to use json text file to specify
your gui so composite data structure can be created using
json and then
On Wed, Jan 22, 2014 at 6:27 PM, Roy Smith r...@panix.com wrote:
In article mailman.5855.1390439920.18130.python-l...@python.org,
Larry Martell larry.mart...@gmail.com wrote:
The issue is that I run a database query and get back rows, each with
a file path (each in a different dir). And I
On Wed, Jan 22, 2014 at 6:27 PM, MRAB pyt...@mrabarnett.plus.com wrote:
On 2014-01-23 00:58, Larry Martell wrote:
I have the need to check for a files existence against a string, but I
need to do case-insensitively. I cannot efficiently get the name of
every file in the dir and compare each
On Thu, Jan 23, 2014 at 3:24 PM, Larry Martell larry.mart...@gmail.com wrote:
I am writing something that is part of a django app, that based on
some web entry from the user, I run a query, get back a list of files
and have to go receive them and serve them up back to the browser. My
script is
On Thursday, January 23, 2014 8:35:58 AM UTC+5:30, Tim Chase wrote:
On 2014-01-23 03:32, lgabiot wrote:
cursor = conn.execute(SELECT filename, filepath FROM files
WHERE
max_level(?), threshold)
that doesn't work (throw an exception)
That last argument should be a tuple, so unless
On Thursday, January 23, 2014 10:03:43 AM UTC+5:30, Rustom Mody wrote:
The builtin connection.execute is even less helpful
I meant
help(conn.execute)
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 23, 2014 at 3:33 PM, Rustom Mody rustompm...@gmail.com wrote:
On Thursday, January 23, 2014 8:35:58 AM UTC+5:30, Tim Chase wrote:
On 2014-01-23 03:32, lgabiot wrote:
cursor = conn.execute(SELECT filename, filepath FROM files
WHERE
max_level(?), threshold)
that doesn't work
If you are already a Perl programmer, this link could be useful!
https://wiki.python.org/moin/PerlPhrasebook
A
--
https://mail.python.org/mailman/listinfo/python-list
Asaf Las roeg...@gmail.com wrote in message
news:9729ddaa-5976-4e53-8584-6198b47b6...@googlegroups.com...
On Wednesday, January 22, 2014 10:56:30 AM UTC+2, Frank Millman wrote:
class MainObject:
def __init__(self, identifier):
self._del = delwatcher('MainObject', identifier)
On Thursday, January 23, 2014 10:11:42 AM UTC+5:30, Chris Angelico wrote:
I think it's fairly clear from the example that it has to be either a
tuple or a dict. Looks fine to me.
yes 'from the example' and only from there!
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 23, 2014 at 4:35 PM, Rustom Mody rustompm...@gmail.com wrote:
On Thursday, January 23, 2014 10:11:42 AM UTC+5:30, Chris Angelico wrote:
I think it's fairly clear from the example that it has to be either a
tuple or a dict. Looks fine to me.
yes 'from the example' and only from
On Thursday, January 23, 2014 6:41:42 AM UTC+2, Chris Angelico wrote:
On Thu, Jan 23, 2014 at 3:33 PM, Rustom Mody r...@gmail.com wrote:
I think it's fairly clear from the example that it has to be either a
tuple or a dict. Looks fine to me. But I'm sure that, if you come up
with better
Le mercredi 22 janvier 2014 20:23:55 UTC+1, Mark Lawrence a écrit :
I thought this blog might interest some of you
http://pydanny.com/awesome-slugify-human-readable-url-slugs-from-any-string.html
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you
Thanks to all,
that was indeed the tuple issue!
the correct code is:
cursor = conn.execute(SELECT filename, filepath FROM files WHERE
max_level?, (threshold,))
as was pointed out by many.
Sorry for missing such a silly point (well, a comma in fact). I'll learn
to read more seriously the
Le 23/01/14 03:33, Chris Angelico a écrit :
On Thu, Jan 23, 2014 at 10:00 AM, Christian Gollwitzer aurio...@gmx.de wrote:
There might be another issue with the license of the library. Cairo is both
LGPL and MPL. For LGPL, only dynamic linking is without doubt, for MPL it
seems to be accepted to
On Thu, Jan 23, 2014 at 6:18 PM, Asaf Las roeg...@gmail.com wrote:
if (!PyArg_ParseTuple(args, OO, operation, second_argument)) {
goto error;
}
That part just asks for any object as the second argument. Also,
that part is handling executemany(). Later on, the
On Saturday, January 18, 2014 3:21:42 PM UTC-7, indar kumar wrote:
Hi,
I want to show a code for review but afraid of plagiarism issues. Kindly,
suggest how can I post it for review here without masking it visible for
public
Thanks for kind help.
I have following nested dictionary
On Wed, 22 Jan 2014 18:18:32 -0700, Larry Martell wrote:
The issue is that I run a database query and get back rows, each with
a file path (each in a different dir). And I have to check to see if
that file exists. Each is a separate search with no correlation to the
others. I have the full
Gregory P. Smith added the comment:
The call stack for that code path failing is:
#0 get_data (fp=0xf64920, archive=0xe77ecc
/home/greg/sandbox/python/cpython/2.7/junk95142.zip,
toc_entry=('/home/greg/sandbox/python/cpython/2.7/junk95142.zip/ziptestpackage/ziptestmodule.py',
0, 16, 16,
Terry J. Reedy added the comment:
*17481 is about changing getargspec to use signature, at least as a backup. But
that would not fix the example here. The calltips have been moved in 20122.
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
I am assuming that Serhiy meant to close this.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19020
___
1 - 100 of 244 matches
Mail list logo