[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2018-07-20 Thread Orlando
Orlando added the comment: Thanks, Mariatta and Windson. I'll make a PR for the change. -- ___ Python tracker <https://bugs.python.org/issue34161> ___ ___

[issue34161] Tutorial 7.1 str.format() code example syntax error

2018-07-19 Thread Orlando
New submission from Orlando : Tutorial 7.1 str.format() example (https://docs.python.org/3.7/tutorial/inputoutput.html#fancier-output-formatting): [1]yes_votes = 42_572_654 ; no_votes = 43_132_495 [2]percentage = (yes_votes/(yes_votes+no_votes) [3]'{:-9} YES votes {:2.2%}'.format

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-21 Thread Orlando Irrazabal
Orlando Irrazabal added the comment: Amoury, you are right, when i unset the PYTHONHOME environment variable the program run. The output was: r...@host:python-2.6.5# ./python -m test.regrtest -w test_grammar test_opcodes test_dict test_builtin test_exceptions test_types test_unittest

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Orlando Irrazabal
Orlando Irrazabal added the comment: I answer your questions - yes, i have a file named /sw_install/python-2.6.5/Lib/site.py - the output for the commands "import sys; print sys.path" is: ['', '/sw_install/python-2.6.5/lib/python26.zip', '/sw

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Orlando Irrazabal
Orlando Irrazabal added the comment: Sorry, i didn't send that because the output is the same: r...@host:python-2.6.5# ./python -m test.regrtest -w -v 'import site' failed; use -v for traceback Could not import runpy module r...@catastrix:python-2.6.5# ./python -v # installing

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-19 Thread Orlando Irrazabal
Orlando Irrazabal added the comment: Antonie, you are right, the interpreter was compiled fine, this is the output when i run python r...@host:python-2.6.5# ./python 'import site' failed; use -v for traceback Python 2.6.5 (r265:79063, May 18 2010, 19:19:48) [C] on aix5 Type "he

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-18 Thread Orlando Irrazabal
New submission from Orlando Irrazabal : Build of Python 2.6.5 on AIX 5.3 fails with the below error message. The configure line is: ./configure [...] building '_multiprocessing' extension cc_r -qlanglvl=extc89 -DNDEBUG -O -DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_T