[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:

[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:

[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:

[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:

[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:

[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:

[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

[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:

[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:

[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:

[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:

[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:

[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

[issue9148] os.execve puts process to background on windows

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: This is unexpected and makes people wonder what's going on. See http://stackoverflow.com/q/7004687/95735 and http://stackoverflow.com/q/7264571/95735. -- ___ Python tracker <http://bugs.python.org/i

[issue9148] os.execve puts process to background on windows

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

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: >Maybe the solution is to make what I was trying to do easier without >fooling with the shell instead of playing the fool's game of trying to >improve the ability to deal with the shell so we can pass things >through it unnecessarily. You

[issue13238] Add shell command helpers to subprocess module

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

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

2013-08-03 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: According to the docstring of list2cmdline function in subprocess module the sequence of a backslash followed by a double quote mark should denote double quote mark in the output string. However it's not the case Python 2.7.4 (default, Apr 6 2013,

[issue18476] No way to pass custom arguments for loggers and formatters.

2013-07-25 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue18476> ___ ___ Python-bugs-list mailing list Unsubscri

[issue18476] No way to pass custom arguments for loggers and formatters.

2013-07-16 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: It seems there's no way to pass custom arguments for loggers (http://hg.python.org/cpython/file/d9893d13c628/Lib/logging/__init__.py#l) and formatters (http://hg.python.org/cpython/file/d9893d13c628/Lib/logging/config.py#l117) the same way the

[issue17010] Windows launcher ignores active virtual environment

2013-06-13 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Vinay Is there any discussion which lead to this change? -- ___ Python tracker <http://bugs.python.org/issue17010> ___ ___

[issue17871] Wrong signature of TextTestRunner's init function

2013-04-29 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: TextTestRunner's init as of 3.3.1 has (http://hg.python.org/cpython/file/d9893d13c628/Lib/unittest/runner.py#l128) the following parameters: stream, descriptions, verbosity, failfast, buffer, resultclass, warnings whereas docs (http://docs.python.or

[issue17744] Unset VIRTUAL_ENV environment variable in deactivate.bat

2013-04-15 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: activate.bat sets VIRTUAL_ENV environment variable. This variable is treated as a sign that virtualenv is active. For this reason deactivate.bat should unset this variable. See https://github.com/pypa/virtualenv/pull/364 -- components: Library (Lib

[issue17743] Use extended syntax of `set` command in activate.bat/deactivate.bat batch files.

2013-04-15 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: This makes it possible to handle paths/usernames with special characters - see https://github.com/pypa/virtualenv/pull/352 -- components: Library (Lib) messages: 187037 nosy: piotr.dobrogost, vinay.sajip priority: normal severity: normal status

[issue15281] pyvenv --symlinks option is a no-op?

2013-04-15 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: It's simpler but is it better this way? I doubt. I think we should take advantage of symlinks whenever we can and only fallback to copying if they are not available. -- ___ Python tracker <http://bugs.py

[issue15281] pyvenv --symlinks option is a no-op?

2013-04-14 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: > Following discussions on python-dev, the default is always to symlink, > except on Windows (no support for true symlinks on XP and older) and In this case couldn't symlinks be automatically used on Windows Vista or newer? -- nosy: +piot

[issue17010] Windows launcher ignores active virtual environment

2013-04-14 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Issue titled "Python Launcher and virtualenv?" at https://bitbucket.org/vinay.sajip/pylauncher/issue/15/ is related. -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.o

[issue17480] pyvenv should be installed someplace more obvious on Windows

2013-04-14 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I've just stumbled upon this issue after asking "Where is pyvenv script in Python 3 on Windows installed?" question at http://stackoverflow.com/q/1598/95735 "Perhaps Windows installs should include (alongside Python.exe) a pyvenv.ex

[issue15244] Support for opening files with FILE_SHARE_DELETE on Windows

2013-03-14 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: > I don't understand whether you are proposing to include the patch into Python > as-is; I think Richard is well aware of the constraints you specify and current patch was meant as a proof of concept; to show that all tests pass with such a

[issue15244] Support for opening files with FILE_SHARE_DELETE on Windows

2013-03-13 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +dabrahams, ncoghlan ___ Python tracker <http://bugs.python.org/issue15244> ___ ___ Python-bugs-list mailing list Unsub

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2013-03-13 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @sbt Thanks for info. Also you mentioned looking at c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/crt/src/open.c What version of Visual Studio/SDK this file is available in? Also I'd like to point out that this problem came up at Stack Overfl

[issue15244] Support for opening files with FILE_SHARE_DELETE on Windows

2013-03-13 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Having the same semantics on both Unix and Windows with regard to validity of file handle after a file was deleted would be a very nice to have. How could we progress this? I'm adding Martin and Antoine to cc list. -- nosy: +loewis, p

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2013-03-12 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @sbt > (...) and it seems that on Windows open() is more or less implemented > as a wrapper of sopen(..., ..., SH_DENYNO, ...). > So the only reason that trying to reopen a NamedTemporaryFile fails on > Windows is because when we reopen we

[issue17322] urllib.request add_header() currently allows trailing spaces (and other weird stuff)

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

[issue15244] Support for opening files with FILE_SHARE_DELETE on Windows

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

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

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

[issue17164] MozillaCookieJar does not handle session cookies

2013-02-20 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I could try to write a patch with some help if there was any chance it might be accepted. Where do I start? -- ___ Python tracker <http://bugs.python.org/issue17

[issue17164] MozillaCookieJar does not handle session cookies

2013-02-08 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: It seems there's no information on how should session cookies be stored in the Netscape/Mozilla's cookies.txt file with regard to expiry time - see http://www.cookiecentral.com/faq/#3.5 Maybe Netscape has not been saving such cookies at all thus

[issue1660009] continuing problem with httplib multiple set-cookie headers

2013-01-08 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @jjlee What you said re commas in 2007 was wrong and still is. Joining (with commas) multiple header field values having the same field name unconditionally (without knowing it's safe) was not allowed by RFC 2616 and still is not allowed by the upcomin

[issue4773] HTTPMessage not documented and has inconsistent API across Py2/Py3

2013-01-08 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: ...continuing my previous comment Joining headers with the same name by ", " by HTTPResponse.getheaders() in Python 2.7 is wrong and there's a bug for this - see http://bugs.python.org/issue1660009 -- ___

[issue4773] HTTPMessage not documented and has inconsistent API across Py2/Py3

2013-01-08 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @joel.verhagen "Should HTTPResponse.getheaders() comma-separate the values (...)" No, it should not. RFC 2616 states: "Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value

[issue8109] Server-side support for TLS Server Name Indication extension

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

[issue3244] multipart/form-data encoding

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

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-11-14 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: > But I think Piotr's use case is when you download some new library (...) Yes, indeed. -- ___ Python tracker <http://bugs.python.org

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-28 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Vinay I don't see other use cases but maybe guys behind py.test, where there is such a feature could come up with other use cases. The solution with passing config dict in a new command line parameter seems to be enough as long as logging is conc

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-27 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Chris The example given by Holger Krekel (http://stackoverflow.com/a/13094042/95735) showing how it can be done with pytest is exactly the thing I had in mind. It would be good to have this feature incorporated into unittest. @Michael I guess checking

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-24 Thread Piotr Dobrogost
New submission from Piotr Dobrogost: When running tests bundled with a library it would be useful to be able to run some initialization code before tests are being run so that one can configure options pertaining to logging for example. For this reason it would be useful to have a new command

[issue15633] httplib.response is not closed after all data has been read

2012-10-22 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Nikolaus Issue 16298 was raised today describing what could be the cause of what you observe. -- ___ Python tracker <http://bugs.python.org/issue15

[issue16298] httplib.HTTPResponse.read could potentially leave the socket opened forever

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

[issue15633] httplib.response is not closed after all data has been read

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

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

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

  1   2   >