by Kirill Simonov x...@resolvent.net.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
by Kirill Simonov x...@resolvent.net.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
On 01/22/2011 12:25 AM, rusi wrote:
On Jan 22, 2:45 am, Clark C. Evansc...@clarkevans.com wrote:
Kirill Simonov and myself would like to introduce HTSQL, a novel
approach to relational database access which is neither an ORM nor raw SQL.
:
We're curious what you think.
Thanks -- looks
Hi Raymond,
Another example: extensions in Mercurial. Mercurial is a VCS with a
typical command line syntax:
$ hg command command arguments and options
Mercurial has an extension mechanism for adding new and modifying
existing commands. A big chunk of Mercurial functionality is
Hi Raymond,
We've been using cooperative inheritance to implement stacked utilities
such as WSGI middleware or connecting to a database.
An example of a WSGI middleware stack:
# Declare the interface and provide the default implementation.
class WSGI(Utility):
def __call__(self, environ,
Erik Max Francis wrote:
Daniel Fetchinson wrote:
it is my goal (which I may or may not be smart enough to reach) to
write a module that anybody would want to use;
But you are working on a solution in search of a problem. The really
smart thing to do would be pick something more useful to work
Patrick Maupin wrote:
All:
Finding .ini configuration files too limiting, JSON and XML to hard to
manually edit, and YAML too complex to parse quickly, I have started
work on a new configuration file parser.
I'd like to note that with the optional libyaml bindings, the PyYAML
parser is
Patrick Maupin wrote:
Kirill:
Thank you for your constructive criticism. This is the gem that made
it worthwhile to post my document. I think all of your points are
spot-on, and I will be fixing the documentation.
You are welcome. Despite what others have been saying, I don't think
this
Patrick Maupin wrote:
On Mon, Mar 1, 2010 at 8:02 PM, Kirill Simonov x...@gamma.dn.ua wrote:
BTW, congratulations on slogging through the YAML grammar to generate
such a good working C library!
That must have been a tremendous effort.
The trick was to completely ignore the grammar described
and emitter for Python', 'name': 'PyYAML'}
print yaml.dump(_)
name: PyYAML
homepage: http://pyyaml.org/wiki/PyYAML
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill
and emitter for Python', 'name': 'PyYAML'}
print yaml.dump(_)
name: PyYAML
homepage: http://pyyaml.org/wiki/PyYAML
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill
, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov x...@resolvent.net.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf
, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov x...@resolvent.net.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
is written by Kirill Simonov x...@resolvent.net.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
is written by Kirill Simonov x...@resolvent.net.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
homepage: http://pyyaml.org/wiki/PyYAML
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
http
homepage: http://pyyaml.org/wiki/PyYAML
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
http
Kirill Simonov [EMAIL PROTECTED] added the comment:
Thank you for the fix, I really appeciate it.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3884
New submission from Kirill Simonov [EMAIL PROTECTED]:
I wonder why the module 'turtle' was moved to the 'tkinter' package. It
is not a part of Tk, it does not provide new or extend existing tkinter
API. While it uses tkinter, so do pydoc or idle; this is just an
implementation detail. If some
Stephen Moore wrote:
I have come to the conclusion that this is the fault of the tags (for
example, !!python/tuple) as getting rid of them gets rid of the
errors.
So I'm wondering if there is an option to YAML.decode that will create
a yaml document without the tags?
Try yaml.safe_dump().
for Python', 'name': 'PyYAML'}
print yaml.dump(_)
name: PyYAML
homepage: http://pyyaml.org/wiki/PyYAML
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL
for Python', 'name': 'PyYAML'}
print yaml.dump(_)
name: PyYAML
homepage: http://pyyaml.org/wiki/PyYAML
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL
On Sun, Nov 19, 2006 at 12:33:39PM +0100, Alan Franzoni wrote:
Kirill Simonov si è divertito a scrivere:
Unfortunately, most IDEs I tried failed miserably in this respect. My
test was simple: I've run the code
name = raw_input(What's your name? ) # written in Russian
print
On Sun, Nov 19, 2006 at 03:27:32AM -0800, Leo Kislov wrote:
IDLE on Windows works fine for your example in interactive console:
name = raw_input(What's your name? )
Have you tried to use cyrillic characters in a Python string in
interactive console? When I do it, I get the Unsupported
On Sun, Nov 19, 2006 at 03:13:30PM +0100, Alan Franzoni wrote:
Kirill Simonov si è divertito a scrivere:
On Sun, Nov 19, 2006 at 12:33:39PM +0100, Alan Franzoni wrote:
No, I would prefer the editor to save the .py files with non-ASCII
characters in UTF-8 encoding adding the BOM
On Sat, Nov 18, 2006 at 06:11:48PM -0800, PyScripter wrote:
Kirill Simonov wrote:
PyScripter does, indeed, look nice, but unfortunately it appeared to
have similar issues with cyrillic support. Thank you anyway for the
suggestion.
What are the issues? PyScripter offers full support
Hi,
Could anyone suggest me a simple IDE suitable for teaching Python as a
first programming language to high school students? It is necessary
that it has a good support for input/output in Cyrillic.
Unfortunately, most IDEs I tried failed miserably in this respect. My
test was simple: I've
On Sat, Nov 18, 2006 at 10:08:22PM +0300, Oleg Broytmann wrote:
On Sat, Nov 18, 2006 at 09:01:04PM +0200, Kirill Simonov wrote:
Could anyone suggest me a simple IDE suitable for teaching Python as a
first programming language to high school students?
Does it have to be an IDE? Wouldn't
On Sat, Nov 18, 2006 at 07:20:49PM +, tom wrote:
Oleg Broytmann wrote:
On Sat, Nov 18, 2006 at 09:01:04PM +0200, Kirill Simonov wrote:
Could anyone suggest me a simple IDE suitable for teaching Python as a
first programming language to high school students
which operating
On Sat, Nov 18, 2006 at 10:52:35PM +0300, Oleg Broytmann wrote:
On Sat, Nov 18, 2006 at 09:22:48PM +0200, Kirill Simonov wrote:
Preferably. I believe that using a editor + command line will only make
things worse because console and GUI have different encodings under
Windows.
Ouch! I
On Sat, Nov 18, 2006 at 01:22:44PM -0600, Larry Bates wrote:
Oleg Broytmann wrote:
On Sat, Nov 18, 2006 at 09:01:04PM +0200, Kirill Simonov wrote:
Could anyone suggest me a simple IDE suitable for teaching Python as a
first programming language to high school students?
Does it have
On Sun, Nov 19, 2006 at 02:49:43AM +0600, Gleb Kulikov wrote:
В сообщении от Воскресенье 19 Ноябрь 2006 01:01 Kirill Simonov написал:
first programming language to high school students? It is necessary
Unfortunately, most IDEs I tried failed miserably in this respect. My
Hi,
I'm somewhat late to this discussion, but as the author of PyYAML, I'd
like to put my 2c in.
On Thu, Oct 05, 2006 at 09:52:56PM -0700, virg wrote:
Is it possible to deserialize the data by java which serialized by
Python or is there any compatibility issue. Is there any equivalent
Hi,
I've written a pure Python module, which could optionally use an
external C library. The external library is not required to be on the
user computer however, so I'd like not to build the bindings by default,
but allow a user to turn the build on by specifying some parameter to
`setup.py`.
reference': {...},
'indirect self references': [{...}, {...}, {...}]}
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
This release is developed with the support of the Google Summer of Code
program under the mentorship
, and the examples
`tests/example-reformatter.c` and `tests/example-deconstructor.c`.
There are preliminary Python bindings for LibYAML in the PyYAML SVN
repository.
LibYAML is written by Kirill Simonov [EMAIL PROTECTED]. It is released
under the MIT license. See the file LICENSE for more details
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
xi
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python
keywords: [YAML, serialization, configuration, persistance, pickle]
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
xi
--
http://mail.python.org/mailman/listinfo/python-list
.
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
xi
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
) and differenciates it from the abandoned PyYaml
module.
Copyright
=
The PyYAML module is written by Kirill Simonov [EMAIL PROTECTED].
PyYAML is released under the MIT license.
--
xi
--
http://mail.python.org/mailman/listinfo/python-list
Could someone explain why __reduce__(2) works for files while
__reduce__(1) doesn't?
f = file('/etc/passwd')
f.__reduce__(1)
Traceback (most recent call last):
File stdin, line 1, in ?
File /usr/lib/python2.4/copy_reg.py, line 69, in _reduce_ex
raise TypeError, can't pickle %s objects %
Hi,
Could someone tell me why my extension module works under Python 2.4, but
fails with Segmentation Fault under Python 2.3? Here is the stripped version:
#include Python.h
static PyObject *
test_gil(PyObject *self)
{
PyGILState_STATE gs;
44 matches
Mail list logo