tp://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 .
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
, 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 m
indirect self references: [*A, *A, *A]
... }
... """)
{'direct self reference': {...},
'indirect self references': [{...}, {...}, {...}]}
Copyright
=
The PyYAML module is written by Kirill Simonov <[EMAIL PROTECTED]>.
PyYAML is released under the MIT license.
This re
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
> pic
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`. Basi
l.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 PROTECTED]>.
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
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 run
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
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
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 un
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 langu
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
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
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 "Unsupporte
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 i
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 i
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
static PyObject *
test_gil(PyObject *self)
{
PyGILState_STATE gs;
Py_BE
istance',
'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description':
'YAML parser and emitter for Python', 'name': 'PyYAML'}
>>> print yaml.dump(_)
name: PyYAML
homepage: http://pyyaml.org/wiki/PyYAML
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 "", line 1, in ?
File "/usr/lib/python2.4/copy_reg.py", line 69, in _reduce_ex
raise TypeError, "can't pickle %s obje
org/
YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core
Changes
===
* Initial release. The version number reflects the codename of the
project (PyYAML 3000) 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
gt;>> 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 PROTECTED]>.
PyYAML is released under the MIT license.
--
xi
--
http://mail.python.org/mailman/listinfo/python-list
YAML
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 .
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
': '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 .
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
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().
>>>
nce',
'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description':
'YAML parser and emitter for Python', 'name': 'PyYAML'}
>>> print yaml.dump(_)
name: PyYAML
homepage: http://pyyaml.org/wiki/PyYAML
des
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 pretty
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 ar
Patrick Maupin wrote:
On Mon, Mar 1, 2010 at 8:02 PM, Kirill Simonov 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 in the
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,
Hi Raymond,
Another example: extensions in Mercurial. Mercurial is a VCS with a
typical command line syntax:
$ hg
Mercurial has an extension mechanism for adding new and modifying
existing commands. A big chunk of Mercurial functionality is
implemented in `ui` and `repo` classes and ext
On 01/22/2011 12:25 AM, rusi wrote:
On Jan 22, 2:45 am, "Clark C. Evans" 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 inte
aml.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 .
PyYAML is released under the MIT license.
--
http://mail.python.org/mailman/listinfo/python-list
33 matches
Mail list logo