Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue16389>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Well, I've closed it as out-of-date.
--
resolution: -> out of date
stage: -> resolved
___
Python tracker
<http://bugs.python.
Andrew Svetlov added the comment:
Fixed in 71a0743f36db and 06bdd7e8fffd
--
nosy: +asvetlov
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3
_
Andrew Svetlov added the comment:
Fixed in d19c58e13ac9
Thanks
--
nosy: +asvetlov
resolution: -> fixed
stage: -> resolved
status: open -> closed
versions: +Python 3.4, Python 3.5
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Cannot reproduce.
--
nosy: +asvetlov
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
New submission from Andrew Svetlov:
Fixed in f578e1d717b7 and f578e1d717b7.
Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Bug can be reproduced if _PyBytes_Resize fails with out-of-memory error than
NULL object decrefed.
Buggy modules are _io, binascii and zlib.
3.4 hasn't the problem.
Patch for 3.3 is attached.
Fix goes to mimic 3.4 -- (replace Py_DECREF with Py_CLEAR),
Changes by Andrew Svetlov :
--
keywords: +needs review
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue20434>
___
___
Python-bugs-lis
Andrew Svetlov added the comment:
Implementation uses the first choice:
main_thread() returns the original _MainThread instance, even if it's dead in
the child process.
I'm sorry, would you guess desired documentation change?
--
___
Pyth
New submission from Andrew Svetlov :
On Windows there are tiny delay between call to os.unlink and real file
removing. Periodically it leads to unittest crashes in cases like this:
test.support.unlink(filename)
f = open(filename, 'wb')
Proposed solution: wait in support.unlink
Andrew Svetlov added the comment:
patch for python 2 is attached
--
Added file: http://bugs.python.org/file15455/python2.patch
___
Python tracker
<http://bugs.python.org/issue7
Andrew Svetlov added the comment:
Problem can be reproduced with several run of test_bufio in both python
versions. trunk contains more tests (+1 test case) so it's easer to catch
'access denied' exception on it.
--
___
Python
Andrew Svetlov added the comment:
You right, problem is not in os.unlink (Windows call DeleteFile) itself.
I have TortoiseSVN (very popular Explorer extension to work with
Subversion) installed.
This tool run TSVNCache.exe process to update own data in background.
TSVNCache.exe receive
Andrew Svetlov added the comment:
Jason, as I see you implemented os.samefile (actually ntpath.samefile)
but os.sameopenfile is still not implemented.
Looks like it's easy to do: while GetFinalPathNameByHandle already
accept file handle you can use CRT function _get_osfhandle(f
Andrew Svetlov added the comment:
Please note: patch for http://bugs.python.org/issue1578269 is already has
implementation for samefile. It's easer to add sameopenfile is same way
than maintain two different approaches.
Unfortunately solution will work only starting from Windows Vist
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue6727>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue7316>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue5596>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue7566>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I can reproduce this problem on Windows Vista, fresh py3k sources.
Looks like bug occurs only with Latin-1 characters.
At least Cyrillic works ok.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.
Andrew Svetlov added the comment:
>From my understanding (after tracing/debugging) problem lies in import.c
find_module tries to convert path from unicode to bytestring using
Py_FileSystemDefaultEncoding (line 1397). For Windows it is 'mbcs'.
Conversion done with decode_mbcs (un
Andrew Svetlov added the comment:
optional .bat file generating - probably not bad idea.
But I definitely don't want to see this issue as default.
Maybe just tool for generating bat files for desired packages based on
package metadata for scripts can be solution?
--
nosy: +asv
Andrew Svetlov added the comment:
Problem fixed, patch attached
I inserted conversion path parameters to using Py_FileSystemDefaultEncoding for:
* load_module
* load_compiled
* load_dynamic
* load_source
* load_package
find_module is already has conversion.
--
Added file: http
Andrew Svetlov added the comment:
Thank you.
On Mon, Mar 30, 2009 at 3:13 PM, Hirokazu Yamamoto
wrote:
>
> Hirokazu Yamamoto added the comment:
>
> PyMem_Free is needed when "es" is used with PyArg_ParseTuple. See other
> part of import.c. I did same mistake before.
Andrew Svetlov added the comment:
According to Hirokazu Yamamoto memory cleanup added.
Patch is updated.
--
Added file: http://bugs.python.org/file13486/import.zip
___
Python tracker
<http://bugs.python.org/issue5
Andrew Svetlov added the comment:
Continuing work over import.c I fixed bad error message encoding in
generated ImportError exception.
Tests for checking in case of non-ascii characters added.
--
Added file: http://bugs.python.org/file13520/import.zip
Andrew Svetlov added the comment:
Martin von Loewis added to nosy list
--
nosy: +loewis
___
Python tracker
<http://bugs.python.org/issue5604>
___
___
Python-bug
Andrew Svetlov added the comment:
Patch for multiprocessing added.
Using with regrtest -n option now allows to pass all regression test
stack without any popup assertion dialog on Windows box.
Probably have to be backported to Python 2.7 branch
--
components: +Tests
versions: +Python
Andrew Svetlov added the comment:
Maybe also let's look on setuptools solution.It can make windows
executable for 'entry point scripts'.
Also there are family scripts for single entry point:
* easy_install.exe
* easy_install-2.5.exe
* easy_install-2.5-script.py
* easy_insta
Andrew Svetlov added the comment:
Problem in _multiprocessing is:
FILE* fp = _fdopen(...);
int fd = _fileno(fp);
_close(fd);
_fclose(fp); // raises assertion
At process exit system tries to close all opened FILE* by _fcloseall,
but file closed by descriptor _close has invalid state and _fclose
Andrew Svetlov added the comment:
Martin, can you review latest patch and apply it if this one is correct.
I want to start working on conversion import.c to use unicode strings
(we spoke about Tuesday) this weekend.
It will be nice if I will have synchronized svn before making new
changes
Andrew Svetlov added the comment:
Continuing work on problem I figured out:
* on Windows it's impossible to convert filenames to file system
encoding without and don't miss something.
* Windows can work properly only with unicode (wchar_t) characters.
* all other systems feels i
Andrew Svetlov added the comment:
After looking in #4352 deep I figured out what true separation of filesystem
default encoding and utf8 python namespace is really too complicated.
For example import call stack chain converts module name from utf-8 to
filesystem in import.c:find_module
Changes by Andrew Svetlov :
--
nosy: +brett.cannon
___
Python tracker
<http://bugs.python.org/issue8611>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
I'm skeptical about surrogates particularly for that problem.
>From my perspective the solution is only to use native unicode support for
>windows file operation functions.
Conversions utf-8 -> mbcs -> utf8 will loose encoding information
New submission from Andrew Svetlov:
Hi.
On reading the doc for pathlib I've stuck with `.rename()` and `.replace()`
(https://docs.python.org/3/library/pathlib.html#pathlib.Path.rename).
What's the difference?
Going to pathlib's source code I've figured out that metho
Andrew Svetlov added the comment:
Just keeping the reference to `os.rename()`:
https://docs.python.org/3/library/os.html#os.rename
Aha, `os.rename` says: "On Unix, if dst exists and is a file, it will be
replaced silently if the user has permission." and "On Windows, if dst
Andrew Svetlov added the comment:
Fixed. July, would you fill Licence agreement
http://www.python.org/psf/contrib/?
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python track
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17338>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17330>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17351>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Agree with Terry.
The patch LGTM except unicode literals part.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17
Andrew Svetlov added the comment:
Agree in general, but you need to update the docs also.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17385>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17423>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
The patch is welcome
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17462>
___
___
Python-bugs-list mailin
Changes by Andrew Svetlov :
--
nosy: asvetlov
priority: normal
severity: normal
status: open
title: Fix test discovery for test_pdb.py
versions: Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue17
Changes by Andrew Svetlov :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Fixed.
Thanks, Berker
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17206>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue1521051>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed in 4712f9f8a90d, 5e5081cdc086, e4beda7cca2f.
Thanks.
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17552>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
dependencies: +Errno checking replaced by concrete classes inherited from
OSError
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17650>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
dependencies: +There is no exception correspond to errno EROFS
___
Python tracker
<http://bugs.python.org/issue16705>
___
___
Pytho
Andrew Svetlov added the comment:
NEWS updated, thanks.
--
___
Python tracker
<http://bugs.python.org/issue17502>
___
___
Python-bugs-list mailing list
Unsub
Andrew Svetlov added the comment:
I've asked atykhonov for that because we have two sets:
1. Can be done with current exception classes
2. errno values doesn't have concrete OSError inherited exception and we have
to make decision: add new exceptions or use errno check.
This i
Andrew Svetlov added the comment:
Sorry for reopening.
Do you really sure that ENOTCONN and EINVAL doesn't worth to have separate
sublasses?
The same question about Not Supported family.
I don't force to make new exception classes, just like to figure out the status
quo.
If we
Andrew Svetlov added the comment:
Sorry, but you cannot just rewrite ./python.exe to just python.exe
At least in http://docs.python.org/devguide/buildbots you have to make probably
three sections:
1. for linux users to use just ./python
2. for Mac ./python.exe
3. for Windows /PCBuild
Andrew Svetlov added the comment:
Ok. Antoine's comment is clean.
Let's close the issue.
--
status: pending -> closed
___
Python tracker
<http://bugs.pytho
Andrew Svetlov added the comment:
Looks like the patch is out-of-date and tests doesn't pass.
Would you push updated version?
--
___
Python tracker
<http://bugs.python.org/is
Changes by Andrew Svetlov :
--
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issue13355>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Test for the issue_13355.patch is incorrect, please fix.
--
___
Python tracker
<http://bugs.python.org/issue13355>
___
___
Pytho
Andrew Svetlov added the comment:
I've found the stable link to CGI 1.1 spec at
http://tools.ietf.org/html/draft-robinson-www-interface-00
Links to spec from the issue looks like broken.
Please, can you describe why we need to convert, say, HTTP_USER_AGENT to
user-agent?
I see in the
Andrew Svetlov added the comment:
I like the patch but please add tests also.
We need to put new behavior in stone :)
Take a look on comments to the patch also.
--
___
Python tracker
<http://bugs.python.org/issue1521
Andrew Svetlov added the comment:
LGTM, will commit if no objects.
Let's leave encoding problems for upcoming issue.
Please file new one if needed.
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Agree with Sentil
--
___
Python tracker
<http://bugs.python.org/issue900112>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
versions: +Python 3.4
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Cool! Thanks.
--
___
Python tracker
<http://bugs.python.org/issue6696>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Pushed for 3.3 and 3.4.
As I see 2.7 has no this problem.
Close the issue.
Thanks for all.
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bug
Andrew Svetlov added the comment:
Pushed.
Yuriy Senko, thanks for patch.
But, please, be more accurate with tests for another one.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python track
Andrew Svetlov added the comment:
Reverted. Sorry.
--
___
Python tracker
<http://bugs.python.org/issue13355>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Agree with Serhiy. Better to direcly use OSError than IOError alias.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue2
Andrew Svetlov added the comment:
No, PEP3121 patch is not ready yet but PEP384 has been applied.
--
___
Python tracker
<http://bugs.python.org/issue15
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17810>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Actually stdin/stdout/stderr are string streams if universal_newline is True
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17
Andrew Svetlov added the comment:
For Ubuntu/debian you can just run:
$ sudo apt-get build-dep python3
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue22
New submission from Andrew Svetlov:
See
http://stackoverflow.com/questions/27480967/why-does-the-asyncios-event-loop-suppress-the-keyboardinterrupt-on-windows
for details
--
components: asyncio
messages: 232678
nosy: asvetlov, gvanrossum, haypo, yselivanov
priority: normal
severity
Andrew Svetlov added the comment:
Closed
--
nosy: +asvetlov
resolution: -> duplicate
stage: -> resolved
superseder: -> operator.setitem example no longer works in Python 3 due to
lazy map
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue4395>
___
___
Python-bug
Changes by Andrew Svetlov :
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue4395>
___
___
Python-bugs-list mailing list
Un
Andrew Svetlov added the comment:
-1.
Sorry, I don't see the reason for making custom `Future` class.
Can you elaborate?
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
I guess R. David Murray asked you to make the least minimal change,
even it breaks the formatting rules.
Paragraph reflow is safe when it's done by the Core Developer but it
requires additional check (and probably mercurial conflict errors on
merging the c
Andrew Svetlov added the comment:
I'm with Antoine.
Yes, GIL is extremely important but please don't put GIL mentions everywhere.
On Sun, Jan 18, 2015 at 4:39 PM, Antoine Pitrou wrote:
>
> Antoine Pitrou added the comment:
>
> Please let's stop it. Mentioning th
Andrew Svetlov added the comment:
I'm sorry.
The patch is correct from my perspective if we want to make bdist_install just
working.
Or as an option I can restore PyCFunction_New function declaration.
What do you prefer?
--
___
Python tr
Changes by Andrew Svetlov :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue24411>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Andrew Svetlov:
Now those methods use lock for querying queue size, like
def qsize(self):
with self.mutex:
return self._qsize()
The lock is not necessary because thread context switch may be done *after*
returning from mutex protected code but
Andrew Svetlov added the comment:
Raymond, is there known custom third-party queue class derived from
queue.Queue? I believe all those are in stdlib only.
Also locking guarantee is promised by comment in source code only,
documentation says nothing about it.
I believe proposed change will
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue24400>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrew Svetlov:
See https://github.com/KeepSafe/aiohttp/issues/497 for the reason.
Desctructors and descendant code (`loop.call_exception_handler()`) can be
called on interpreter shutdown stage, which leads to printouts like 'None
object has no attribute &q
Andrew Svetlov added the comment:
> You should try to implement something in aiohttp or even in the application
> to cleanup objects at exit. For example, it's probably wrong if you still
> have tasks when the event loop is closed. Especially if tasks are still
> pending.
T
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue24598>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrew Svetlov:
Before using SSL BIO (which is great itself BTW) I has a way to access peers
certificate by `ssl_transp.get_extra_info('socket').getpeercert()` call.
Now socket is a regular socket without `.getpeercert()` method.
I use hack like `ssl_transp._ss
Andrew Svetlov added the comment:
I've missed your patch, sorry.
Everything is fixed by http://bugs.python.org/issue25114
--
resolution: -> duplicate
stage: -> resolved
___
Python tracker
<http://bugs.python.
Andrew Svetlov added the comment:
BTW for fingerprint check for self-signed certs I need binary form of
certificate `ssl_obj.getpeercert(binary_form=True)` but
`transp.get_extra_info('peercert')` returns a dict-based form.
--
___
Pyth
Andrew Svetlov added the comment:
Fixed. Thanks!
--
nosy: +asvetlov
resolution: -> fixed
stage: -> resolved
status: open -> closed
versions: +Python 3.6
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Fixed in 9a10055e12fa d7d18ef3e05c 1465b18ef4fc
--
nosy: +asvetlov
resolution: -> fixed
stage: -> resolved
status: open -> closed
versions: +Python 3.4, Python 3.6
___
Python tracker
<http://bug
Andrew Svetlov added the comment:
Also sphinx (pygments actually) still do not support async/await syntax
highlighting yet.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue25
2401 - 2500 of 2519 matches
Mail list logo