Sounds good for me. Recentily I had problems with it ( https://bugs.launchpad.net/openlp/+bug/1689131).
Thank you Phill! 2017-08-03 5:48 GMT-03:00 Philip Ridout <[email protected]>: > OpenLP currently uses string objects to represent file and directory > paths. From Python 3.4 pathlib, a new module introducing a Path object, was > included in the standard library. > Switching to this Path object will allow us to deal with file paths on > different platforms easier. In some cases it also reduces LOC and in my > opinion makes the code cleaner and easier to read. > > As trb commented "[it's] cleaver and a different mindset." > > Superfly particularly liked the proposal for storing paths in a platform > independent way. > > This is going to be a big change, so will take quite a few merges. > In-between merges I will need to introduce temporary code too keep OpenLP > working until I can complete this transition. > > Finally I've created a wiki page with an explanation of the pathlib, some > proposals, samples of old v new code and some differences that I have come > across. Please have a read: https://wiki.openlp.org/Scratchpad:Paths > > Finally I would recommend the pathlib documentation at: > https://docs.python.org/3.4/library/pathlib.html > > Phill > > _______________________________________________ > openlp-dev mailing list > [email protected] > https://lists.openlp.io/mailman/listinfo/openlp-dev > > -- *Daniel Borges Ferreira da SilvaBacharel em Ciência da computação pela UFALMestrando em Informática pela UFALMembro do Núcleo de Excelência em Tecnologias Sociais - NEES* *Lattes: <http://lattes.cnpq.br/0755689140229552>http://lattes.cnpq.br/0755689140229552 <http://lattes.cnpq.br/0755689140229552>*
_______________________________________________ openlp-dev mailing list [email protected] https://lists.openlp.io/mailman/listinfo/openlp-dev
