Hi everyone, My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k. Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important). Thanks, Prashant Kumar
Hello. Thank you for the offer! On Tue, Sep 07, 2010 at 06:36:10PM +0530, Prashant Kumar wrote:
My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k.
Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important).
As there is already Python 3.2 alpha, the core of Python has already been ported - and this mailing list is for discussion of development of the very Python, not about working on 3rd-party libraries. I don't know if there are "near core" unported libraries that the core team would want to be ported. Hence the question belongs rather to python generic news groups/mailing lists/fora. See http://www.python.org/community/ . As for my personal preferences - I would like to see these ported: -- database drivers, especially MySQL-python and psycopg; -- GUI frameworks, especially wxPython. Oleg. -- Oleg Broytman http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
On 01:33 pm, phd@phd.pp.ru wrote:
Hello. Thank you for the offer!
On Tue, Sep 07, 2010 at 06:36:10PM +0530, Prashant Kumar wrote:
My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k.
Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important).
As there is already Python 3.2 alpha, the core of Python has already been ported - and this mailing list is for discussion of development of the very Python, not about working on 3rd-party libraries.
How about the email package? Jean-Paul
On 07/09/2010 15:02, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
Hello. Thank you for the offer!
On Tue, Sep 07, 2010 at 06:36:10PM +0530, Prashant Kumar wrote:
My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k.
Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important).
As there is already Python 3.2 alpha, the core of Python has already been ported - and this mailing list is for discussion of development of the very Python, not about working on 3rd-party libraries.
How about the email package?
Right, and there are other standard library modules (cgi, ftplib, nntplib, etc) that either need fixing or auditing as to how they handle bytes / strings. Michael
Jean-Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.u...
-- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
On Tue, Sep 7, 2010 at 7:45 PM, Michael Foord <fuzzyman@voidspace.org.uk>wrote:
On 07/09/2010 15:02, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
Hello. Thank you for the offer!
On Tue, Sep 07, 2010 at 06:36:10PM +0530, Prashant Kumar wrote:
My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k.
Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important).
As there is already Python 3.2 alpha, the core of Python has already been ported - and this mailing list is for discussion of development of the very Python, not about working on 3rd-party libraries.
How about the email package?
Right, and there are other standard library modules (cgi, ftplib, nntplib, etc) that either need fixing or auditing as to how they handle bytes / strings.
Sure I will look into this. Could you please point me towards the repository(I'd love it if I could use mercurial for the development process rather than svn)?. pk
Michael
Jean-Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.u...
-- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/contactprashantat%40gmail....
Sure I will look into this. Could you please point me towards the repository(I'd love it if I could use mercurial for the development process rather than svn)?.
Core developers still use Subversion (we’re in the process of switching), but you can clone the mirror at http://code.python.org/hg/branches/py3k/ and use named branches for your work. You can look for bugs needing patches on bugs.python.org or open reports and then post patches. The email package is a high-priority task, but it’s not trivial. R. David Murray and Shashwat Anand will maybe comment about the status of the port. Other interesting bugs: http://bugs.python.org/issue7962 http://bugs.python.org/issue8077 Maybe you can post a call on python-list and form a small group of py3k porters. Happy hacking
Other interesting bugs: http://bugs.python.org/issue7962 http://bugs.python.org/issue8077
Thanks, I will look into these bugs and see if I can fix them.
Maybe you can post a call on python-list and form a small group of py3k porters.
I have already mailed the python-list ML and am expecting a reply. pk
On Tue, 7 Sep 2010 20:12:26 +0530 Prashant Kumar <contactprashantat@gmail.com> wrote:
Right, and there are other standard library modules (cgi, ftplib, nntplib, etc) that either need fixing or auditing as to how they handle bytes / strings.
Sure I will look into this. Could you please point me towards the repository(I'd love it if I could use mercurial for the development process rather than svn)?.
http://code.python.org/hg/branches/py3k/ Also don't forget to check for relevant issues on http://bugs.python.org For example, NNTP-related issues (either bugs or feature wishes): http://bugs.python.org/issue1926 http://bugs.python.org/issue7644 Regards Antoine.
On 9/7/2010 10:15 AM, Michael Foord wrote:
Right, and there are other standard library modules (cgi, ftplib, nntplib, etc) that either need fixing or auditing as to how they handle bytes / strings.
If you wanted to help with the documentation of the stdlib, one thing that needs to be done is run doctest over the examples. See http://bugs.python.org/issue9730 for an example where the examples were not properly ported (two 'b' prefixes need to be added). Of course, there are other errors to be found. More contributions from additional contributors are welcome! -- Terry Jan Reedy
On 9/7/2010 10:15 AM, Michael Foord wrote:
On 07/09/2010 15:02, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
Hello. Thank you for the offer!
On Tue, Sep 07, 2010 at 06:36:10PM +0530, Prashant Kumar wrote:
My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k.
Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important).
As there is already Python 3.2 alpha, the core of Python has already been ported - and this mailing list is for discussion of development of the very Python, not about working on 3rd-party libraries.
How about the email package?
Right, and there are other standard library modules (cgi, ftplib, nntplib, etc) that either need fixing or auditing as to how they handle bytes / strings.
Including, to my certain knowledge, the mailbox handling code, though writing code to read them sequentially is fairly easy. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 DjangoCon US September 7-9, 2010 http://djangocon.us/ See Python Video! http://python.mirocommunity.org/ Holden Web LLC http://www.holdenweb.com/
On Tue, Sep 07, 2010 at 02:02:59PM -0000, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
As there is already Python 3.2 alpha, the core of Python has already been ported
How about the email package?
What about email? It is a core library, right? It has been ported AFAIK. Or have I missed something? Oleg. -- Oleg Broytman http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
On 02:34 pm, phd@phd.pp.ru wrote:
On Tue, Sep 07, 2010 at 02:02:59PM -0000, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
As there is already Python 3.2 alpha, the core of Python has already been ported
How about the email package?
What about email? It is a core library, right? It has been ported AFAIK. Or have I missed something?
Are you just assuming that because there have been 3.x releases, everything in the standard library works properly in 3.x? Or do you know something about the email package specifically? Last I checked, there were a number of outstanding issues with email in 3.x. And as Michael Foord pointed out, there are other standard library modules in the same state. Jean-Paul
On Tue, Sep 07, 2010 at 02:58:41PM -0000, exarkun@twistedmatrix.com wrote:
On 02:34 pm, phd@phd.pp.ru wrote:
On Tue, Sep 07, 2010 at 02:02:59PM -0000, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
As there is already Python 3.2 alpha, the core of Python has already been ported
How about the email package?
What about email? It is a core library, right? It has been ported AFAIK. Or have I missed something?
Are you just assuming that because there have been 3.x releases, everything in the standard library works properly in 3.x? Or do you know something about the email package specifically?
Yes, I assumed that because the core team planned a beta release of 3.2 for October. "3.2" sounds more stable and complete than "3.0".
Last I checked, there were a number of outstanding issues with email in 3.x. And as Michael Foord pointed out, there are other standard library modules in the same state.
I see. Thank you for the clarification. I am sorry for being so haste. Oleg. -- Oleg Broytman http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
On Tue, 07 Sep 2010 18:34:49 +0400, Oleg Broytman <phd@phd.pp.ru> wrote:
On Tue, Sep 07, 2010 at 02:02:59PM -0000, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
As there is already Python 3.2 alpha, the core of Python has already been ported
How about the email package?
What about email? It is a core library, right? It has been ported AFAIK. Or have I missed something?
Some bug reports, perhaps? Email has been "ported" in the sense that all the existing tests pass under py3k. It is not, however, fully functional: it cannot handle input that contains binary data with the high bit set. (To put it another way, the python3 email package currently handles only 7bit clean data.) This has various unfortunate consequences for other standard library packages (cgi, nntp, etc) that depend directly or indirectly on the email package. To fix this the email package API and a chunk of the internals needs to be redesigned so that it can handle bytes while still providing a string-based interface to the textual data. This is no small task, since email in python2 has been getting away with all kinds of dirty tricks because of the lack of a clean bytes/string separation in python2. See http://launchpad.net/python-email6 for current status of the project. Prashant Kumar, if you would like to help with the email6 project, please sign up to the email-sig mailing list and introduce yourself there. All help is welcome! It is not a "porting" project strictly speaking, but it certainly is interesting :) -- R. David Murray www.bitdance.com
On 9/7/2010 11:37 AM, R. David Murray wrote:
On Tue, 07 Sep 2010 18:34:49 +0400, Oleg Broytman <phd@phd.pp.ru> wrote:
On Tue, Sep 07, 2010 at 02:02:59PM -0000, exarkun@twistedmatrix.com wrote:
On 01:33 pm, phd@phd.pp.ru wrote:
As there is already Python 3.2 alpha, the core of Python has already been ported
How about the email package?
What about email? It is a core library, right? It has been ported AFAIK. Or have I missed something?
Some bug reports, perhaps?
Email has been "ported" in the sense that all the existing tests pass under py3k. It is not, however, fully functional: it cannot handle input that contains binary data with the high bit set. (To put it another way, the python3 email package currently handles only 7bit clean data.) This has various unfortunate consequences for other standard library packages (cgi, nntp, etc) that depend directly or indirectly on the email package.
To fix this the email package API and a chunk of the internals needs to be redesigned so that it can handle bytes while still providing a string-based interface to the textual data. This is no small task, since email in python2 has been getting away with all kinds of dirty tricks because of the lack of a clean bytes/string separation in python2.
See http://launchpad.net/python-email6 for current status of the project.
Prashant Kumar, if you would like to help with the email6 project, please sign up to the email-sig mailing list and introduce yourself there. All help is welcome! It is not a "porting" project strictly speaking, but it certainly is interesting :)
And if anyone knows people who would help with *funding* this effort the PSF very much wants to talk to them. This ought logically to include everyone using "Mailman". I would imagine if we had $10 from 1% of its users we would be able to fund the effort comfortably. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 DjangoCon US September 7-9, 2010 http://djangocon.us/ See Python Video! http://python.mirocommunity.org/ Holden Web LLC http://www.holdenweb.com/
On Tue, Sep 7, 2010 at 11:33 PM, Oleg Broytman <phd@phd.pp.ru> wrote:
-- GUI frameworks, especially wxPython.
That would be very cool, but the practicality of it will depend on how current the version of SWIG used in wxPython's build process happens to be. A version of wxPython built around SWIG's -py3 option could be quite interesting. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
Hello,
My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k.
Is there anyway I could obtain a list of libraries which need to be ported over to python3k, sorted by importance(by importance i mean packages which serve as a dependency for larger number of packages being more important).
I think you should ask on comp.lang.python for people's suggestions. Also, be aware that some libraries might already be in the process of being ported. If you consider working on a library, it is probably good practice to first ask its authors about the status of py3k porting. I hope you'll find a place where you can contribute. Regards Antoine.
participants (10)
-
Antoine Pitrou
-
exarkun@twistedmatrix.com
-
Michael Foord
-
Nick Coghlan
-
Oleg Broytman
-
Prashant Kumar
-
R. David Murray
-
Steve Holden
-
Terry Reedy
-
Éric Araujo