platform/upstream/python3.git
23 months ago[CVE-2019-9674] bpo-36258: Add pitfalls to zipfile module documentation 28/294628/1 accepted/tizen_6.0_base accepted/tizen_6.0_base_tool tizen_6.0_base accepted/tizen/6.0/base/20230713.143034 accepted/tizen/6.0/base/tool/20230625.221407 submit/tizen_6.0_base/20230622.055407
JinWang An [Thu, 22 Jun 2023 02:08:20 +0000 (11:08 +0900)]
[CVE-2019-9674] bpo-36258: Add pitfalls to zipfile module documentation

We saw vulnerability warning description (including zip bomb) in Doc/library/xml.rst file.
This gave us the idea of documentation improvement.

So, we moved a little bit forward :P
And the doc patch can be found (pr).

Change-Id: I34950ddb584bfea20dc6e28f2df80c50608ac71b
Signed-off-by: JinWang An <jinwang.an@samsung.com>
23 months ago[CVE-2022-0391] bpo-43882 - urllib.parse should sanitize urls containing ASCII newlin... 74/294574/1
JinWang An [Wed, 21 Jun 2023 09:07:33 +0000 (18:07 +0900)]
[CVE-2022-0391] bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. (GH-25923)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 76cd81d60310d65d01f9d7b48a8985d8ab89c8b4)
Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
(cherry picked from commit 515a7bc4e13645d0945b46a8e1d9102b918cd407)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
From f4dac7ec55477a6c5d965e594e74bd6bda786903 Mon Sep 17 00:00:00 2001
From: "Miss Islington (bot)"
 <31488909+miss-islington@users.noreply.github.com>

Date: Thu, 6 May 2021 09:52:36 -0700

Change-Id: I91ca61624a632f61e79348d26d59bfbc6154afe9
Signed-off-by: JinWang An <jinwang.an@samsung.com>
23 months ago[CVE-2022-45061] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99232) 71/294571/1
JinWang An [Wed, 21 Jun 2023 08:01:59 +0000 (17:01 +0900)]
[CVE-2022-45061] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99232)

There was an unnecessary quadratic loop in idna decoding. This restores
the behavior to linear.

(cherry picked from commit a6f6c3a3d6f2b580f2d87885c9b8a9350ad7bf15)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
From b0b590be9597fd5919228d251812dd54145f70a7 Mon Sep 17 00:00:00 2001
From: "Miss Islington (bot)"
 <31488909+miss-islington@users.noreply.github.com>
Date: Mon, 7 Nov 2022 19:22:14 -0800

Change-Id: I07ec3ec7c231a1db700ff29ffe20964157675072
Signed-off-by: JinWang An <jinwang.an@samsung.com>
23 months ago[CVE-2022-26488] bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer... 94/294494/1
JinWang An [Tue, 20 Jun 2023 07:15:51 +0000 (16:15 +0900)]
[CVE-2022-26488] bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31730)

From 97476271275a4bd1340230677b7301d7b78b3317 Mon Sep 17 00:00:00 2001
From: Steve Dower <steve.dower@python.org>
Date: Mon, 7 Mar 2022 17:37:20 +0000
Signed-off-by: JinWang An <jinwang.an@samsung.com>
Change-Id: Ied17b93d4f2b28323135273810fb0680ca8728c1

23 months ago[CVE-2023-24329] gh-102153: Start stripping C0 control and space chars in `urlsplit... 91/294491/1
JinWang An [Tue, 20 Jun 2023 06:37:00 +0000 (15:37 +0900)]
[CVE-2023-24329] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-104896)

 `urllib.parse.urlsplit` has already been respecting the WHATWG spec a bit GH-25595.

 This adds more sanitizing to respect the "Remove any leading C0 control or space from input" [rule](https://url.spec.whatwg.org/GH-url-parsing:~:text=Remove%20any%20leading%20and%20trailing%20C0%20control%20or%20space%20from%20input.) in response to [CVE-2023-24329](https://nvd.nist.gov/vuln/detail/CVE-2023-24329).

 (cherry picked from commit d7f8a5fe07b0ff3a419ccec434cc405b21a5a304)
 (cherry picked from commit 2f630e1ce18ad2e07428296532a68b11dc66ad10)
 (cherry picked from commit 610cc0ab1b760b2abaac92bd256b96191c46b941)
 (cherry picked from commit f48a96a28012d28ae37a2f4587a780a5eb779946)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
 From d28bafa2d3e424b6fdcfd7ae7cde8e71d7177369 Mon Sep 17 00:00:00 2001
 From: stratakis <cstratak@redhat.com>
 Date: Mon, 5 Jun 2023 06:02:03 +0200

Change-Id: I9f7b3e1e8385c7f6d85b5d50e63a9c97a596e5ab
Signed-off-by: JinWang An <jinwang.an@samsung.com>
23 months agoMerge "[CVE-2023-24329] gh-99418: Make urllib.parse.urlparse enforce that a scheme...
JinWang An [Tue, 20 Jun 2023 02:44:23 +0000 (02:44 +0000)]
Merge "[CVE-2023-24329] gh-99418: Make urllib.parse.urlparse enforce that a scheme must begin with an alphabetical ASCII character. (#99421)" into tizen_6.0_base

23 months ago[CVE-2023-24329] gh-99418: Make urllib.parse.urlparse enforce that a scheme 70/294470/1
JinWang An [Tue, 20 Jun 2023 01:24:29 +0000 (10:24 +0900)]
[CVE-2023-24329] gh-99418: Make urllib.parse.urlparse enforce that a scheme
must begin with an alphabetical ASCII character. (#99421)

Prevent urllib.parse.urlparse from accepting schemes that don't begin with an alphabetical ASCII character.

RFC 3986 defines a scheme like this: `scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )`
RFC 2234 defines an ALPHA like this: `ALPHA = %x41-5A / %x61-7A`

The WHATWG URL spec defines a scheme like this:
`"A URL-scheme string must be one ASCII alpha, followed by zero or more of ASCII alphanumeric, U+002B (+), U+002D (-), and U+002E (.)."`

From 439b9cfaf43080e91c4ad69f312f21fa098befc7 Mon Sep 17 00:00:00 2001
From: Ben Kallus <49924171+kenballus@users.noreply.github.com>
Date: Sun, 13 Nov 2022 18:25:55 +0000

Change-Id: I8ff8e8543e01cbd4cde461571d8ecf5272b3907b
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years ago[CVE-2019-15903] xmlparse.c: Deny internal entities closing the doctype 10/258610/1 submit/tizen_6.0_base/20210521.062029
Sebastian Pipping [Tue, 27 Aug 2019 22:24:59 +0000 (00:24 +0200)]
[CVE-2019-15903] xmlparse.c: Deny internal entities closing the doctype

Change-Id: Idd1d5d6c0d32874732d5998b364a75a85c68725d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
4 years ago[CVE-2019-20907] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 68/258468/1
Rishi [Wed, 15 Jul 2020 11:51:00 +0000 (13:51 +0200)]
[CVE-2019-20907] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)

Avoid infinite loop when reading specially crafted TAR files using the tarfile module
(CVE-2019-20907).

Change-Id: If7420b14bb50a40afa39b933801a7d1cd2a85afe
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
4 years ago[CVE-2020-14422] bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interfa... 53/258453/1
Ravi Teja P [Mon, 29 Jun 2020 17:39:29 +0000 (23:09 +0530)]
[CVE-2020-14422] bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface (GH-21033)

The __hash__() methods of classes IPv4Interface and IPv6Interface had issue
of generating constant hash values of 32 and 128 respectively causing hash collisions.
The fix uses the hash() function to generate hash values for the objects
instead of XOR operation

Change-Id: Iedba34943247152526befe55ee13a297df2da216
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
4 years ago[CVE-2019-16935] bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) 43/258443/1
Dong-hee Na [Fri, 27 Sep 2019 19:59:37 +0000 (04:59 +0900)]
[CVE-2019-16935] bpo-38243, xmlrpc.server: Escape the server_title (GH-16373)

Escape the server title of xmlrpc.server.DocXMLRPCServer
when rendering the document page as HTML.

Change-Id: I37a51f9deb2f7ade15fdf30c9bee75ea7a75275a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
4 years ago[CVE-2020-15523]Ensure python3.dll is loaded from correct locations when Python is... 01/257501/1
JinWang An [Tue, 27 Apr 2021 04:35:55 +0000 (13:35 +0900)]
[CVE-2020-15523]Ensure python3.dll is loaded from correct locations when Python is embedded

In Python 3.6 through 3.6.10, 3.7 through 3.7.8,
3.8 through 3.8.4rc1, and 3.9 through 3.9.0b4 on Windows,
a Trojan horse python3.dll might be used in cases where
CPython is embedded in a native application. This occurs
because python3X.dll may use an invalid search path
for python3.dll loading (after Py_SetPath has been used).
NOTE: this issue CANNOT occur when using python.exe
from a standard (non-embedded) Python installation on Windows.

Change-Id: I4c07e791cfebf1b2bb4e5ccc3b54082eb5e813c2
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years ago[CVE-2019-18348]Disallow control characters in hostnames in http.client 58/257458/1
JinWang An [Mon, 26 Apr 2021 08:00:45 +0000 (17:00 +0900)]
[CVE-2019-18348]Disallow control characters in hostnames in http.client

An issue was discovered in urllib2 in Python 2.x through 2.7.17
and urllib in Python 3.x through 3.8.0. CRLF injection is possible
if the attacker controls a url parameter, as demonstrated
by the first argument to urllib.request.urlopen with \r\n
(specifically in the host component of a URL) followed
by an HTTP header. This is similar to the CVE-2019-9740
query string issue and the CVE-2019-9947 path string issue.
(This is not exploitable when glibc has CVE-2016-10739 fixed.).
This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11,
v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3,
v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.

Change-Id: I9f29bdc023cd909dd7cc5250f1faba0940d591db
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years ago[CVE-2020-27619]No longer call eval() on content received via HTTP in the CJK codec... 53/257453/1
JinWang An [Mon, 26 Apr 2021 07:05:29 +0000 (16:05 +0900)]
[CVE-2020-27619]No longer call eval() on content received via HTTP in the CJK codec tests

In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py
CJK codec tests call eval() on content retrieved via HTTP.

Change-Id: I1fe49373b30007f2140a06d74dd21dbd6fd1ea5a
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years ago[CVE-2020-8492]Fix AbstractBasicAuthHandler 47/257447/1
JinWang An [Mon, 26 Apr 2021 06:35:30 +0000 (15:35 +0900)]
[CVE-2020-8492]Fix AbstractBasicAuthHandler

Python 2.7 through 2.7.17, 3.5 through 3.5.9,
3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1
allows an HTTP server to conduct Regular Expression Denial
of Service (ReDoS) attacks against a client
because of urllib.request.AbstractBasicAuthHandler
catastrophic backtracking.

Change-Id: I7f0232cba39309a35fc262817286dcdae81f537a
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years ago[CVE-2020-8315]Avoid unsafe DLL load on Windows 7 and earlier 40/257440/1
JinWang An [Mon, 26 Apr 2021 05:19:00 +0000 (14:19 +0900)]
[CVE-2020-8315]Avoid unsafe DLL load on Windows 7 and earlier

In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6,
and 3.8 through 3.8.1, an insecure dependency load upon
launch on Windows 7 may result in an attacker's copy of
api-ms-win-core-path-l1-1-0.dll being loaded and used
instead of the system's copy. Windows 8 and later are unaffected.

Change-Id: I18d6f2a1e6181232bd349041d26fb34b3070fa8f
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years ago[CVE-2020-26116]Prevent header injection in http methods 36/257436/1
JinWang An [Mon, 26 Apr 2021 04:34:30 +0000 (13:34 +0900)]
[CVE-2020-26116]Prevent header injection in http methods

reject control chars in http method in http.client.putrequest
to prevent http header injection

Change-Id: I0f9d8bef27edd867a631aed06147f4d1f01b0c7b
Signed-off-by: JinWang An <jinwang.an@samsung.com>
5 years ago[CVE-2019-16056] bpo-34155: Dont parse domains containing @ (GH-13079) 14/233214/2 accepted/tizen_6.0_base_tool_hotfix sandbox/backup/python3-3.7.3_20201214 tizen_6.0_base_hotfix accepted/tizen/6.0/base/20201029.105650 accepted/tizen/6.0/base/tool/20201029.111530 accepted/tizen/6.0/base/tool/hotfix/20201030.124321 accepted/tizen/6.0/base/tool/hotfix/20201102.085426 accepted/tizen/base/20200705.212451 accepted/tizen/base/tool/20201228.232447 submit/tizen_6.0_base/20201029.184802 submit/tizen_6.0_base_hotfix/20201030.192502 submit/tizen_6.0_base_hotfix/20201102.162702 submit/tizen_base/20200513.055616 submit/tizen_base/20200518.005456 submit/tizen_base/20200602.235613 submit/tizen_base/20200608.233624 submit/tizen_base/20200629.060732 submit/tizen_base/20201207.055733 submit/tizen_base/20201208.051231 submit/tizen_base/20201208.051733 submit/tizen_base/20201228.001510 tizen_6.0.m2_release
jpic [Wed, 17 Jul 2019 21:54:25 +0000 (23:54 +0200)]
[CVE-2019-16056] bpo-34155: Dont parse domains containing @ (GH-13079)

Before:

        >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses
        (Address(display_name='', username='a', domain='malicious.org'),)

        >>> parseaddr('a@malicious.org@important.com')
        ('', 'a@malicious.org')

    After:

        >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses
        (Address(display_name='', username='', domain=''),)

        >>> parseaddr('a@malicious.org@important.com')
        ('', 'a@')

https://bugs.python.org/issue34155
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Change-Id: I41cc6ee702cfce07f655d768bb02dbc21e8bd23a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
5 years agoRemove gcc_version macro at spec file 20/225020/1 accepted/tizen/base/20200224.070646 submit/tizen_base/20200217.003410
DongHun Kwak [Mon, 17 Feb 2020 00:15:45 +0000 (09:15 +0900)]
Remove gcc_version macro at spec file

Change-Id: Ib98e38df052d0fb3bd36094dc10dfef91407604c

5 years agoRemoved duplicate plugin 54/223354/1 accepted/tizen/base/20200130.050051 submit/tizen_base/20200129.044543
DongHun Kwak [Wed, 29 Jan 2020 04:37:21 +0000 (13:37 +0900)]
Removed duplicate plugin

Removed _contextvars, _queue, _xxtestfuzz at python3.spec file

Change-Id: If29af278f69702b63fb959ba382d13189d15594e

5 years agoFix build error 14/220914/1 accepted/tizen/base/20200113.064830 submit/tizen_base/20191226.001211 submit/tizen_base/20200106.075945 submit/tizen_base/20200106.080655 submit/tizen_base/20200108.035402
DongHun Kwak [Wed, 25 Dec 2019 22:48:50 +0000 (07:48 +0900)]
Fix build error

Add gcc version check logic for nis.so

Change-Id: I219efe371a1d978eafc8ec95460260f327ec9ff3

5 years agoMerge "[Tizen 6.0] Enable build" into tizen_base submit/tizen_base/20191223.230751
Donghun Kwak [Mon, 23 Dec 2019 23:01:26 +0000 (23:01 +0000)]
Merge "[Tizen 6.0] Enable build" into tizen_base

5 years ago[Tizen 6.0] Enable build 42/220042/1
Mikhail Kashkarov [Mon, 2 Dec 2019 17:53:32 +0000 (20:53 +0300)]
[Tizen 6.0] Enable build

The NIS(+) name service modules are deprecated since glibc 2.27 and will not be
built or installed by default.

Change-Id: I86e09eb4952baf6018551f31c4ddd479d8681d38
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
5 years agoMigrate to openssl 1.1 00/212100/1 accepted/tizen/base/20191008.101322 accepted/tizen/base/20191011.075559 submit/tizen_base/20190814.074002 submit/tizen_base/20190814.074021 submit/tizen_base/20191007.032859 submit/tizen_base/20191010.001906
DongHun Kwak [Wed, 14 Aug 2019 07:26:24 +0000 (16:26 +0900)]
Migrate to openssl 1.1

Change-Id: I50854134a4fb35702fb70609d1e01ba8e2e976f1

5 years agoFix build error at 64bit env 99/212099/1
DongHun Kwak [Wed, 14 Aug 2019 07:01:07 +0000 (16:01 +0900)]
Fix build error at 64bit env

Change-Id: I8c347a708ff924ff925831dc3d9a3c54f5427ba2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoChange lib path "/usr/lib" -> "/usr/lib64" at 64bit env 74/207474/1 submit/tizen_base/20190703.054730 submit/tizen_base/20190807.005832 submit/tizen_base/20190812.045714
DongHun Kwak [Wed, 5 Jun 2019 07:05:20 +0000 (16:05 +0900)]
Change lib path "/usr/lib" -> "/usr/lib64" at 64bit env

python3 crashed at 64bit env
================================================================
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
================================================================

Change-Id: Id76694616dfc53cec7547619c6931cb7a47be0a8
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoBump to python3 3.7.3 submit/tizen_base/20190603.004526
Hyunjee Kim [Mon, 27 May 2019 07:02:37 +0000 (16:02 +0900)]
Bump to python3 3.7.3

Change-Id: I542171cd4a0e64b179208d1be5fccdf0d67d517d
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
6 years agoMerge branch 'tizen_base' of ssh://review.tizen.org:29418/platform/upstream/python3...
Hyunjee Kim [Thu, 23 May 2019 07:34:02 +0000 (16:34 +0900)]
Merge branch 'tizen_base' of ssh://review.tizen.org:29418/platform/upstream/python3 into tizen_base

Change-Id: I0b17475f606d1a12f8b0a0e996ca7186b79182a3
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
6 years agoRebase for python3 3.7.3
MyoungJune Park [Thu, 4 Feb 2016 01:31:57 +0000 (10:31 +0900)]
Rebase for python3 3.7.3

Change-Id: I9bb1313d173a3113ba7ac6c648aa74b05b49a853
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
6 years agoImported Upstream version 3.7.3 upstream/3.7.3
Hyunjee Kim [Thu, 23 May 2019 06:39:18 +0000 (15:39 +0900)]
Imported Upstream version 3.7.3

6 years agoImported Upstream version 3.7.2
Hyunjee Kim [Wed, 20 Mar 2019 03:05:24 +0000 (12:05 +0900)]
Imported Upstream version 3.7.2

6 years agoImported Upstream version 3.7.1
Hyunjee Kim [Wed, 20 Mar 2019 03:03:49 +0000 (12:03 +0900)]
Imported Upstream version 3.7.1

6 years agoImported Upstream version 3.7.0
Hyunjee Kim [Wed, 20 Mar 2019 02:01:58 +0000 (11:01 +0900)]
Imported Upstream version 3.7.0

6 years agoImported Upstream version 3.6.8
Hyunjee Kim [Wed, 20 Mar 2019 02:00:31 +0000 (11:00 +0900)]
Imported Upstream version 3.6.8

6 years agoImported Upstream version 3.6.7
Hyunjee Kim [Wed, 20 Mar 2019 01:58:57 +0000 (10:58 +0900)]
Imported Upstream version 3.6.7

6 years agoImported Upstream version 3.6.6
Hyunjee Kim [Wed, 20 Mar 2019 01:55:20 +0000 (10:55 +0900)]
Imported Upstream version 3.6.6

6 years agoImported Upstream version 3.6.5
Hyunjee Kim [Wed, 20 Mar 2019 01:53:40 +0000 (10:53 +0900)]
Imported Upstream version 3.6.5

6 years agoImported Upstream version 3.6.4
Hyunjee Kim [Wed, 20 Mar 2019 01:52:04 +0000 (10:52 +0900)]
Imported Upstream version 3.6.4

7 years agoFix build error 26/176726/1 accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix sandbox/hj0426.kim/python_3.6.3_20190527 tizen_5.0_base tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv accepted/tizen/5.0/base/20181101.091344 accepted/tizen/5.5/base/20191030.084725 accepted/tizen/5.5/base/mobile/hotfix/20201023.083811 accepted/tizen/5.5/base/wearable/hotfix/20201023.080157 accepted/tizen/base/20180427.142157 accepted/tizen/base/20191008.110828 accepted/tizen/base/20191011.085722 submit/tizen_5.0_base/20181101.000001 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171502 submit/tizen_5.5_base_wearable_hotfix/20201023.155602 submit/tizen_base/20180423.055826 submit/tizen_base/20191008.110452 submit/tizen_base/20191011.085341 submit/tizen_base/20191028.044018 tizen_5.5.m2_release
DongHun Kwak [Mon, 23 Apr 2018 05:49:03 +0000 (14:49 +0900)]
Fix build error

Patch for ncurses 6.0
[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] build error at ncureses 6.0
[Cause & Measure] WINDOWS symbol error, Add Macro at cflag
[Checking Method] build test

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I91a99c08295e15258109554b669a58f2b3676b10
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years ago[ASan] Disable asan's alternative stack. 11/171211/2 accepted/tizen/base/20180309.233439 submit/tizen_base/20180305.062245
Denis Khalikov [Tue, 27 Feb 2018 11:24:58 +0000 (14:24 +0300)]
[ASan] Disable asan's alternative stack.

Disable asan's alternative stack for the signal handlers.
I have faced the situation when asan tries to unmap altenative
stack's memory, which was already unmaped, perhaps by updated python.

Change-Id: I48d92e128b850fa28879c6908924c773398456c2

7 years agoMerge "Fix macro.python script" into tizen_base accepted/tizen/base/20180119.133654 submit/tizen_base/20180119.025108
MyoungJune Park [Fri, 19 Jan 2018 02:44:06 +0000 (02:44 +0000)]
Merge "Fix macro.python script" into tizen_base

7 years agoFix macro.python script 40/167640/1
DongHun Kwak [Fri, 19 Jan 2018 02:35:07 +0000 (11:35 +0900)]
Fix macro.python script

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] missing python3_sitelib macro
[Cause & Measure] macro policy is changed at python 3.6
i fix spec file for using old python macro policy
[Checking Method]

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Ibb249a709c261bed9ce6bc35adedb73ffcd38990
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoMerge "Check unit test" into tizen_base
MyoungJune Park [Thu, 18 Jan 2018 23:58:22 +0000 (23:58 +0000)]
Merge "Check unit test" into tizen_base

7 years agoCheck unit test 42/167342/1
DongHun Kwak [Wed, 17 Jan 2018 06:41:16 +0000 (15:41 +0900)]
Check unit test

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] python3 unit test is wrong.
[Cause & Measure] some unit test is pending.
[Checking Method] skip unit test

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I7043fca5c44600aac5184729b6c64c6f3a2e81cd
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agodisable %check section 20/167320/1
Youngjae Shin [Wed, 17 Jan 2018 05:29:58 +0000 (14:29 +0900)]
disable %check section

Change-Id: I84ae8864c83bf5e9cfc26d75ec2fe411b94ea20e

7 years agoFix build error 83/163683/1 accepted/tizen/base/20180105.171700 submit/tizen_base/20180102.232315
DongHun Kwak [Wed, 13 Dec 2017 01:58:09 +0000 (10:58 +0900)]
Fix build error

nothing provides python-rpm-macros needed by python3-base

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] build dependency problem
[Cause & Measure] remove python-rpm-macros dependency
[Checking Method] build test

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I3452ed94d2e3ace471ffbf74a9ba623bf7517e54
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoBump to python3 3.6.3 18/163518/1 submit/tizen_base/20171212.020755
DongHun Kwak [Thu, 7 Dec 2017 04:15:53 +0000 (13:15 +0900)]
Bump to python3 3.6.3

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] version upgrade
[Cause & Measure] python3 3.4.4 -> 3.6.3
[Checking Method] python regrssion test

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Ia788e1dc9e10a7f1af7fd54196da729f609f29ae
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoMerge branch 'tizen_base' of ssh://review.tizen.org:29418/platform/upstream/python3... 17/163517/1
DongHun Kwak [Thu, 7 Dec 2017 02:28:15 +0000 (11:28 +0900)]
Merge branch 'tizen_base' of ssh://review.tizen.org:29418/platform/upstream/python3 into tizen_base

Change-Id: I1ed6c426d8fe80905c03e00ceccb794012200a01
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoRebase for Python3 3.6.3 16/163516/1
MyoungJune Park [Thu, 4 Feb 2016 01:31:57 +0000 (10:31 +0900)]
Rebase for Python3 3.6.3

Change-Id: I4eddd7ac60ba61cc5007ecf8aa0e75f431da00f2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.6.3 06/155906/1 upstream/3.6.3
DongHun Kwak [Mon, 16 Oct 2017 11:05:22 +0000 (20:05 +0900)]
Imported Upstream version 3.6.3

Change-Id: I517f0592d098f9860b48c8a5acf3d9d7a83fe3d0
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.6.2 05/155905/1
DongHun Kwak [Mon, 16 Oct 2017 11:04:11 +0000 (20:04 +0900)]
Imported Upstream version 3.6.2

Change-Id: Ib672f0d36e295bb49ce443b7a82b92ae1a5774b1
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.6.1 04/155904/1
DongHun Kwak [Mon, 16 Oct 2017 11:03:49 +0000 (20:03 +0900)]
Imported Upstream version 3.6.1

Change-Id: I9e03aba4159efe86bdf19df8a277e6d79af53c4f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.6.0 03/155903/1
DongHun Kwak [Mon, 16 Oct 2017 11:03:16 +0000 (20:03 +0900)]
Imported Upstream version 3.6.0

Change-Id: I22cf884321a13b63f2eeb2e20f9ebef3ab00860e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.5.4 02/155902/1
DongHun Kwak [Mon, 16 Oct 2017 11:02:17 +0000 (20:02 +0900)]
Imported Upstream version 3.5.4

Change-Id: Id4ce80292649159c0159cab585aa21897fcc2345
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.5.3 01/155901/1
DongHun Kwak [Mon, 16 Oct 2017 11:00:54 +0000 (20:00 +0900)]
Imported Upstream version 3.5.3

Change-Id: I685b7d4e281e9be9dc892ec65b6982aceb90282b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.5.2 00/155900/1
DongHun Kwak [Mon, 16 Oct 2017 10:59:49 +0000 (19:59 +0900)]
Imported Upstream version 3.5.2

Change-Id: I1c5cb913449d614075dfedca59fc712947af0359
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.5.1 99/155899/1
DongHun Kwak [Mon, 16 Oct 2017 10:59:28 +0000 (19:59 +0900)]
Imported Upstream version 3.5.1

Change-Id: I323aeec16b97765c499f0b829700355a72a8e4a8
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.5.0 98/155898/1
DongHun Kwak [Mon, 16 Oct 2017 10:59:02 +0000 (19:59 +0900)]
Imported Upstream version 3.5.0

Change-Id: Ib235a6221b1ff52e94e797fd39c549a4d42f0837
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.4.7 97/155897/1
DongHun Kwak [Mon, 16 Oct 2017 10:57:18 +0000 (19:57 +0900)]
Imported Upstream version 3.4.7

Change-Id: I8279a01e2a6ec6081e994caa6d0691177c5507dc
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.4.6 96/155896/1
DongHun Kwak [Mon, 16 Oct 2017 10:56:56 +0000 (19:56 +0900)]
Imported Upstream version 3.4.6

Change-Id: Ie4ae6130d0009ab511f9747ebba92ae519e8752b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.4.5 95/155895/1
DongHun Kwak [Mon, 16 Oct 2017 10:56:29 +0000 (19:56 +0900)]
Imported Upstream version 3.4.5

Change-Id: I31435ecc855874ee0c136dd39a0f6d7df18cc43f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoAdd ASan support for Tizen 4.0 toolchain 76/140976/3 accepted/tizen_4.0_base tizen_4.0_base tizen_4.0_tv accepted/tizen/4.0/base/20170828.221425 accepted/tizen/base/20170814.055702 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_base/20170810.112719 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Slava Barinov [Thu, 27 Jul 2017 09:51:37 +0000 (12:51 +0300)]
Add ASan support for Tizen 4.0 toolchain

Change-Id: I11738e58f3265e430fb089a1752a0768d582856f
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
8 years agopackaging: removed build dependency for gmp-devel 63/89763/1
Dongkyun, Son [Tue, 27 Sep 2016 02:17:48 +0000 (11:17 +0900)]
packaging: removed build dependency for gmp-devel

Change-Id: Id9c24f2edc8e2a8ef4466638b78e73a2fcd1a80a
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
9 years agoSkip pybench test at build 68/72868/3 accepted/tizen_3.0.m2_base accepted/tizen_3.0_base tizen_3.0.m2_base tizen_3.0_base accepted/tizen/3.0.m2/base/20170104.082135 accepted/tizen/3.0/base/20161028.103443 accepted/tizen/4.0/base/20170811.093135 accepted/tizen/base/20160624.170201 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062326 submit/tizen_4.0_base/20170811.071500 submit/tizen_base/20160621.020802 tizen_4.0.m1_release
DongHun Kwak [Fri, 3 Jun 2016 00:00:05 +0000 (09:00 +0900)]
Skip pybench test at build

[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] pybench tested at build time
[Cause & Measure] skip pybench testing
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Icae6bec384073dca3fb2451a643109791d9d74c6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years ago[OSLM-253]Remove patch statement at python-base.spec file 24/72624/2 accepted/tizen/base/20160602.023953 submit/tizen_base/20160602.012130
DongHun Kwak [Thu, 2 Jun 2016 01:13:56 +0000 (10:13 +0900)]
[OSLM-253]Remove patch statement at python-base.spec file

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Invalid patch statement
[Cause & Measure] python3 build error at only source copy.
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I8a14b71d855c963571ec22da384381c9279edd1b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years agoCrash python3 running at x86_64 52/70052/1 accepted/tizen/base/20160520.190609 submit/tizen_base/20160519.020214
DongHun Kwak [Wed, 18 May 2016 01:37:39 +0000 (10:37 +0900)]
Crash python3 running at x86_64

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] When python excute, python's library loading failed.
[Cause & Measure] At getpath.c, python lib path is hardcoding.
fixed, lib path value set from spec file's defined value.
[Checking Method] running python excute binary.

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Ic23ee87c8b352a013f8736a5b9491ab0deac818a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years agopython provides duplication problem. 77/62677/1 accepted/tizen/base/20160319.085053 submit/tizen_base/20160317.101420
DongHun Kwak [Thu, 17 Mar 2016 10:12:54 +0000 (19:12 +0900)]
python provides duplication problem.

    - python provide at python2 and python3

Change-Id: Id030798d7aafadc9a49e46fe8236eda3566e4975
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years agoset include path for ncurses 78/61578/1 accepted/tizen/base/20160310.054134 submit/tizen_base/20160309.042345
Chan Lee [Wed, 9 Mar 2016 02:44:20 +0000 (11:44 +0900)]
set include path for ncurses

Change-Id: Ia333ff04aeccfc53c550ccbc1316654a206064aa
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
9 years agoFix build error 88/60488/1 accepted/tizen/base/20160228.232122 submit/tizen_base/20160227.015005
DongHun Kwak [Fri, 26 Feb 2016 13:01:57 +0000 (22:01 +0900)]
Fix build error

 - Install error at aarch64

Change-Id: Id11321d5094de415ec743c18ad6b3629b0e0ed78
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years agoAdd python3-base.spec submit/tizen_base/20160226.060548
DongHun Kwak [Thu, 18 Feb 2016 05:39:26 +0000 (14:39 +0900)]
Add python3-base.spec

Change-Id: I386534636f52e38902c7c431938a3bea7a3b86f5
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years agoinit packaging 39/58839/1 submit/tizen/20160204.035035
MyoungJune Park [Thu, 4 Feb 2016 01:31:57 +0000 (10:31 +0900)]
init packaging

Change-Id: I97dad8d0638a9689d75f9939da7995e0155ec7d0
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
9 years agoImported Upstream version 3.4.4 upstream/3.4.4
MyoungJune Park [Thu, 4 Feb 2016 01:29:45 +0000 (10:29 +0900)]
Imported Upstream version 3.4.4

9 years agoInitial empty repository master
seonil kim [Wed, 3 Feb 2016 04:49:12 +0000 (20:49 -0800)]
Initial empty repository