[Python-ideas] Re: Add symlinks option at shutil.move parameters

2019-12-20 Thread Guido van Rossum
Well, I should have read the source instead of the docs. :-( Contrary to what I thought, move() always preserves symlinks. Let's stop second-guessing until the OP responds. On Fri, Dec 20, 2019 at 11:43 Random832 wrote: > On Thu, Dec 19, 2019, at 17:43, Guido van Rossum wrote: > > A quick look

[Python-ideas] Re: Fixed point format for numbers with locale based separators

2019-12-20 Thread Michael Amrhein
Yes, you are right. Would it be a way out, to bind the "locale character" to the type? [[fill]align][sign][#][0][width][grouping_option][.precision][type[#|$]] ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to

[Python-ideas] Re: Fixed point format for numbers with locale based separators

2019-12-20 Thread Eric V. Smith
[[fill]align][sign][#][0][width][grouping_option][.precision][#|$][type] Could not distinguish the first and second #: everything between them is optional. Eric On 12/20/2019 7:13 AM, Michael Amrhein wrote: Eric V. Smith wrote: ... The current specification for the format spec is:

[Python-ideas] Re: Add symlinks option at shutil.move parameters

2019-12-20 Thread Random832
On Thu, Dec 19, 2019, at 17:43, Guido van Rossum wrote: > A quick look at the docs > shows what > the OP is likely after. > > The function has this signature: > > `shutil.``move`(*src*, *dst*, *copy_function=copy2*)ΒΆ >

[Python-ideas] Re: Fixed point format for numbers with locale based separators

2019-12-20 Thread Michael Amrhein
Eric V. Smith wrote: ... > The current specification for the format spec is: > [[fill]align][sign][#][0][width][grouping_option][.precision][type] > Let's say we change it to: > [[fill]align][sign][#][*|$][0][width][grouping_option][.precision][type] ... > Let's call the new [*|$] character the