On 13 December 2014 at 12:24, Steven D'Aprano
wrote:
> Mateusz Loskot wrote:
>
>> On 12 December 2014 at 12:26, Chris Angelico wrote:
>>> On Fri, Dec 12, 2014 at 10:21 PM, Mateusz Loskot
>>> wrote:
>>>> I've got several cases which are n
On 12 December 2014 at 22:14, Chris Angelico wrote:
> On Sat, Dec 13, 2014 at 8:03 AM, Mateusz Loskot wrote:
>> On 12 December 2014 at 12:26, Chris Angelico wrote:
>>> On Fri, Dec 12, 2014 at 10:21 PM, Mateusz Loskot wrote:
>>>> I've got several cases wh
On 12 December 2014 at 12:26, Chris Angelico wrote:
> On Fri, Dec 12, 2014 at 10:21 PM, Mateusz Loskot wrote:
>> I've got several cases which are not obvious to me.
>> For instance, class Foo has a boolean attribute, read-write,
>> which I see a couple of realisati
On 11 December 2014 at 19:20, Chris Angelico wrote:
> On Fri, Dec 12, 2014 at 4:34 AM, Mateusz Loskot wrote:
>> If a class member function simply tests something and
>> returns a b::oolean call it
>>
>> def is_():
>> pass
>>
>> like 'is_e
icates?
[1] *Naming Conventions* by Thorsten Kampe
https://mail.python.org/pipermail/python-list/2007-June/438156.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
https://mail.python.org/mailman/listinfo/python-list
ssage --
From: Mateusz Loskot
Date: 19 October 2012 13:58
Subject: Format of datetime dump
To: yaml-c...@lists.sourceforge.net
Hi,
Given this snippet:
yaml.dump({'date':datetime.datetime.now()})
"{date: !!timestamp '2012-10-19 01:32:41.674322'}\n"
Could anyone enlig
lag) # OK
xyz.flag = 0# error due to no write access
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
http://mail.python.org/mailman/listinfo/python-list
ion compile() is not publicly available.
There is PyRun_InteractiveLoop mechanism but it is tightly coupled to
FILE-based I/O which is not always available when Python is embedded,
so the loop is useless in number of situations.
Have I overlooked any other obvious solution?
Finally, it would be hel
ation in C++ interacts with Python programs provided by users.
Depending on what these programs request, various PyObject objects are
created and returned back, etc.
I understand it's difficult to discuss it without long essays or without
providing the code, etc.
So, I can only discuss a
On 23/09/11 00:47, Mark Hammond wrote:
On 20/09/2011 8:34 PM, Mateusz Loskot wrote:
I'm trying to dig out details about what exactly is the return
value the of PyEval_EvalCodeEx function in Python 3.x
The documentation is sparse, unfortunately.
Perhaps I'm looking at wrong function.
access "f" value
directly from PyEval_EvalCode return object:
PyObject* evalRet = ::PyEval_EvalCode(...);
But, I can't find any details what the "evalRet" actually is.
Any pointers would be helpful.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter
Hi,
I'm wondering, why PyImport_ExecCodeModule function takes char*
instead of const char*?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo