https://bugs.documentfoundation.org/show_bug.cgi?id=147057

Ming Hua <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |[email protected]
             Status|UNCONFIRMED                 |NEEDINFO

--- Comment #1 from Ming Hua <[email protected]> ---
(In reply to peter.88213 from comment #0)
> The Python installation is in a subdirectory called "python-core-3.8.8", so
> I assumed that Python 3.8 is embedded.  
> However, the embedded Python does not support the "f-string" formatting
> feature introduced with Python 3.6.
The 7.1.8 version of LibreOffice (which you specified in the Version field)
indeed has python 3.8.8 embedded.

> state = 'not dead'
> opinion = f'This bird is {state}'
This f-string works fine for me with LO 7.1.7 on Windows 10, when directly run
in a Windows terminal (cmd.exe):

C:\Programs\LibreOffice\7.1.7\program>.\python.exe
Python 3.8.8rc1 (default, Oct 27 2021, 21:26:25) [MSC v.1928 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> state = 'not dead'
>>> opinion = f'This bird is {state}'
>>> print( opinion )
This bird is not dead

So something is wrong with either your Eclipse setup or your macro.  Please
describe your setup in more details and provide a macro example, or rather,
seek help in user-support forums and come back when you are sure the problem
exists in the LibreOffice program/framework itself instead of your local setup.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to