Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35532
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chris@rebertia.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'attribute': 0.05; 'error:': 0.05; 'subject:skip:t 10': 0.07; 'subject:How': 0.09; 'python': 0.09; 'expected.': 0.09; 'project?': 0.09; 'cc:addr:python-list': 0.10; '3.1.3': 0.16; 'normally.': 0.16; 'output?': 0.16; 'webapp': 0.16; 'wrote:': 0.17; 'module': 0.19; 'thanks.': 0.21; 'occurs': 0.22; 'wednesday,': 0.22; 'help.': 0.22; 'cheers,': 0.23; 'cc:2**0': 0.23; 'errors': 0.23; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; 'module.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'chris': 0.28; 'normal.': 0.29; 'thinks': 0.29; 'url:mailman': 0.29; 'maybe': 0.29; 'error': 0.30; 'december': 0.32; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'message.': 0.33; 'problem': 0.33; 'anyone': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'server': 0.35; 'received:209.85': 0.35; 'explain': 0.36; 'url:org': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'header:Received:5': 0.40; 'url:mail': 0.40; 'your': 0.60; '26,': 0.65; 'subject:get': 0.81; 'sender:addr:chris': 0.84; 'url:rebertia': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=e+xl33YGm6u8WPWJ0IVv3TCaL3pf5e/iQex7RKVWZ2c=; b=WVR4R2HiR7MykIsJJ7izEBDsz3rquM3MzNd7m9IUAyJG2y80ZUAVc2fwYFmxprtg3n Q0bAhvfUBJlXAqClp+BAJ3mk5SQlTEF6+BSN7Jd87EVmMuAckxGwKDRuqKS00Sd+PaW8 t8nl1INXvqUBFpNTHjoNqUg7YkQ6k5xAtEGp0= |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=e+xl33YGm6u8WPWJ0IVv3TCaL3pf5e/iQex7RKVWZ2c=; b=JsYfdnf9ZnM2VM+oFar37wGhkMIG88d/NS3btwT54AVCYrGEqk3D5ZREffhZoFGQ6W OqBCkzrbmwuGuHAAdDjljjfuujpfYiRKplrNfybPeTUP+cjpsKZSuOJVL+xaYQkEjD/h YOaICSRhUhrqsLDJ1tchdt/n2ym+PeQHcfouc84KhLo1S5yFYX9PRDSYLm84x9oX/H62 fIKktfIuvkXb2Hxqo1sClbpsqKCFid6q3vWSSclAv76eUJfRZYtIL8ua0zDfbcapCXpT CmBPonCLgPIrKiQzPK8a/BbcaFEqRA392wr1nOgYFwsZQT7OQM5FSZrkaTlPUDNfpzWa NmXA== |
| MIME-Version | 1.0 |
| Sender | chris@rebertia.com |
| In-Reply-To | <5692cd23-84e0-46d4-b48c-5c11a5377c0a@googlegroups.com> |
| References | <5692cd23-84e0-46d4-b48c-5c11a5377c0a@googlegroups.com> |
| Date | Wed, 26 Dec 2012 09:34:38 -0800 |
| X-Google-Sender-Auth | 1MTnA-v4rX9txlhoBIG2oJdMtLo |
| Subject | Re: How to get time.strptime()? |
| From | Chris Rebert <clp2@rebertia.com> |
| To | Gnarlodious <gnarlodious@gmail.com> |
| Content-Type | multipart/alternative; boundary=f46d0447850d3ceedd04d1c4d848 |
| X-Gm-Message-State | ALoCoQnq3GHMCyLSw6OB+inaJjeeEcKqr7htgszD4fOKGoljhCupqZsVnLv8lRHdD7pauBMGkFLY |
| Cc | "python-list@python.org" <python-list@python.org> |
| 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.1290.1356543281.29569.python-list@python.org> (permalink) |
| Lines | 80 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356543281 news.xs4all.nl 6840 [2001:888:2000:d::a6]:43388 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35532 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Wednesday, December 26, 2012, Gnarlodious wrote: > Error: AttributeError: 'module' object has no attribute '_strptime' > Please include the full Traceback, not just the final error message. This problem is driving me crazy. It only happens in Python 3.3.0, while on > my server running 3.1.3 it behaves as expected. When I try to access > time.strptime() it errors with > > AttributeError: 'module' object has no attribute '_strptime'. Might be the wrong `time` module. What's `print time.__file__` output? Did you perchance create a time.py file in your project? This error only occurs under mod_wsgi, when running as a one-shot webapp it > behaves normally. All other functionalities of the time module are normal. > > If anyone could explain why it thinks I want an underscored name maybe it > would help. > > Thanks. > > -- Gnarlie > -- > http://mail.python.org/mailman/listinfo/python-list > -- Cheers, Chris -- http://rebertia.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-26 08:33 -0800
Re: How to get time.strptime()? Chris Rebert <clp2@rebertia.com> - 2012-12-26 09:34 -0800
Re: How to get time.strptime()? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-26 17:43 +0000
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-26 11:18 -0800
RE: How to get time.strptime()? Nick Cash <nick.cash@npcinternational.com> - 2012-12-26 21:06 +0000
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-26 19:09 -0800
Re: How to get time.strptime()? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-27 04:40 +0000
Re: How to get time.strptime()? Roy Smith <roy@panix.com> - 2012-12-26 23:53 -0500
Re: How to get time.strptime()? Mitya Sirenef <msirenef@lightbird.net> - 2012-12-27 00:06 -0500
Re: How to get time.strptime()? Chris Angelico <rosuav@gmail.com> - 2012-12-27 16:41 +1100
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-26 22:19 -0800
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-26 22:19 -0800
Re: How to get time.strptime()? Ben Finney <ben+python@benfinney.id.au> - 2012-12-27 17:24 +1100
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-26 19:09 -0800
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-27 16:33 -0800
Re: How to get time.strptime()? Ian Kelly <ian.g.kelly@gmail.com> - 2012-12-27 19:47 -0700
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-27 19:48 -0800
Re: How to get time.strptime()? Gnarlodious <gnarlodious@gmail.com> - 2012-12-27 19:48 -0800
csiph-web