Marcin Kowalczyk added the comment:
Thank you!
This means that I can continue to use PyUnicode_AsUTF8AndSize() without
worries:
https://github.com/google/riegeli/commit/17ab36bfdd6cc55f37cfbb729bd43c9cbff4cd22
--
___
Python tracker
<ht
Marcin Wiśniewsk added the comment:
>``>#
#7¡0.. ⁵
>⁵&^^}
>7&£_86>>
X.*
>{[》》_`&&■●♤
$£/>}<¡#¤>⁵="⁵
--
nosy: +Marcin Wiśniewsk
versions: +Python 3.6
Added file:
https://bugs.python.org/file49089/
Marcin Kasperski added the comment:
Hmm, I noticed this but accidentally and tried to port
https://github.com/pypa/setuptools/issues/1635 to new api. Well:
>>> import multiprocessing
>>> import sys
>>> reader =
>>> sys.modules['multiprocess
Marcin Gozdalik added the comment:
A program which failed under Python 3.6 with
TypeError: 'int' object is not callable
still fails under Python 3.7.4 with same exception:
import signal
import os
import sys
import time
import multiprocessing
def fail():
def han
Marcin Niemira added the comment:
I'm terribly sorry, but I feel I won't be able to fix this issue. Sorry for
fuss. Closing my PR, because it's broken.
--
___
Python tracker
<https://bugs.pyt
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +14369
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14551
___
Python tracker
<https://bugs.python.org/issu
Marcin Niemira added the comment:
Sounds like there is an infinite loop here:
```
Pdb)
> /usr/lib/python3.7/email/_header_value_parser.py(2370)get_parameter()
-> v.append(token)
(Pdb)
> /usr/lib/python3.7/email/_header_value_parser.py(2365)get_parameter()
-> while val
Change by Marcin Niemira :
--
pull_requests: +12832
___
Python tracker
<https://bugs.python.org/issue36523>
___
___
Python-bugs-list mailing list
Unsubscribe:
Marcin Niemira added the comment:
Hey,
Is there something I can improve in this PR?
--
___
Python tracker
<https://bugs.python.org/issue36523>
___
___
Python-bug
Marcin Niemira added the comment:
Hey,
Yes, it does. Closing issue and PR.
Cheers!
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +12710
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36600>
___
___
Py
New submission from Marcin Niemira :
Disabled test in not failing anymore.
```./python -m test -u all -v test_nntplib -m test_article_head_body
== CPython 3.8.0a3+
(heads/feature/pep-572-improvement-in-smtplib-dirty:f4efa312d1, Apr 8 2019,
21:0) [GCC 7.3.0]
== Linux-4.15.0-46-generic-x86_64
Marcin Niemira added the comment:
Thanks for the explanation.
I'll close issue and PR.
Cheers :)
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.
New submission from Marcin Niemira :
pycodestyle (pep8) reports some issues on linting for Lib/smtplib.py
I believe we can fix most of them and apply some improvements due to pep-572.
PR on GH.
Are contributions like this valuable?
--
components: Library (Lib)
messages: 339714
nosy
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +12664
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36571>
___
___
Py
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +12611
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36523>
___
___
Py
New submission from Marcin Niemira :
Hey,
There is a missing function doc in `io.IOBase`
```python
import os
help(io.IOBase.writelines)
```
produces output like:
```
Help on method_descriptor:
writelines(self, lines, /)
```
I'll be happy to provide PR for this issue.
Cheers,
M
Marcin Gozdalik added the comment:
#0 0x004f4af3 in stackdepth_walk (maxdepth=5, depth=3, b=, c=) at ../Python/compile.c:3436
#1 stackdepth_walk (maxdepth=, depth=0, b=,
c=0x7fff4f5b84f0) at ../Python/compile.c:3456
#2 stackdepth (c=0x7fff4f5b84f0) at ../Python/compile.c:3486
#3
New submission from Marcin Gozdalik :
When running
/usr/bin/python /usr/bin/pip install --upgrade "pip < 10"
the interpreter crashed in stackdepth_walk. I've seen this crash multiple
times, especially in our custom-compiled CPythons. Here it's
reproduced with stock U
Marcin added the comment:
Actually the documentation hasn't been regenerated yet. I hope it will over
night?
--
___
Python tracker
<https://bugs.python.org/is
Marcin added the comment:
I'm very honoured with your request. Doing this for the first time with Python,
hope you can accept it despite warnings.
https://github.com/python/cpython/pull/11144
--
___
Python tracker
<https://bugs.py
New submission from Marcin :
Hello,
from documentation:
https://docs.python.org/3/library/venv.html
"python3 -m venv /path/to/new/virtual/environment
Running this command creates the target directory (creating any parent
directories that don’t exist already) and places a pyvenv.cfg file
New submission from Marcin Kowalczyk :
The documentation is silent whether PyUnicode_AsUTF8AndSize() or
PyUnicode_AsUTF8String() is preferred.
We are under the assumption that both are acceptable for the given caller, i.e.
the caller wants to access just the sequence of UTF-8 code units (e.g
Change by Marcin Niemira :
--
pull_requests: +9839
___
Python tracker
<https://bugs.python.org/issue11122>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +9835
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Marcin Raczyński added the comment:
Thanks Serhiy for explanation!
I quote your comment in a lxml issue tracker:
https://bugs.launchpad.net/lxml/+bug/736708
--
resolution: -> wont fix
status: open -> closed
___
Python tracker
Marcin Raczyński added the comment:
How are you sure that a bug is not in the CPython implementation of the pickle
module but in the lxml?
--
resolution: third party ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/i
New submission from Marcin Raczyński :
If we use pickle.HIGHEST_PROTOCOL we can pickle lxml.etree.Element object but
unpickling give us misleading error description:
>>> from lxml import etree
>>> import pickle
>>> import sys
sys.version
'2.7.15rc1 (default, Apr
Change by Marcin Niemira :
--
pull_requests: +7741
___
Python tracker
<https://bugs.python.org/issue34061>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Marcin Niemira :
--
pull_requests: +7740
stage: backport needed -> patch review
___
Python tracker
<https://bugs.python.org/issue34061>
___
___
Py
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +7730
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Marcin Niemira :
--
keywords: +patch
pull_requests: +7729
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Marcin Kasperski added the comment:
Is this fix released? I can't find it in the changelog…
(I faced this bug on 3.5.2, released a couple of months after this bug was
closed…)
--
nosy: +Mekk
___
Python tracker
<https://bugs.python.org/is
Marcin Słowik added the comment:
I can confirm, I have managed to accidentally reproduce this issue on a custom
build of 3.6.0 on RHEL.
sys.version:
'3.6.0 (default, Jan 18 2017, 11:23:11)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]'
The issue popped out of nowhere, on a code that was
Changes by Marcin Szewczyk :
--
nosy: +wodny
___
Python tracker
<http://bugs.python.org/issue4963>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Marcin Szewczyk:
While asyncio.wrap_future is mentioned in PEP 3156 and has its docstring it is
undocumented in the reference. run_in_executor is documented but doesn't
mention wrap_future either.
$ grep -r wrap_future Doc; echo $?
1
--
assignee: docs@p
Marcin Szewczyk added the comment:
Thanks for the update.
Regarding the "plain generator" part -- am I right thinking it's simply a
generator not decorated with @asyncio.coroutine?
--
___
Python tracker
<http://bugs.pyt
New submission from Marcin Szewczyk:
Using benchmark from the section
https://www.python.org/dev/peps/pep-0492/#async-await raises:
Traceback (most recent call last):
File "./bench.py", line 28, in
timeit(abinary, 19, 30)
File "./bench.py", line 23, in timei
New submission from Marcin Kościelnicki:
All hell breaks loose when unicode is passed as the second argument to
urllib.quote in Python 2:
>>> import urllib
>>> urllib.quote('\xce\x91', u'')
Traceback (most recent call last):
File "", line 1,
Marcin Wojdyr added the comment:
I just came across this issue when compiling 2.7.8 with ICC 15.0.
But apparently it's been fixed in the meantime by updating libffi to v3.1
(r92061 for 2.7).
--
nosy: +wojdyr
___
Python tracker
New submission from Marcin Szewczyk:
As stated in the subject. Example is in a remote Git repository:
https://bitbucket.org/wodny/python-dbm-experiments/
It shows how some random data gets into the database (into some gaps between
keys and values). There is also a C example which hasn't
New submission from Marcin Szamotulski:
This simple snipet will crash python:
>>> d={}
>>> v=d.viewvalues()
>>> k=d.viewkeys()
>>> d[v]=k
>>> k
Segmentation fault
I am using python2.7. Python3.2 does not have views while .keys() and
.values()
New submission from Marcin Szewczyk:
I've done some experiments with:
1) multiprocessing.Process.join()
2) os.waitpid()
3) subprocess.Popen.wait()
These three methods behave completely different when interrupted with a signal
which I find disturbing.
Reactions are:
1) exit with no exce
Marcin Bachry added the comment:
I think it may be related to this bug: http://bugs.python.org/issue6721
--
nosy: +marcin.bachry
status: pending -> open
___
Python tracker
<http://bugs.python.org/issu
Marcin Bachry added the comment:
This patch fixes issue with unitialized variable which makes ctypes crash in
error handler.
Note that for you it merely turns "Segmentation fault" into MemoryError
exception. Python ships with buggy version of libffi, which tries to allocate
me
Marcin Bachry added the comment:
I wrote a Perl script testing this issue and it fails too, so it's most
probably a bug in sqlite itself. I think the bug is already reported under id
26ff0c82d1 in sqlite bug tracker: http://www.sqlite.org/src/rptview?rn=2
--
nosy: +marcin.b
Changes by Marcin Bachry :
--
nosy: +marcin.bachry
___
Python tracker
<http://bugs.python.org/issue8407>
___
___
Python-bugs-list mailing list
Unsubscribe:
Marcin Bachry added the comment:
I had odd problems matching line numbers reported by Windows compiler
to actual sources, so I used "gcc -Wextra" to produce (even more)
signedness warnings against Python 2.x r77957:
listobject.c:132: warning: comparison between signed and unsign
Marcin Bachry added the comment:
I attach the patch. I changed signedness in all three sequence types and made
sure tests crash when run on unpatched Python.
--
Added file: http://bugs.python.org/file16019/fix.diff
___
Python tracker
<h
Marcin Bachry added the comment:
Yes, I can give a shot.
--
___
Python tracker
<http://bugs.python.org/issue7788>
___
___
Python-bugs-list mailing list
Unsub
Marcin Bachry added the comment:
Using "grep" I found the same code in Modules/arraymodule.c:
from array import array
del array('i', range(10))[9::1<<333]
--
___
Python tracker
<htt
Marcin Bachry added the comment:
I think the expression "cur + step" in line 2660 of listobject.c (py2.7 trunk)
overflows to negative value and the "if" branch isn't entered.
if (cur + step >= Py_SIZE(self)) {
lim = Py_SIZE(self) - cur - 1;
}
If I chang
Marcin Bachry added the comment:
In the libc case you shouldn't give absolute path in CDLL: CDLL('libc.so.6') is
better. You use "/lib/libc.so.6" path, but Python (and ctypes.so) actually uses
something like "/lib/tls/i686/cmov/libc.so.6" - these are tw
Marcin Bachry added the comment:
> Still, I'd be extremly grateful if someone could tell me the trick how
to create a backtrace in such a deadlock situation
Sorry, I should have mentioned that. In order to get backtrace you let the
process freeze, attach gdb to it (it will freeze to
Marcin Bachry added the comment:
Here's the backtrace:
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x7fcd0234a6e8 in PyThread_acquire_lock (lock=0x183f3f0, waitflag=128)
at Python/thread_pthread.h:349
#2 0x7fcd02311fa4 in PyEval_RestoreThread (t
Marcin Stepnicki added the comment:
> I don't have any strong view over whether the interpreter should,
> theoretically, block signals in non-main threads. But, practically,
> blocking signals apparently produced issues with readline (and possibly
> other libs relying on signa
Marcin Kasperski added the comment:
I found this bug while looking for suggestions how to add examples to
the optparse help call, but I feel there is a better and more general
solution - just provide some minimal formatting for description: treat
empty line as paragraph separator. Then I would
Changes by Marcin Wider :
--
nosy: +marcin.wider
___
Python tracker
<http://bugs.python.org/issue5080>
___
___
Python-bugs-list mailing list
Unsubscribe:
Marcin Bachry added the comment:
Looks like duplicate of #6734.
--
nosy: +marcin.bachry
___
Python tracker
<http://bugs.python.org/issue6897>
___
___
Python-bug
Marcin Bachry added the comment:
Actually it's a bug in ctypes.util.find_library() which is called from
uuid.py. The function doesn't close() popen object leaving forked
process in zombie state. I attach the fix.
--
keywords: +patch
nosy: +marcin.bachry
Added
Marcin Stepnicki added the comment:
I have just got bitten by this bug - I usually run my software under
Linux/Windows, this was the first time that my customer requested
specifically FreeBSD platform and I was *really* surprised. Not to
mention the fact that bug in Python came as the last
Marcin Bachry added the comment:
Ok, it think it's good to leave internal _quote() function operating on
bytes and convert password argument in login(). The method now works
with both str and bytes as arguments.
--
keywords: +patch
Added file: http://bugs.python.org/file14752/im
Marcin Bachry added the comment:
It seems most IMAP4 methods accept str as arguments right now (I
checked: list, lsub, myrights, select, status, search, fetch) and
login() is a sole exception. I know the protocol is mostly ascii only,
but still having possibility of using str in the API feels
New submission from Marcin :
I have found bug in pyuic4.bat. I have installed python to directory
c:\programs. The path to 'python.exe' is c:\programs\python.exe. Content
of file pyuic4.bat is:
@"C:\Python25\python.exe"
"C:\Python25\Lib\site-packages\PyQt4\uic\pyuic.py
Marcin Bachry added the comment:
The test program uses constant memory on my machine. Ubuntu 9.04,
libdb4.7.25-6ubuntu1, python 2.7 trunk.
--
nosy: +marcin.bachry
___
Python tracker
<http://bugs.python.org/issue3
Marcin Bachry added the comment:
I think there are two bugs spotted here. The first is the mentioned
missing "close" param to _fileobject in makefile() method.
The second one was noticed by Jonathan. He doesn't use makefile() at
all, yet his socket isn't closed either. He
Marcin Bachry added the comment:
Here's a dumbed down version of the test from #4470. It requires
network, but no gmail account is needed to run the test.
--
Added file: http://bugs.python.org/file13952/test_smtpnet.py
___
Python tracker
Marcin Bachry added the comment:
Your diff is better than mine and looks quite similar to patch number 2
in #4470. If the whole #4470 can't be accepted for now, we could at
least apply this one change, because without it SMTP_SSL is totally
unusable. Daniel, maybe we can mark this bug or
Marcin Bachry added the comment:
I add simple smtp auth unit test to exercise this bug.
--
keywords: +patch
nosy: +marcin.bachry
Added file: http://bugs.python.org/file13774/test-smtplib.diff
___
Python tracker
<http://bugs.python.org/issue5
Marcin Cieslik added the comment:
Hello,
I believe I am the edge-case. I've written a minimalist python
Tkinter-shell around Tkinter.Text and code.InteractiveConsole by
hi-jacking stdin, stdout and stderr. It "hangs" when using
multiprocessing pool.
to reproduce run papy_
New submission from Marcin Bachry <[EMAIL PROTECTED]>:
Sort command in Python's 3.0 pstats doesn't accept any valid argument
and views help all the time:
$ python3.0 -m pstats pstats
Welcome to the profile statistics browser.
% sort cumulative
Valid sort keys (unique prefi
New submission from Marcin Bachry <[EMAIL PROTECTED]>:
ast.fix_missing_locations() fails if any node is missing "_attributes"
instance variable - but it's the case of some fundamental nodes like
"alias" or "identifier". When I run simple test:
New submission from Marcin Bachry <[EMAIL PROTECTED]>:
SMTP.connect method expects _get_socket() method to return socket object:
self.sock = self._get_socket(host, port, self.timeout)
but overriden _get_socket() method in SMTP_SSL class doesnt' have return
statement (it set
New submission from Marcin 'Qrczak' Kowalczyk:
Python 3.0a1 (py3k, Sep 8 2007, 15:57:56)
[GCC 4.2.1 20070719 (release) (PLD-Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
74 matches
Mail list logo