[issue32220] multiprocessing: passing file descriptor using reduction breaks duplex pipes on darwin

2017-12-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: See https://bugs.python.org/issue6560 for the original issue delineating the problems we had with fd passing on macOS. I don't know whether Apple finally fixed the underlying issue. If that was the case, I assume we might be seeing

[issue32220] multiprocessing: passing file descriptor using reduction breaks duplex pipes on darwin

2017-12-05 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list

[issue27645] Supporting native backup facility of SQLite

2017-12-05 Thread Lele Gaifax
Lele Gaifax added the comment: Just to keep the door open, I'm willing to to whatever is needed to see this accepted and merged. -- ___ Python tracker

[issue32219] SSLWantWriteError being raised by blocking SSL socket

2017-12-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: You might want to add debugging code in _ssl__SSLSocket_shutdown_impl() (Modules/_ssl.c) and see what happens exactly. Does your socket have a timeout? If not, you may want to ask the OpenSSL mailing-list whether it's possible for

[issue32220] multiprocessing: passing file descriptor using reduction breaks duplex pipes on darwin

2017-12-05 Thread Nate
New submission from Nate : In multiprocessing/reduction.py, there is a hack workaround in the sendfds() and recvfds() methods for darwin, as determined by the "ACKNOWLEDGE" constant. There is a reference to issue #14669 in the code related to why this was added in the first

[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2017-12-05 Thread Toby Harradine
Change by Toby Harradine : Added file: https://bugs.python.org/file47317/pygettext_output.pot ___ Python tracker ___

[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2017-12-05 Thread Toby Harradine
Toby Harradine added the comment: Correction for above: the type annotation syntax is actually from PEP 3107, not PEP 484. I should also point out that this behaviour is occurring for annotated return types of functions and methods as well. This is occurring on both

[issue32205] test.pythoninfo does not print the cross-built sysconfig data

2017-12-05 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32210] Add the versions of the Android SDK and NDK to test.pythoninfo

2017-12-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: The NDK version may be printed by the pythoninfo make target before test.pythoninfo is run on Android. platform.android_ver() (not yet implemented, see issue 26855) must be added to collect_sys() in test.pythoninfo. --

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2017-12-05 Thread Jonathan Watt
Jonathan Watt added the comment: Using image/x-ms-bmp because that's all that IE7 supports makes no sense. Chrome doesn't support image/x-ms-bmp (it only supports the official IANA type image/bmp), so if the concern is over browser support then it's clear that Chrome (the

[issue32219] SSLWantWriteError being raised by blocking SSL socket

2017-12-05 Thread Nathaniel Smith
Nathaniel Smith added the comment: There's no timeout. The man page claims SSL_ERROR_WANT_WRITE can't happen on a blocking socket, but who knows... Re: EINTR, this is all happening in a child thread. On Linux, this would mean that it almost certainly isn't receiving any

[issue32221] Converting ipv6 address to string representation using getnameinfo() is wrong.

2017-12-05 Thread Марк Коренберг
New submission from Марк Коренберг : https://github.com/python/cpython/pull/4724 `recvfrom` from multicast socket is painfull slow. In fact, it returns sender address in form: `('fe80::941f:f6ff:fe04:c560%qwe', 42133, 0, 78)` which is superfluous, since interface-name

[issue32221] Converting ipv6 address to string representation using getnameinfo() is wrong.

2017-12-05 Thread Марк Коренберг
Change by Марк Коренберг : -- keywords: +patch pull_requests: +4631 stage: -> patch review ___ Python tracker ___

[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2017-12-05 Thread Toby Harradine
New submission from Toby Harradine : ### Expected Behaviour When running pygettext with the -D CLI flag, all module, class, method and function docstrings should be extracted and outputted to the .pot file. ### Actual Behaviour In the case of functions whose parameters

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-12-05 Thread Mark Shannon
Mark Shannon added the comment: On 04/12/17 17:53, Neil Schemenauer wrote: > There is a bug with the PR regarding the final bodies. Exits from the final > body cause the whole fblock stack to unwind, not just the blocks enclosing > the final body. Unwind looks at 'c' to get

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2017-12-05 Thread Jonathan Watt
Jonathan Watt added the comment: I should note that while Chrome will refuse to open an image/x-ms-bmp file directly, when loaded as an image embedded in a document (e.g. via HTML's ) then Chrome doesn't care what MIME type it has. It will sniff the image stream and detect

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2017-12-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Cristian, > I don't want to have three ways to load certificates, especially when it > involves more C code. I think this (more C code) is the primary and the *only* negative point against the current patch. And that seems

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2017-12-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: See https://bugs.python.org/issue32215 for what seems to be a related bug. Also note that pysqlite now seems to be using a different logic: https://github.com/ghaering/pysqlite/blob/master/src/cursor.c#L537-L548 Also this changeset:

[issue32227] singledispatch support for type annotations

2017-12-05 Thread Łukasz Langa
Łukasz Langa added the comment: > this creates a circular dependency functools <-> typing Well, it doesn't since I explicitly import typing inside singledispatch. By the time this import happens, functools is fully imported. This would only be a problem if functools itself

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : -- title: [WIP] Implementation of the PEP 540: Add a new UTF-8 mode -> PEP 540: Add a new UTF-8 mode ___ Python tracker

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file46263/pep540-3.patch ___ Python tracker ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file46274/encodings.py ___ Python tracker ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
STINNER Victor added the comment: I removed old patches in favor of the now up to date PR 855. -- ___ Python tracker ___

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-12-05 Thread Mark Shannon
Mark Shannon added the comment: 0610860 doesn't include any tests. What is it fixing? 3794016 passes the same set of tests. Do have an actual code example that produces erroneous behaviour? -- ___ Python tracker

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-05 Thread Ivan Levkivskyi
New submission from Ivan Levkivskyi : As discussed before, there will be two PRs. One for the core components, and the second one (large) for typing updates. I will open the first PR shortly. -- nosy: +gvanrossum ___ Python

[issue32227] singledispatch support for type annotations

2017-12-05 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +4636 stage: -> patch review ___ Python tracker ___

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Dan
Dan added the comment: I've attached the files. Run using 'python setup.py sdist'. The resulting PKG-INFO will contain incorrect data: Summary: délivrance Author: Dan Tès The expected output is: Summary: délivrance Author: Dan Tès --

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Dan
Change by Dan : Added file: https://bugs.python.org/file47319/setup.cfg ___ Python tracker ___

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Dan
Change by Dan : Added file: https://bugs.python.org/file47320/setup.py ___ Python tracker ___

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch pull_requests: +4635 stage: needs patch -> patch review ___ Python tracker ___

[issue26855] android: add platform.android_ver()

2017-12-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes, and fall back to spawning getprop if that fails. In the following link Robin Gawenda is reporting that /system/build.prop is world readable on all the devices he checked:

[issue32199] uuid.getnode() should return the MAC address on Android

2017-12-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: The result of various 'ip' commands on Android, the last 'ip link list' command is run as root and succeeds (did not think about trying that before): generic_x86_64:/data/local/tmp/python $ ip link list request send failed: Permission

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2017-12-05 Thread R. David Murray
R. David Murray added the comment: It disappears for me running it on linux with the blank added. -- ___ Python tracker ___

[issue32199] uuid.getnode() should return the MAC address on Android

2017-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why the 'ip link list' command fails on Android at first place? Does Android use its own independent implementation? Or its version is based on the fork of very old version of iproute2 that didn't supported the list command (if

[issue32227] singledispatch support for type annotations

2017-12-05 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Oops something wrong happened. -- nosy: +gvanrossum stage: patch review -> ___ Python tracker

[issue32227] singledispatch support for type annotations

2017-12-05 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Idea looks interesting (like a basic runtime @overload). My expectation is that some changes are necessary in mypy for this to work properly. Another (minor) problem is that this creates a circular dependency functools <-> typing.

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file46270/pep540-4.patch ___ Python tracker ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file46258/pep540.patch ___ Python tracker ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file46257/pep540_cli.py ___ Python tracker ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file46262/pep540-2.patch ___ Python tracker ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-05 Thread STINNER Victor
STINNER Victor added the comment: I rebased my PR on master. -- ___ Python tracker ___

[issue31506] Improve the error message logic for object_new & object_init

2017-12-05 Thread Sanyam Khurana
Sanyam Khurana added the comment: Nick, I think the error messages are incorrect. We expect error message to be `takes no argument` rather than `takes exactly one argument`. Can you please confirm that? I think for the class without any method overrides, the

[issue32225] Implement PEP 562: module __getattr__ and __dir__

2017-12-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch pull_requests: +4634 ___ Python tracker ___

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- assignee: levkivskyi components: Interpreter Core, Library (Lib) nosy: levkivskyi priority: normal severity: normal stage: needs patch status: open title: Implement PEP 560: Core support for typing module and generic types type:

[issue32227] singledispatch support for type annotations

2017-12-05 Thread Łukasz Langa
Łukasz Langa added the comment: Guido, I know that you have a lot on your plate right now. Adding you because of PEP 443 and PEP 484. -- nosy: +gvanrossum stage: patch review -> ___ Python tracker

[issue31506] Improve the error message logic for object_new & object_init

2017-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the main problem is not with coding, but with design. And from this point of view this may be not so easy issue. Let wait until Nick has a time to work on it. -- ___ Python

[issue32225] Implement PEP 562: module __getattr__ and __dir__

2017-12-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- assignee: levkivskyi components: Interpreter Core nosy: levkivskyi priority: normal severity: normal stage: patch review status: open title: Implement PEP 562: module __getattr__ and __dir__ type: enhancement versions: Python 3.7

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2017-12-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Brian, does the speed difference disappear when you add a space character just after "UPDATE"? We may be hitting this path: https://github.com/python/cpython/blob/master/Modules/_sqlite/statement.c#L76-L93 -- nosy: +pitrou

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2017-12-05 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2017-12-05 Thread Antoine Pitrou
Change by Antoine Pitrou : -- assignee: ghaering -> versions: +Python 3.7 -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-12-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: def func(): try: try: raise RuntimeError except: return 1 finally: return 3 func() Sorry, I've been collecting a whole slew of code snippets that cause issues with the

[issue32227] singledispatch support for type annotations

2017-12-05 Thread Łukasz Langa
New submission from Łukasz Langa : With the patch attached to this issue, @singledispatch gains support for passing the type in @register via annotations. This looks more natural and enables more thorough type checking without repeating yourself: @singledispatch def

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-12-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: There is some more explanation in the PR and sample code. We unwind, if we hit a finally fblock, we emit code of the body of it. If inside the block, there is another return statement, we unwind again. That causes an infinite loop

[issue32224] socket.creaet_connection needs to support full IPv6 argument

2017-12-05 Thread Matthew Stoltenberg
New submission from Matthew Stoltenberg : The following causes a ValueError in the create_connection convenience function import socket sock1 = socket.create_connection(('::1', '80')) sock2 = socket.create_connection(sock1.getpeername()) -- components: Library (Lib)

[issue30928] Copy modified blurbs to idlelib/NEWS.txt

2017-12-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7a6f28f2802db3da79b3c2bd5d75e40eb0709744 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': bpo-30928: update idlelib/NEWS.txt. (GH-4706) (#4707)

[issue31506] Improve the error message logic for object_new & object_init

2017-12-05 Thread Sanyam Khurana
Sanyam Khurana added the comment: I'll work on a fix for this and issue a PR. -- nosy: +CuriousLearner ___ Python tracker

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2017-12-05 Thread Neil Schemenauer
Change by Neil Schemenauer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue26855] android: add platform.android_ver()

2017-12-05 Thread STINNER Victor
STINNER Victor added the comment: "-rw-r--r-- 1 root root 2083 2017-07-12 22:01 /system/build.prop" so anyone can *read* the file. Maybe we can write a cheap parser for it, instead of spawning a subprocess or relying on a private function which may be removed in the

[issue32210] Add platform.android_ver() to test.pythoninfo for Android platforms

2017-12-05 Thread Xavier de Gaye
Change by Xavier de Gaye : -- dependencies: +android: add platform.android_ver() title: Add the versions of the Android SDK and NDK to test.pythoninfo -> Add platform.android_ver() to test.pythoninfo for Android platforms ___

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Dan
New submission from Dan : On Windows, distutils doesn't correctly read UTF-8 content from config files (setup.cfg). Seems like the issue is located on the line reading the files via the ConfigParser; simply adding 'encoding="UTF-8"' as argument fixes the problem for me:

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Éric Araujo
Change by Éric Araujo : -- versions: -Python 3.4, Python 3.5, Python 3.8 ___ Python tracker ___

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2017-12-05 Thread Éric Araujo
Éric Araujo added the comment: Can you give an example setup.cfg file, setup.py command and the full error message? -- ___ Python tracker

[issue32224] socket.create_connection needs to support full IPv6 argument

2017-12-05 Thread Matthew Stoltenberg
Change by Matthew Stoltenberg : -- title: socket.creaet_connection needs to support full IPv6 argument -> socket.create_connection needs to support full IPv6 argument ___ Python tracker

[issue32199] uuid.getnode() should return the MAC address on Android

2017-12-05 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Over in the PR I suggested: Here's another thought: what if you just added another getter that calls ip link list and placed that after one that calls ip link. Wouldn't that accomplish both goals? Then if ip link fails, we fall back to the

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2017-12-05 Thread Brian Forst
Brian Forst added the comment: Hi Antoine, yup, adding a space after the UPDATE makes the speed difference disappear on macOS Sierra and Windows 7. -- ___ Python tracker

[issue32199] uuid.getnode() should return the MAC address on Android

2017-12-05 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Dec 5, 2017, at 16:28, Xavier de Gaye wrote: > > The result of various 'ip' commands on Android, the last 'ip link list' > command is run as root and succeeds (did not think about trying that before): > >

[issue32228] truncate() changes tell() result

2017-12-05 Thread andreymal
New submission from andreymal : See attached file. As documentation about "truncate" says, "The current stream position isn’t changed." This is true for most cases. But this is not true for "wtf1.py" example. If you run it with Linux (Tested Debian 8 and Arch; Windows

[issue32228] truncate() changes current stream position

2017-12-05 Thread andreymal
Change by andreymal : -- title: truncate() changes tell() result -> truncate() changes current stream position ___ Python tracker

[issue32228] truncate() changes current stream position

2017-12-05 Thread andreymal
Change by andreymal : -- type: -> behavior ___ Python tracker ___ ___

[issue32220] multiprocessing: passing file descriptor using reduction breaks duplex pipes on darwin

2017-12-05 Thread Nate
Nate added the comment: According to https://developer.apple.com/library/content/qa/qa1541/_index.html some bugs were fixed in 10.5. Not sure if the original attempt to patch the problem was happening on < 10.5, or if this was still a problem in 10.5+. I can't for the life

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2017-12-05 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue32199] uuid.getnode() should return the MAC address on Android

2017-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What if "ip link list" was intentionally prohibited "for security reasons", and "ip link" works just due to oversight? Xavier, could you please inspect the sources of the ip command on Android? Is it the standard iproute2 with

[issue31506] Improve the error message logic for object_new & object_init

2017-12-05 Thread Nick Coghlan
Nick Coghlan added the comment: Aye, I think Sanyam's proposed messages look good, and the "C().__init__() takes no arguments" wording is easier to follow than my suggested "C.__init__() takes exactly one argument" wording (as interpreting the latter currently requires

[issue6531] atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters.

2017-12-05 Thread Nick Coghlan
Nick Coghlan added the comment: See also https://bugs.python.org/issue31901, which reached a similar conclusion to this discussion (i.e. atexit functions should be run when the subinterpreter goes away). -- nosy: +ncoghlan ___

[issue32229] Simplify hiding developer warnings in user facing applications

2017-12-05 Thread Nick Coghlan
New submission from Nick Coghlan : One of the observations coming out of the PEP 565 discussions is that it's surprisingly tricky to opt-in to getting all warnings from a particular package and its subpackages, while opting out of warnings in general. The simplest

[issue32199] uuid.getnode() should return the MAC address on Android

2017-12-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: Whatever the change made to fix this issue, it is not possible to add a test case for this change. So following the suggestion made by Barry in PR 4696, we can add (in another issue) a new keyword parameter to getnode() named 'methods'

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-05 Thread R. David Murray
R. David Murray added the comment: Huh, I thought I had closed it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2017-12-05 Thread Jonathan Watt
Jonathan Watt added the comment: > If image/bmp is now[*] the official IANA type You can find image/bmp here: https://www.iana.org/assignments/media-types/media-types.xhtml#image -- ___ Python tracker

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2017-12-05 Thread R. David Murray
R. David Murray added the comment: If image/bmp is now[*] the official IANA type, mimetypes should use that. However, because this is a change with possible backward compatibility issues, it should probably only go into 3.7, but I'm open to arguments about that. [*]

[issue26855] android: add platform.android_ver()

2017-12-05 Thread STINNER Victor
STINNER Victor added the comment: Chromium still uses the private __system_property_get() function: https://chromium.googlesource.com/chromium/+/trunk/base/sys_info_android.cc I would prefer a C function call rather than spawning a subprocess, just to get a value.

[issue26855] android: add platform.android_ver()

2017-12-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: I cannot find a reference to the "build.prop" file in the Android documentation but google answers at the question ' what is "build.prop"': The “build.prop” file is a system file that exists on every Android device. The file contains

[issue32217] freeze.py fails to work.

2017-12-05 Thread Decorater
Decorater added the comment: python ..\externals\cpython\Tools\freeze\freeze.py pyeimport.py Error: needed directory E:\python360\lib\python3.6\config-3.6 not found Use ``..\externals\cpython\Tools\freeze\freeze.py -h'' for help Seems like freeze works now with no

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4632 ___ Python tracker ___ ___

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2017-12-05 Thread R. David Murray
R. David Murray added the comment: That's the basis, but its a bit more complicated than that (NEWS item, putting bpo-22589 in the issue title, the question of signing a CLA, though a CLA doesn't really matter for this kind of change IMO). If you can't do it one of

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 33c377ed9b6cb3b9493005314c4e0cfa7517ea65 by Victor Stinner in branch 'master': bpo-32030: Simplify _PyCoreConfig_INIT macro (#4728) https://github.com/python/cpython/commit/33c377ed9b6cb3b9493005314c4e0cfa7517ea65

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2017-12-05 Thread Jonathan Watt
Jonathan Watt added the comment: I'm unfamiliar with the Python contribution procedures. If it's simply a case of cloning from github.com and putting up a PR then I can do that. I'm overloaded currently though, so if it's more involved than that it may take me a while to