You have been subscribed to a public bug:

[Steps to Reproduce]
1. Install pythonpy on Ubuntu 24.04.02 LTS
2. Run: py '3*1.5'

[Expected Result]
Only output "4.5" without warnings.

[Actual Result]
Output includes SyntaxWarning:
/usr/bin/py:29: SyntaxWarning: invalid escape sequence '\.'

[Affected Files]
/usr/bin/py (lines 29, 31)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python3 3.12.3-0ubuntu2
ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-21-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 10 23:59:11 2025
InstallationDate: Installed on 2025-04-07 (3 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: python3-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
     Assignee: alex (alexanderwang)
         Status: New


** Tags: amd64 apport-bug noble
-- 
run py '9 * 2' in terminal show SyntaxWarning
https://bugs.launchpad.net/bugs/2106752
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to python3-defaults in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to