[issue44677] CSV sniffing falsely detects space as a delimiter

2021-07-20 Thread Piotr Tokarski
Piotr Tokarski added the comment: I think changing `(?P["\']).*?(?P=quote)` to `(?P["\'])[^\n]*?(?P=quote)` in all regexes does the trick, doesn't it? -- ___ Python tracker <https:

[issue44677] CSV sniffing falsely detects space as a delimiter

2021-07-20 Thread Piotr Tokarski
Piotr Tokarski added the comment: Test sample: ``` import csv from io import StringIO def csv_text(): return StringIO("a|b\nc| 'd\ne|' f") with csv_text() as input_file: print('The following text is going to be parsed:') print(input_file.read(

[issue44677] CSV sniffing falsely detects space as a delimiter

2021-07-19 Thread Piotr Tokarski
New submission from Piotr Tokarski : Let's consider the following CSV content: "a|b\nc| 'd\ne|' f". The real delimiter in this case is '|' character while ' ' is sniffed. Find verbose example attached. Problem lays in csv.py file in the followin

[issue43312] Interface to select preferred "user" or "home" sysconfig scheme for an environment

2021-03-11 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue43312> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42443] Provide Thread creation hook support

2020-12-16 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Friendly ping - does the proposal sound fine? -- ___ Python tracker <https://bugs.python.org/issue42443> ___ ___ Python-bug

[issue42481] Add to pathlib function to check permission similar to os.access

2020-11-27 Thread Piotr Kopalko
New submission from Piotr Kopalko : Path('example.toml').permissions() == Permissions(owner=(READ, WRITE, EXECUTE), group=(READ), other=(,)) -- ___ Python tracker <https://bugs.python.o

[issue42481] Add to pathlib function to check permission similar to os.access

2020-11-27 Thread Piotr Kopalko
Change by Piotr Kopalko : -- nosy: copalco priority: normal severity: normal status: open title: Add to pathlib function to check permission similar to os.access type: enhancement ___ Python tracker <https://bugs.python.org/issue42

[issue42443] Provide Thread creation hook support

2020-11-24 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Thanks Christian for looking into this, please find my responses inlined: > * IMO it should be called after profiling and tracing hook, so non-trivial > hooks can be profiled and traced. Makes sense, Done. > * It's important to define and d

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Piotr Stanczyk
New submission from Piotr Stanczyk : For monitoring purposes we would like to have a way of registering newly created Python threads with a runtime. For that reason we ask to add a thread creation hook inside threading.py. There are 2 similar hooks already (_profile_hook and _trace_hook

[issue36318] Adding support for setting the "disabled" attribute of loggers from logging.config.dictConfig

2020-10-13 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I strongly agree with arguments given by the original poster. Stackoverflow's questions cited show the functionality of disabling logger is something people are looking for. Disabling logger by setting high enough level seems to be a workaround at

[issue36318] Adding support for setting the "disabled" attribute of loggers from logging.config.dictConfig

2020-08-31 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue36318> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5654] Add C hook in PyDict_SetItem for debuggers

2020-04-07 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue5654> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24132] Direct sub-classing of pathlib.Path

2020-04-03 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue24132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31625] stop using ranlib

2019-12-09 Thread Jakub Piotr Cłapa
Change by Jakub Piotr Cłapa : -- pull_requests: +16994 pull_request: https://github.com/python/cpython/pull/15387 ___ Python tracker <https://bugs.python.org/issue31

[issue38743] configure: on macOS (darwin) add CoreFoundation to flags before checking for gettext

2019-11-08 Thread Jakub Piotr Cłapa
Change by Jakub Piotr Cłapa : -- keywords: +patch pull_requests: +16599 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17090 ___ Python tracker <https://bugs.python.org/issu

[issue38743] configure: on macOS (darwin) add CoreFoundation to flags before checking for gettext

2019-11-08 Thread Jakub Piotr Cłapa
New submission from Jakub Piotr Cłapa : macOS needs to link to CoreFoundation for gettext to work. We reorder the autoconf tests so CoreFoundation is added to LIBS earlier and the -lintl test does not fail (which would exclude it from the final set of flags). Btw. the whole test seems fishy

[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-08-22 Thread Jakub Piotr Cłapa
New submission from Jakub Piotr Cłapa : On a macOS hosts the system ranlib does not understand ELF files so using the "ranlib" command causes errors during cross-compilations. The simplest way to fix it is to pass the RANLIB parameter provided to setup.py through to the distutil

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-07-24 Thread Piotr Karkut
Piotr Karkut added the comment: bump -- ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-05-28 Thread Piotr Karkut
Piotr Karkut added the comment: Bump? -- ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36899] datetime utcfromtimestamp ignores astimezone

2019-05-13 Thread Piotr Kamoda
Piotr Kamoda added the comment: Ok, now I see that naive object assumes my timezone in some cases. That's still mind-boggling that utcfromtimestamp returns an object that shows utc hour but when astimezone is applied it reverts without converting the hour to local timezone. See bel

[issue36899] datetime utcfromtimestamp ignores astimezone

2019-05-13 Thread Piotr Kamoda
Piotr Kamoda added the comment: Docs state that fromtimestamp returns a naive datetime object (https://docs.python.org/3.7/library/datetime.html#datetime.datetime.fromtimestamp) and not utcfromtimestamp. Perhaps it needs fixing. Additionally, astimezone fails silently, I even tried

[issue36899] datetime utcfromtimestamp ignores astimezone

2019-05-13 Thread Piotr Kamoda
New submission from Piotr Kamoda : See below code: >>> datetime.utcfromtimestamp(1557395250).astimezone(get_localzone()).strftime('%Y-%m-%d >>> %H:%M:%S %z %Z') '2019-05-09 09:47:30 +0200 CEST' >>> datetime.fromtimestamp(1557395250).astimezone(ge

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-04-08 Thread Piotr Karkut
Piotr Karkut added the comment: Nick: From what I've checked, it jumps in case the module is already imported. The problem is that the original implementation is quite naive, and it's trying to import the module before looking for it in `sys.modules` - So if the module with a c

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-03-28 Thread Piotr Karkut
Piotr Karkut added the comment: Bump -- ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-02-20 Thread Piotr Karkut
Change by Piotr Karkut : -- keywords: +patch pull_requests: +11982 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Py

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-02-20 Thread Piotr Karkut
Change by Piotr Karkut : -- title: pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.pah -> pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path ___ Pyt

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.pah

2019-02-20 Thread Piotr Karkut
New submission from Piotr Karkut : When walk_packages encounter a package with a name that is available in sys.path, it will abandon the current package, and start walking the package from the sys.path. Consider this file layout: ``` PYTHONPATH/ ├──package1/ | ├──core

[issue2517] Error when printing an exception containing a Unicode string

2019-01-10 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Benjamin Peterson in comment https://bugs.python.org/issue2517#msg64771 wrote: "That is because Python encodes it's error messages as ASCII by default…" Could somebody please point where in the source code of Python

[issue2517] Error when printing an exception containing a Unicode string

2019-01-08 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue2517> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22852] urllib.parse wrongly strips empty #fragment, ?query, //netloc

2018-07-31 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue22852> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34276] urllib.parse doesn't round-trip file URI's with multiple leading slashes

2018-07-31 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue34276> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34227] Weighted random.sample() (weighted sampling without replacement)

2018-07-25 Thread Piotr Jurkiewicz
Change by Piotr Jurkiewicz : -- keywords: +patch pull_requests: +7988 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34227> ___ _

[issue34227] Weighted random.sample() (weighted sampling without replacement)

2018-07-25 Thread Piotr Jurkiewicz
New submission from Piotr Jurkiewicz : Function random.choices(), which appeared in Python 3.6, allows to perform weighted random sampling with replacement. Function random.sample() performs random sampling without replacement, but cannot do it weighted. I propose to enhance random.sample

[issue33643] Mock functions with autospec STILL don't support assert_called_once, assert_called, assert_not_called

2018-05-25 Thread Piotr Dybowski
New submission from Piotr Dybowski : This is the same issue as: https://bugs.python.org/issue28380. It seems that fix has never been merged, -- components: Library (Lib) messages: 317659 nosy: dybi priority: normal severity: normal status: open title: Mock functions with autospec STILL

[issue33374] generate-posix-vars failed when building Python 2.7.14 on Linux

2018-04-27 Thread Piotr Dobrogost
New submission from Piotr Dobrogost : When building Python 2.7.14 on Fedora 28 I get the following error: [piotr@demon]/tmp/Python-2.7.14% make (…) ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybu

[issue1553375] Add traceback.print_full_exception()

2017-11-02 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue1553375> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-18 Thread Piotr Wysocki
Changes by Piotr Wysocki : -- nosy: +Piotr Wysocki ___ Python tracker <http://bugs.python.org/issue30395> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2017-02-08 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue26388> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29379] Custom handlers not used when passing "context" argument to urllib2.urlopen()

2017-01-26 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: When urllib2.urlopen() is passed "context" argument the new opener is being built (https://hg.python.org/cpython/file/a06454b1afa1/Lib/urllib2.py#l147) and used instead custom opener which might had been already installed with urllib2.inst

[issue16285] Update urllib quoting to RFC 3986

2017-01-20 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue16285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23434] RFC6266 support (Content-Disposition for HTTP)

2016-04-09 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue23434> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2016-02-22 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue19982> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2016-02-22 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue9325> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2528] Change os.access to check ACLs under Windows

2016-02-09 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue2528> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21536] extension built with a shared python cannot be loaded with a static python

2016-02-07 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue21536> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2015-12-07 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue15873> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Piotr
Piotr added the comment: Ok I have tried it(I had to remove ЉЊЈЁЂ from *.txt - my cp is 1250): c:\tmp>type test.py compile(open("tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt").read(), "bom3.py", 'exec') c:\tmp>c:\Python34\python.exe test.py Trace

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Piotr
New submission from Piotr: Similar to Issue 679880 >>> compile(open("bom3.py").read(), "bom3.py", 'exec') Traceback (most recent call last): File "", line 1, in File "bom3.py", line 1 # coding: utf-8 ^ SyntaxEr

[issue18857] urlencode of a None value uses the string 'None'

2015-06-25 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: This problem came out in the bug "Cannot make URL query string with a parameter without a value (https://github.com/kennethreitz/requests/issues/2651) raised in urllib3 project (which itself is being used by Requests library mentioned in thi

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2015-06-08 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue9427> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24363] httplib fails to handle semivalid HTTP headers

2015-06-03 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue24363> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22269] Resolve distutils option conflicts with priorities

2015-04-16 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue22269> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23943] Misspellings in a few files

2015-04-14 Thread Piotr Kasprzyk
Piotr Kasprzyk added the comment: Thank you for accepting the patch! -- ___ Python tracker <http://bugs.python.org/issue23943> ___ ___ Python-bugs-list mailin

[issue23943] Misspellings in a few files

2015-04-13 Thread Piotr Kasprzyk
New submission from Piotr Kasprzyk: Correct misspellings in various files. -- assignee: docs@python components: Documentation files: misspellings.patch keywords: patch messages: 240825 nosy: docs@python, kwadrat priority: normal severity: normal status: open title: Misspellings in a few

[issue23930] SimpleCookie doesn't parse comma-only separated cookies correctly

2015-04-13 Thread Piotr
New submission from Piotr: Skype WISPr and iPassConnect (and maybe other bots) return cookies as a comma separated list. It's not a comma + space (which works). C = cookies.SimpleCookie() C.load('a=b,z=zz') >>> C['a'] I wonder what would those bots do if t

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-04-06 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue23246> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23841] py34 OrderedDict is using weakref for root reference

2015-04-01 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue23841> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21861] io class name are hardcoded in reprs

2015-03-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue21861> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23752] Cleanup io.FileIO

2015-03-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue23752> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23754] Add a new os.read_into() function to avoid memory copies

2015-03-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue23754> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22003] BytesIO copy-on-write

2015-03-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: > This new patch abandons the buffer interface and specializes for Bytes per > the comments on this issue. Why does it abandon buffer interface? Because of the following? > Thanks for digging here. As much as I'd love to follow this interpr

[issue23576] HTTPS reads can block when content length not available and timeout set.

2015-03-03 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue23576> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23536] Add explicit information on config file format not supporting filters

2015-02-27 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: It would be helpful to make it clear in section "Configuration file format" that it's not possible to configure filters through configuration file as opposed to dictionary passed to dictConfig() method. I found this clearly stated in Pyrami

[issue23351] socket.settimeout(5.0) does not have any effect

2015-02-04 Thread Piotr Jurkiewicz
Piotr Jurkiewicz added the comment: Does not work on Debian 7 Wheezy, kernel 3.2.65. $ python test.py ('sending ', 0) took 0.000s ('sending ', 1) took 0.000s ('sending ', 2) took 0.000s ('sending ', 3) took 0.000s ('sending ', 4) took 0.000

[issue14965] super() and property inheritance behavior

2015-02-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue14965> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23351] socket.settimeout(5.0) does not have any effect

2015-01-29 Thread Piotr Jurkiewicz
New submission from Piotr Jurkiewicz: After setting socket.settimeout(5.0), socket.send() returns immediately, instead of returning after specified timeout. Steps to reproduce: Open two python interpreters. In the first one (the receiver) execute: >>> import socket >>>

[issue22889] set a timeout for DNS lookups

2015-01-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue22889> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23289] concurrent.futures.Executor.map is not equivalent to map.

2015-01-21 Thread Piotr Majkrzak
New submission from Piotr Majkrzak: In documentation https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor.map is writen that this fucntion is equivalent to the builtin map. But it is not true due to the fact that it is not lazy evalueded. The reason is in

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2015-01-15 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue22028> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2014-12-18 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue6792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22966] py_compile: foo.bar.py → __pycache__/foo.cpython-34.pyc

2014-11-29 Thread Piotr Ożarowski
Piotr Ożarowski added the comment: Python 3.2 generates foo.bar.cpython-32.pyc so it's a regression -- ___ Python tracker <http://bugs.python.org/is

[issue22966] py_compile: foo.bar.py → __pycache__/foo.cpython-34.pyc

2014-11-29 Thread Piotr Ożarowski
New submission from Piotr Ożarowski: when py_compile module is asked to create .pyc file for file with invalid name, it doesn't fail or ignore such request - it creates/overwrites .pyc file for sane file name (i.e. ignores everything after dot) $ touch foo.bar.py $ python3.4 -m py_co

[issue1294959] Problems with /usr/lib64 builds.

2014-11-19 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue1294959> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22687] horrible performance of textwrap.wrap() with a long word

2014-10-21 Thread Piotr Engelking
New submission from Piotr Engelking: Wrapping a paragraph containing a long word takes a lot of time: $ time python3 -c 'import textwrap; textwrap.wrap("a" * 2 ** 16)' real3m14.923s user3m14.792s sys 0m0.016s $ A straightforward replacement is 5000 times faster

[issue2943] Distutils should generate a better error message when the SDK is not installed

2014-09-11 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue2943> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2014-08-28 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Rotkraut The truth is http in stdlib is dead. Your best option is to use 3rd party libs like requests or urllib3. Authors of these libs plan to get rid of httplib entirely; see "Moving away from httplib" (https://github.com/shazow/urllib3

[issue22007] sys.stdout.write on Python 2.7 is not EINTR safe

2014-07-30 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @hypo Is there any reason you keep this PEP "secret" :) by not mentioning it on bug 18885? -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.o

[issue18885] handle EINTR in the stdlib

2014-07-30 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue18885> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17984] io and _pyio modules require the _io module

2014-07-10 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue17984> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21859] Add Python implementation of FileIO

2014-07-10 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue21859> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9861] subprocess module changed exposed attributes

2014-07-07 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: The statement in comment http://bugs.python.org/issue9861#msg133051 seems to be wrong as changes between versions 2.5 and 2.6 are not security only fixes. Changing visibility of module's public attributes should at least be documented thus closing thi

[issue1298835] Add a vendor-packages directory for system-supplied modules

2014-03-25 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue1298835> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21026] Document sitecustomize.py problems with pythonw

2014-03-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue21026> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10835] sys.executable default and altinstall

2014-03-11 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: > Garbage in, garbage out. In this case – exec -a '' – yes, but in general not so – see "Mismatch between sys.executable and sys.version in Python" question at SO (http://stackoverflow.com/q/22236727/95735). As to not guessing Vi

[issue17128] OS X system openssl deprecated - installer should build local libssl

2014-03-07 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue17128> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7231] Windows installer does not add \Scripts folder to the path

2014-02-20 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue7231> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19744] test_venv fails if SSL/TLS is not available

2013-12-03 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue19744> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19279] UTF-7 to UTF-8 decoding crash

2013-10-18 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue19279> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12939] Add new io.FileIO using the native Windows API

2013-10-10 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I guess extracting Richard's patch to a package and placing it on PyPI would be a good move. I recalled reading this bug after I saw "Does Python IO allow opened file to be deleted/renamed on Windows?" question on Stackoverflow (http://stac

[issue11011] More functools functions

2013-10-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue11011> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1673203] add identity function

2013-10-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue1673203> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10049] Add a "no-op" (null) context manager to contextlib

2013-10-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue10049> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8713] multiprocessing needs option to eschew fork() under Linux

2013-09-12 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue8713> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14597] Cannot unload dll in ctypes until script exits

2013-08-28 Thread Piotr Lopusiewicz
Piotr Lopusiewicz added the comment: >>For most ctypes uses, closing is irrelevant, since people typically access >>system libraries that are independently loaded anyway, so closing them would >>not have any effect. My use case is this: I test some things, then I need to

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2013-08-14 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue4749> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12939] Add new io.FileIO using the native Windows API

2013-08-13 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue12939> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Sure, something like "The purpose of this function is to construct a string which will be later interpreted by MS C runtime as denoting a sequence of arguments. Because of this the string is built in such a way as to preserve the original characters

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: The docstring starts with this statement "Translate a sequence of arguments into a command line string, using the same rules as the MS C runtime:" which clearly makes the impression that function list2cmdline uses the same rules as the MS C runtim

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue18649> ___ ___ Python-bugs-

[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I think you're missing the point. The implementation is wrong as it does not do what documentation says which is "A double quotation mark preceded by a backslash is interpreted as a literal double quotation mark." How the output of list2cm

  1   2   3   >