This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezyang
Recipients ezyang, ned.deily
Date 2012-04-08.21:52:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"<stdin>" is a valid name of a file on Unix systems. So the fix is not so clear.

ezyang@javelin:~$ python
Python 2.7.2+ (default, Oct  4 2011, 20:03:08) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> a
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
    Here’s an idea: when a (multi-variable) calculus course arrives at the topic of the *chain rule*, it should use as a worked example the multilayer perceptron—a topic you usually only find in an introductory artificial intelligence course. In fact, it’s ideal, since the treatment of this topic in most AI courses (at this point, I’ve taken two—a byproduct of slightly mismatched class schedules when you study abroad) involves *no* extra theoretical computer science content whatsoever. If you know the definition of a multilayer perceptron, any Calculus student who knows the chain rule should be able to work out the back-propagation algorithm—or perhaps I should call it a *recurrence.* 
NameError: name 'a' is not defined
Date User Action Args
2012-04-08 21:52:19ezyangsetrecipients: + ezyang, ned.deily
2012-04-08 21:52:19ezyangsetmessageid: <>
2012-04-08 21:52:19ezyanglinkissue14531 messages
2012-04-08 21:52:19ezyangcreate