[ET Trac] #2760: SyntaxWarnings Raised During Build Process with Python 3.12

Steven R. Brandt trac-noreply at einsteintoolkit.org
Tue Apr 16 22:15:30 CDT 2024


#2760: SyntaxWarnings Raised During Build Process with Python 3.12

 Reporter: Thiago Assumpcao
   Status: new
Milestone: 
  Version: ET_2023_05
     Type: bug
 Priority: major
Component: SimFactory

Comment (by Steven R. Brandt):

In particular, the problem comes about when this is called: `vv = eval(self.OriginalValue)`

This means that we could also cure it by putting an r in front of the quotes, e.g. `submitpattern   = r'Submitted batch job (\d+)'` 

Is this preferrable?

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2760/syntaxwarnings-raised-during-build-process
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240417/32858e1f/attachment.htm>


More information about the Trac mailing list