[Python-Dev] Python Tests

2017-05-14 Thread Pranav Deshpande
Hello, everyone. I wanted to contribute to Python so I began by following
the steps given here: https://docs.python.org/devguide/

WHile executing

./python -m test -j3

I encountered the following error:
383 tests OK.

1 test failed:
test_re

21 tests skipped:
test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_kqueue
test_msilib test_ossaudiodev test_smtpnet test_socketserver
test_startfile test_timeout test_tix test_tk test_ttk_guionly
test_urllib2net test_urllibnet test_winconsoleio test_winreg
test_winsound test_xmlrpc_net test_zipfile64

Total duration: 24 min 25 sec
Tests result: FAILURE

How do I resolve this?

Regards,

Pranav.
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python Tests

2017-05-14 Thread Serhiy Storchaka

On 14.05.17 18:04, Pranav Deshpande wrote:

Hello, everyone. I wanted to contribute to Python so I began by
following the steps given here: https://docs.python.org/devguide/

WHile executing

./python -m test -j3

I encountered the following error:
383 tests OK.

1 test failed:
test_re

21 tests skipped:
test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_kqueue
test_msilib test_ossaudiodev test_smtpnet test_socketserver
test_startfile test_timeout test_tix test_tk test_ttk_guionly
test_urllib2net test_urllibnet test_winconsoleio test_winreg
test_winsound test_xmlrpc_net test_zipfile64

Total duration: 24 min 25 sec
Tests result: FAILURE

How do I resolve this?


Run the failed test in verbose mode:

./python -m test -v test_re

Get the traceback, search on the bug tracker whether this bug already 
was reported (I suppose you have the en_IN locale and this is issue29571 
[1]), and if nothing is found open a new ticket. Now read the code and 
try to find the cause of the bug and write a patch that fixes it. If 
this is issue29571, the cause is known, and several solutions was 
proposed, but the problem is deeper.


[1] https://bugs.python.org/issue29571


___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python Tests

2017-05-14 Thread Guido van Rossum
What is it that you wanted to contribute? Unless it affects regular
expressions  you probably needn't worry about that one test. (If you do,
run the test by itself in verbose mode so you can debug why it is failing.)

On Sun, May 14, 2017 at 8:04 AM, Pranav Deshpande <
[email protected]> wrote:

> Hello, everyone. I wanted to contribute to Python so I began by following
> the steps given here: https://docs.python.org/devguide/
>
> WHile executing
>
> ./python -m test -j3
>
> I encountered the following error:
> 383 tests OK.
>
> 1 test failed:
> test_re
>
> 21 tests skipped:
> test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_kqueue
> test_msilib test_ossaudiodev test_smtpnet test_socketserver
> test_startfile test_timeout test_tix test_tk test_ttk_guionly
> test_urllib2net test_urllibnet test_winconsoleio test_winreg
> test_winsound test_xmlrpc_net test_zipfile64
>
> Total duration: 24 min 25 sec
> Tests result: FAILURE
>
> How do I resolve this?
>
> Regards,
>
> Pranav.
>
>
>
>
> ___
> Python-Dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> guido%40python.org
>
>


-- 
--Guido van Rossum (python.org/~guido)
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python Tests

2017-05-14 Thread Pranav Deshpande
I just wanted to start contributing to open-source; that is all. I was
going to ask for guidance after I completed the initial steps( search for
beginner friendly bugs) and get a general idea of the code. How do I go
about doing this?

Regards,
Pranav

On Sun, May 14, 2017 at 9:42 PM, Guido van Rossum  wrote:

> What is it that you wanted to contribute? Unless it affects regular
> expressions  you probably needn't worry about that one test. (If you do,
> run the test by itself in verbose mode so you can debug why it is failing.)
>
> On Sun, May 14, 2017 at 8:04 AM, Pranav Deshpande <
> [email protected]> wrote:
>
>> Hello, everyone. I wanted to contribute to Python so I began by following
>> the steps given here: https://docs.python.org/devguide/
>>
>> WHile executing
>>
>> ./python -m test -j3
>>
>> I encountered the following error:
>> 383 tests OK.
>>
>> 1 test failed:
>> test_re
>>
>> 21 tests skipped:
>> test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_kqueue
>> test_msilib test_ossaudiodev test_smtpnet test_socketserver
>> test_startfile test_timeout test_tix test_tk test_ttk_guionly
>> test_urllib2net test_urllibnet test_winconsoleio test_winreg
>> test_winsound test_xmlrpc_net test_zipfile64
>>
>> Total duration: 24 min 25 sec
>> Tests result: FAILURE
>>
>> How do I resolve this?
>>
>> Regards,
>>
>> Pranav.
>>
>>
>>
>>
>> ___
>> Python-Dev mailing list
>> [email protected]
>> https://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe: https://mail.python.org/mailman/options/python-dev/guido%
>> 40python.org
>>
>>
>
>
> --
> --Guido van Rossum (python.org/~guido)
>
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python Tests

2017-05-14 Thread Camilla
hi Pranav,
the core-mentorship mailing list is a friendly group that can help you get
started and answer questions. You can find out more about the Python Core
Mentorship  initiative here.

Kind regards,
Camilla

2017-05-14 19:24 GMT+01:00 Pranav Deshpande :

> I just wanted to start contributing to open-source; that is all. I was
> going to ask for guidance after I completed the initial steps( search for
> beginner friendly bugs) and get a general idea of the code. How do I go
> about doing this?
>
> Regards,
> Pranav
>
> On Sun, May 14, 2017 at 9:42 PM, Guido van Rossum 
> wrote:
>
>> What is it that you wanted to contribute? Unless it affects regular
>> expressions  you probably needn't worry about that one test. (If you do,
>> run the test by itself in verbose mode so you can debug why it is failing.)
>>
>> On Sun, May 14, 2017 at 8:04 AM, Pranav Deshpande <
>> [email protected]> wrote:
>>
>>> Hello, everyone. I wanted to contribute to Python so I began by
>>> following the steps given here: https://docs.python.org/devguide/
>>>
>>> WHile executing
>>>
>>> ./python -m test -j3
>>>
>>> I encountered the following error:
>>> 383 tests OK.
>>>
>>> 1 test failed:
>>> test_re
>>>
>>> 21 tests skipped:
>>> test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_kqueue
>>> test_msilib test_ossaudiodev test_smtpnet test_socketserver
>>> test_startfile test_timeout test_tix test_tk test_ttk_guionly
>>> test_urllib2net test_urllibnet test_winconsoleio test_winreg
>>> test_winsound test_xmlrpc_net test_zipfile64
>>>
>>> Total duration: 24 min 25 sec
>>> Tests result: FAILURE
>>>
>>> How do I resolve this?
>>>
>>> Regards,
>>>
>>> Pranav.
>>>
>>>
>>>
>>>
>>> ___
>>> Python-Dev mailing list
>>> [email protected]
>>> https://mail.python.org/mailman/listinfo/python-dev
>>> Unsubscribe: https://mail.python.org/mailma
>>> n/options/python-dev/guido%40python.org
>>>
>>>
>>
>>
>> --
>> --Guido van Rossum (python.org/~guido)
>>
>
>
> ___
> Python-Dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> camillamon%40gmail.com
>
>
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python Tests

2017-05-14 Thread Pranav Deshpande
Thank you. I redirecting my questions over there now.

Regards,
Pranav.

On Mon, May 15, 2017 at 12:08 AM, Camilla  wrote:

> hi Pranav,
> the core-mentorship mailing list is a friendly group that can help you get
> started and answer questions. You can find out more about the Python Core
> Mentorship  initiative here.
>
> Kind regards,
> Camilla
>
> 2017-05-14 19:24 GMT+01:00 Pranav Deshpande 
> :
>
>> I just wanted to start contributing to open-source; that is all. I was
>> going to ask for guidance after I completed the initial steps( search for
>> beginner friendly bugs) and get a general idea of the code. How do I go
>> about doing this?
>>
>> Regards,
>> Pranav
>>
>> On Sun, May 14, 2017 at 9:42 PM, Guido van Rossum 
>> wrote:
>>
>>> What is it that you wanted to contribute? Unless it affects regular
>>> expressions  you probably needn't worry about that one test. (If you do,
>>> run the test by itself in verbose mode so you can debug why it is failing.)
>>>
>>> On Sun, May 14, 2017 at 8:04 AM, Pranav Deshpande <
>>> [email protected]> wrote:
>>>
 Hello, everyone. I wanted to contribute to Python so I began by
 following the steps given here: https://docs.python.org/devguide/

 WHile executing

 ./python -m test -j3

 I encountered the following error:
 383 tests OK.

 1 test failed:
 test_re

 21 tests skipped:
 test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_kqueue
 test_msilib test_ossaudiodev test_smtpnet test_socketserver
 test_startfile test_timeout test_tix test_tk test_ttk_guionly
 test_urllib2net test_urllibnet test_winconsoleio test_winreg
 test_winsound test_xmlrpc_net test_zipfile64

 Total duration: 24 min 25 sec
 Tests result: FAILURE

 How do I resolve this?

 Regards,

 Pranav.




 ___
 Python-Dev mailing list
 [email protected]
 https://mail.python.org/mailman/listinfo/python-dev
 Unsubscribe: https://mail.python.org/mailma
 n/options/python-dev/guido%40python.org


>>>
>>>
>>> --
>>> --Guido van Rossum (python.org/~guido)
>>>
>>
>>
>> ___
>> Python-Dev mailing list
>> [email protected]
>> https://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe: https://mail.python.org/mailman/options/python-dev/camillamo
>> n%40gmail.com
>>
>>
>
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] PEP 545: Python Documentation Translations

2017-05-14 Thread Julien Palard via Python-Dev
Hi Brett,

On Wed, 29 Mar 2017 at 13:13 Julien Palard  wrote:

What kind of support does Read the Docs have for translations? I have no active 
plans to push for this but it has been idea in the back of my head for a while 
so it would be good to know if such a move would make this easier or harder.

[...]

Their language tags are simplified too (redundency removed (fr-FR → fr)) but 
not lowercased, and they
use underscore "instead of" dashes as a separator, see for example:

- https://docs.phpmyadmin.net/fr/latest/
- https://docs.phpmyadmin.net/pt_BR/latest/

while the PEP proposes /pt-br/ instead.

.. [1] Project with multiple translations
(https://docs.readthedocs.io/en/latest/localization.html#project-with-multiple-translations)

Should we just match what Read the Docs does then?

As I prefer our notation (/pt-br/) over Read the Docs one (/pt_BR/), I'd prefer 
if we stick on our notation. They are not against changing and looks like 
they're OK with our notation: 
https://github.com/rtfd/readthedocs.org/issues/2763

--
Julien Palard
https://mdk.fr___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com