Ask Your Question
0

Why did attach become stupid?

asked 2013-06-23 14:42:07 +0100

anonymous user

Anonymous

Recently, the attach feature poses two problems.

  1. It says that "attach" is deprecated and that we should use "%attach". Why?
  2. The real problem: "attach" and "%attach" now create a huge amount of stupid files in the folder. Why? How to prevent this?
  3. How could the Sage developers let such an annoying thing make it in a Sage release and, worse, not correct it in newer versions?

Thanks in advance!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-06-23 15:44:02 +0100

ppurka gravatar image

Sage developers are aware of this regression. Please follow ticket 14169 and ticket 14523, and give some positive feedback in the tickets if you want/can.

edit flag offensive delete link more
0

answered 2013-06-23 20:55:43 +0100

Volker Braun gravatar image

updated 2013-06-23 20:56:08 +0100

Its not fixed because YOU did nothing to help review the ticket ;-)

The preferred syntax is

attach('/path/to/filename.py')

since it is also valid Python syntax. Similar to the print operator going away in Python 3 and being replaced by an ordinary function.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-23 14:42:07 +0100

Seen: 259 times

Last updated: Jun 23 '13