Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31756
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mateusz@loskot.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.138 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.72; '*S*': 0.00; 'received:mail- vb0-f46.google.com': 0.09; 'dump': 0.16; 'enlighten': 0.16; 'received:209.85.212.46': 0.18; 'seems': 0.23; 'header:In-Reply- To:1': 0.25; '----------': 0.26; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'date:': 0.29; "i'm": 0.29; 'could': 0.32; 'asked': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'received:google.com': 0.34; 'list': 0.35; 'so,': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'subject:': 0.36; 'but': 0.36; 'too': 0.36; 'october': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'mean': 0.38; 'forwarded': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'skip:y 20': 0.62; 'decided': 0.65; 'forward': 0.66; 'mat': 0.84; 'skip:y 40': 0.93 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=RofpW7vbGlTT4Qtf5lzthOTbkXooFRCyB+8s8WXd1QI=; b=fm//ay9G6ifb6VxeOlJ2OoNTiXs50wjM79cWI2S2xsrskgkj3xhkyV855EpwuNSW5f S8uH1dgwS2BysSAGrZvukvva/8+jFBo+53vLnzXU77XaQ78xCcB5xlhfSoeRjid1nsd3 F3W6lh5dSOzrnnuY3zuULoAQ/50g8oBs/w+SvvYFjITi4QVJ5i86Cq/HAP4r3Za2bQgw duIgmyqiY/JjGFNvDtaVUT4MwK8o3YaCVglTNLFJbiTaKPEFi8gU5TBsz41OpVSXZUyk c+ZfAv+6TOpT66UvKlH7zhBw4XjlNxKIZzf4N4CmtqgMEDTbtlm/RoVlBo1wpR7FyAjt mljA== |
| MIME-Version | 1.0 |
| X-Originating-IP | [82.34.253.46] |
| In-Reply-To | <CABUeae_KJQDvtiRomJKcfKMHYzAVjwvyuvh8U=8_ZAJy6QSUsg@mail.gmail.com> |
| References | <CABUeae_KJQDvtiRomJKcfKMHYzAVjwvyuvh8U=8_ZAJy6QSUsg@mail.gmail.com> |
| From | Mateusz Loskot <mateusz@loskot.net> |
| Date | Fri, 19 Oct 2012 20:00:22 +0100 |
| Subject | Fwd: Format of datetime dump |
| To | python-list@python.org |
| Content-Type | text/plain; charset=UTF-8 |
| X-Gm-Message-State | ALoCoQmpbm1IFDpMeOjpa3ZGo0MG60/3Zj/YvjdQjzfQlISNcJTgcu22tGXchFGeNlRMqoGh5Cf+ |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2521.1350673245.27098.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350673245 news.xs4all.nl 6954 [2001:888:2000:d::a6]:40309 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31756 |
Show key headers only | View raw
Hi,
I'm not sure if this list is the right place to ask question about PyYAML,
but the yaml-core seems to be too general and quiet.
So, I decided to forward my question here.
I asked on yaml-core the following question, would anyone have any insights?
Mat
---------- Forwarded message ----------
From: Mateusz Loskot <mateusz@loskot.net>
Date: 19 October 2012 13:58
Subject: Format of datetime dump
To: yaml-core@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 enlighten me why the ISO8601 format YYYY-MM-DDThh:mm:ssTZD
is not used here, by default?
Is there any mean to make yaml.dump generating datetime in ISO8601?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Mateusz Loskot, http://mateusz.loskot.net
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Fwd: Format of datetime dump Mateusz Loskot <mateusz@loskot.net> - 2012-10-19 20:00 +0100
csiph-web