[issue7018] Recommend "*" over "#" in getargs.c typecodes

2020-10-22 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7018] Recommend "*" over "#" in getargs.c typecodes

2019-03-15 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7018] Recommend "*" over "#" in getargs.c typecodes

2015-04-20 Thread Mark Lawrence

Mark Lawrence added the comment:

The 3.x arg.html seems a great improvement to my eye compared to the 2.x 
version so I'd guess this can be closed as out of date.

--
nosy: +BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7018] Recommend "*" over "#" in getargs.c typecodes

2009-09-29 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

This only really applies in 2.x, actually. In 3.x, "#" should be
discouraged for another reason: it is overly strict and will only accept
pure read-only objects (which don't have a bf_releasebuffer method);
even bytearrays will be rejected.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7018] Recommend "*" over "#" in getargs.c typecodes

2009-09-29 Thread Antoine Pitrou

New submission from Antoine Pitrou :

In « Parsing arguments and building values » (c-api/arg.html), it should
be made clear that "*" typecodes are recommended over the "#" typecodes,
which are inherently unsafe.

(more generally, the page is totally unreadable, a solution might be to
group the typecodes by family: numbers, strings/buffers, objects; also,
there are so many choices that it's confusing which ones should be
preferred)

--
assignee: georg.brandl
components: Documentation, Interpreter Core
messages: 93276
nosy: georg.brandl, pitrou
priority: normal
severity: normal
status: open
title: Recommend "*" over "#" in getargs.c typecodes
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com