Re: DeprecationWarning when installing master

2021-10-19 Thread José Abílio Matos
On Monday, 18 October 2021 12.29.49 WEST Jean-Pierre Chrétien wrote:
> Le 18/10/2021 à 13:22, Jean-Pierre Chrétien a écrit :
> > Dear developers
> > 
> > I get this :
> > 
> > $ sudo make install-strip >>make.log
> > -c:2: DeprecationWarning: the imp module is deprecated in favour of
> > importlib; see the module's documentation for alternative uses

I saw that and decided to ignore it for lyx2.4.
I intend to get rid of it after lyx 2.4 is out and move us finally to python 3 
only.

So it is not forgotten it just does not pay off all the work required to test 
with python 2 now. :-)
-- 
José Abílio


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Hashing without relying on Qt?

2021-10-19 Thread Thibaut Cuvelier
On Tue, 19 Oct 2021 at 05:58, Richard Kimberly Heck 
wrote:

> On 10/18/21 20:37, Thibaut Cuvelier wrote:
>
> Thank you Pavel and Riki for your feedback!
>
> Here is a refactoring of this code. As a result, the execution should be a
> tad slower: sanitizeFileName performs a copy of the string (instead of
> mutating its argument), while the original version did not, but it's only
> for file names, so it should not matter much (especially as the calling
> code would not be too strange).
>
> Is the code OK to push as is?
>
> Looks good to me.
>
Thanks, I've pushed it.
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel