A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022758.html below:

[Python-Dev] Release Schedules (was Stability & change)

[Python-Dev] Release Schedules (was Stability & change) [Python-Dev] Release Schedules (was Stability & change)Alex Martelli aleax@aleax.it
Tue, 9 Apr 2002 08:52:34 +0200
On Tuesday 09 April 2002 08:42, Tim Peters wrote:
	...
> > unified ints/longs,
>
> People are definitely going to howl about finishing this one.  People who
> used to strip the trailing 'L' from str(long) via str(long)[:-1] found
> themselves throwing away the last digit after str(long) stopped producing
> a trailing 'L'.  What did they do instead?  Almost every workaround I've

Giving strip methods an optional arguments, the characters that are
OK to throw away (stopping the stripping when a not-to-be-thrown-
away character shows up -- defaulting to whitespace like now of course), 
would help here and also with other related issues such as emulating Perl's 
"chomp".  I also think it's the kind of change that would be OK in a minor 
release in the stable branch.


Alex




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4