[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


STINNER Victor  added the comment:

New changeset bfe1f74e39d0049a829962050e86a6a2d2a2781e by Victor Stinner in 
branch '3.8':
[3.8] bpo-3832: Fix compiler warnings (GH-16518)
https://github.com/python/cpython/commit/bfe1f74e39d0049a829962050e86a6a2d2a2781e

(oops, I made a typo in the bpo number in the commit title.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


STINNER Victor  added the comment:

Ok, most warnings have been fixed in 3.8 and master. I close the issue.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset bfe1f74e39d0049a829962050e86a6a2d2a2781e by Victor Stinner in 
branch '3.8':
[3.8] bpo-3832: Fix compiler warnings (GH-16518)
https://github.com/python/cpython/commit/bfe1f74e39d0049a829962050e86a6a2d2a2781e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +16109
pull_request: https://github.com/python/cpython/pull/16518

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 6314abcc08f5d0f3d3a915dc9455ea223fa65517 by Victor Stinner in 
branch 'master':
bpo-37802: Fix a compiler warning in longobject.c (GH-16517)
https://github.com/python/cpython/commit/6314abcc08f5d0f3d3a915dc9455ea223fa65517


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +16108
pull_request: https://github.com/python/cpython/pull/16517

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 2f90261280e36a179831d72ce794115be31c88bb by Victor Stinner in 
branch 'master':
bpo-38321: Fix compiler warning in _randommodule.c (GH-16512)
https://github.com/python/cpython/commit/2f90261280e36a179831d72ce794115be31c88bb


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +16102
pull_request: https://github.com/python/cpython/pull/16512

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread Ma Lin


Ma Lin  added the comment:

> This file is copied directly from https://github.com/libexpat/libexpat/ > 
> project. Would you mind to propose your patch there?

ok, I will report to there.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-10-01 Thread STINNER Victor


STINNER Victor  added the comment:

> d:\dev\cpython\modules\expat\xmltok.c

This file is copied directly from https://github.com/libexpat/libexpat/ 
project. Would you mind to propose your patch there?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread Ma Lin


Ma Lin  added the comment:

Other warnings:

c:\vstinner\python\master\objects\longobject.c(420): warning C4244: 'function': 
conversion from 'unsigned __int64' to 'sdigit', possible loss of data

c:\vstinner\python\master\objects\longobject.c(428): warning C4267: 'function': 
conversion from 'size_t' to 'sdigit', possible loss of data
-
These warnings only appear in master branch, I will fix it at some point.
(https://bugs.python.org/issue35696#msg352903)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread Ma Lin


Ma Lin  added the comment:

On my Windows, some non-ASCII characters cause this warning:

d:\dev\cpython\modules\expat\xmltok.c : warning C4819: 
The file contains a character that cannot be represented in
the current code page (936). Save the file in Unicode format
to prevent data loss.

This patch fixes the warnings, it's applicable to master/3.8 branches.
https://github.com/animalize/cpython/commit/daced7575ec70ef1f888c6854760e230cda5ea64

Maybe this trivial problem is not worth a new commit, it can be fixed along 
with other warnings.

--
nosy: +Ma Lin

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset aca8c406ada3bb547765b262bed3ac0cc6be8dd3 by Victor Stinner in 
branch 'master':
bpo-38321: Fix _testcapimodule.c warning (GH-16494)
https://github.com/python/cpython/commit/aca8c406ada3bb547765b262bed3ac0cc6be8dd3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread Vinay Sajip


Vinay Sajip  added the comment:


New changeset c9a413ede47171a224c72dd34122005170caaad4 by Vinay Sajip (Victor 
Stinner) in branch 'master':
bpo-38321: Fix PyCStructUnionType_update_stgdict() warning (GH-16492)
https://github.com/python/cpython/commit/c9a413ede47171a224c72dd34122005170caaad4


--
nosy: +vinay.sajip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset efe74b6369a8d08f27c69703fcc1686966e51068 by Victor Stinner in 
branch 'master':
bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493)
https://github.com/python/cpython/commit/efe74b6369a8d08f27c69703fcc1686966e51068


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +16082
pull_request: https://github.com/python/cpython/pull/16494

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +16080
pull_request: https://github.com/python/cpython/pull/16493

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +16078
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/16492

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


STINNER Victor  added the comment:

And more:

c:\vstinner\python\master\modules\_testcapimodule.c(6409): warning C4146: unary 
minus operator applied to unsigned type, result still unsigned

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


STINNER Victor  added the comment:

Other warnings:

c:\vstinner\python\master\objects\longobject.c(420): warning C4244: 'function': 
conversion from 'unsigned __int64' to 'sdigit', possible loss of data

c:\vstinner\python\master\objects\longobject.c(428): warning C4267: 'function': 
conversion from 'size_t' to 'sdigit', possible loss of data

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38321] Compiler warnings when building Python 3.8

2019-09-30 Thread STINNER Victor


Change by STINNER Victor :


--
title: Windows: compiler warnings when building Python 3.8 -> Compiler warnings 
when building Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com