[issue41337] strangnedd with the parser

2020-07-21 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to close this as not a python bug. If someone gets some evidence to the contrary, we can re-open it. -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tr

[issue41337] strangnedd with the parser

2020-07-21 Thread Steve Stagg
Steve Stagg added the comment: This appears to be a bug with the google colab site. For whatever reason, if you try to evaluate a statement that is a line with a leading comma (afaik, never valid python), then colab does something wierd by wrapping the arguments in quotes, and evaluating th

[issue41337] strangnedd with the parser

2020-07-19 Thread Eric V. Smith
Eric V. Smith added the comment: This doesn't appear to be a Python bug, but rather an issue with how you're using PyTorch. I suggest you ask for help on a PyTorch support forum, or maybe try StackOverflow. -- nosy: +eric.smith status: open -> pending ___

[issue41337] strangnedd with the parser

2020-07-19 Thread Justin Hodder
New submission from Justin Hodder : Here a colab that demostrates the bug https://colab.research.google.com/drive/1OWSEoV7Wx-EBA_2IprNZoASNvXIky3iC?usp=sharing the following code gives"received an invalid combination of arguments - got (Tensor, Tensor), but expected one of:" import torch t