A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-December/084210.html below:

[Python-Dev] datetime.date.today() raises "AttributeError: time"

[Python-Dev] datetime.date.today() raises "AttributeError: time"James Y Knight foom at fuhm.net
Wed Dec 10 18:49:50 CET 2008
On Dec 10, 2008, at 5:55 AM, Lennart Regebro wrote:

> Turns out, I created an empty time.py in /tmp, just to see the error
> message. By buildout will when creating eggs from checked out modules,
> copy them to a directory under /tmp, and evidently run python from
> /tmp to create the eggs. So that process finds the time.pyc, created
> from the empty time.py, which I hadn't deleted, and breaks!

Sounds like a security hole in zc.buildout. Imagine someone *else*  
made a time.py in /tmp...

James
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4