> On Jul 31, 2020, at 10:27, Neil Penning <neil@penning.email> wrote:
> 
> Hello, I'm new to sagemath, and I stumbled upon a bug and I don't know where 
> else to report it.
> 
> The preparser seems to have no problem with "cd test123" but has a problem 
> with "cd test-123" (see screenshot)

Ha!  I don’t know if that has ever been noticed before.  Good catch!

FWIW, there’s a “magic” version that avoids this issue: “%cd”, viz:

> sage: cd /tmp/this-1/
> [Errno 2] No such file or directory: '/tmp/this-Integer(1)/'
> /private/tmp
> sage: %cd /tmp/this-1/
> /private/tmp/this-1

Given the workaround, I don’t know that it’s worth a trac report, but if you 
think so, make one.

HTH

Justin

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/1F098B77-5B5B-40FF-8A78-5FBAA69A75D1%40mac.com.

Reply via email to