New submission from hervé :
Today it's not possible to deprecate CLI arguments designed with argparse, it
could be useful to introduce deprecation feature in argparse to allow
developers to inform their apps's users when an argument is planed to be
removed in
Change by hervé :
--
keywords: +patch
pull_requests: +17585
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18208
___
Python tracker
<https://bugs.python.org/issu
hervé added the comment:
First, thanks Raymond for your worth useful comment.
* Concerning the usage of the warning module what do you suggest to use then?
To use "print"?
* Concerning "hook or flag" and the 3 new params in my PR, I think developers
would appreciate
hervé added the comment:
hello,
First thanks everyone to took time to discute about this proposal.
This topic is now opened since ~1 months so I don't think we will more feedback
about this, then I will address all your comments in my changes soon to match
an implementation
Change by hervé :
--
pull_requests: +12015
___
Python tracker
<https://bugs.python.org/issue33927>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by hervé :
--
pull_requests: +7536
___
Python tracker
<https://bugs.python.org/issue33671>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Hervé Cauwelier :
Hexadecimals can be formatted to lower and uppercase:
>>> '{0:x}'.format(123)
'7b'
>>> '{0:X}'.format(123)
'7B'
I would like the same thing for strings:
>>> '{0.lastname:u} {0.firs
Hervé Cauwelier added the comment:
Thanks for the example. The Python 2.7 documentation about the mini-language
doesn't clearly state that it is extensible and how. we see examples of
formatting but not of extending.
Your example would be welcome in the document
New submission from Hervé Cauwelier :
Hi,
In class "ZipFile", method "write" accepts "compress_type" parameter but not
the "writestr" method.
I see no reason for this limitation and the change is trivial.
This is needed for generating ODF docum
New submission from Hervé Coatanhay :
On a fresh install from mercurial on macosx.
./python -SE -m sysconfig --generate-posix-vars
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
Assertion failed: (compact->utf8_length == 0), funct
New submission from Hervé Coatanhay :
Linux Version:
2.6.18-238.19.1.el5 / CentOS release 5.8 (Final)
Since changeset 71704:89e92e684b37 , I have the following compilation error:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes-I. -I./Include
Hervé Coatanhay added the comment:
I forgot to give glibc version: glibc-2.5-81
--
___
Python tracker
<http://bugs.python.org/issue14296>
___
___
Python-bug
Hervé Coatanhay added the comment:
I still have the exact same error
Maybe change should be:
#if !defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)
#undef HAVE_SCHED_SETAFFINITY
#endif
it seems CPU_ALLOC first appeared in g
Hervé Coatanhay added the comment:
You can consider it fixed, compilation runs OK now.
However I have an error on building _posixsubprocess.o when I do `make test`,
I'll report it in another ticket.
--
___
Python tracker
<http://bugs.py
New submission from Hervé Coatanhay :
Linux Version:
2.6.18-238.19.1.el5 / CentOS release 5.8 (Final)
On changeset 75803:b26056192653 , I have the following compilation error:
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -IInclude -I. -I./Include
New submission from Hervé Coatanhay:
With XCode 5.1 some changes were made to clang, making it impossible to build
Mac OS X installer.
Shipped SQLite and Sleepycat DB pass CFLAGS and LDFLAGS to compiler in their
compiler check in configure script.
In particular -syslibroot option is a linker
Hervé Coatanhay added the comment:
By the way it seems more like an SQLite / Sleepycat issue as LDFLAGS should be
passed to linker not compiler. Proposed modifications are just workarounds to
allow Mac installer creation on OS X 10.9.
--
___
Python
New submission from Hervé Coatanhay:
In python 2.7 this code works:
>>> import logging.config
>>> import StringIO
>>> a="""[loggers]
... keys = root
... [logger_root]
... handlers = ""
... [formatters]
... keys = ""
...
Hervé Coatanhay added the comment:
My complete configuration is this:
[loggers]
keys = app_admin,root,app_test_py3
[logger_root]
handlers = ""
[formatters]
keys = app_admin,app_test_py3
[handlers]
keys = app_admin,app_test_py3
[logger_app_admin]
propagate = 1
handlers = app_admi
Hervé Coatanhay added the comment:
Yes it does. I fixed my configuration generation and everything is running as
expected.
Thanks.
--
___
Python tracker
<http://bugs.python.org/issue17
20 matches
Mail list logo