New submission from jan matejek:
Lib/site-packages directory now contains README.txt in addition to README. Both
files are identical. One of them should probably go away?
--
components: Installation
messages: 28
nosy: matejcik
priority: normal
severity: normal
status: open
title
jan matejek added the comment:
Attached is a patch that I'd like to propose for inclusion.
It introduces a new configure option "--with-custom-platlibdir=", which
defaults to `basename $libdir`. This is converted to makefile variable
"platlibdir", which is used in ge
jan matejek added the comment:
The "'0' * taglen" part is now considered part of plaintext. Which makes a lot
of sense :)
Removing the "empty taglen" fixes the encryption part of the tests for me.
Similarly, for the decryption test, we must only read and chec
jan matejek added the comment:
the attached patch fixes the test for me
--
keywords: +patch
Added file: http://bugs.python.org/file46494/test_socket_aead_kernel49.patch
___
Python tracker
<http://bugs.python.org/issue29
Changes by jan matejek :
--
pull_requests: +94
___
Python tracker
<http://bugs.python.org/issue29324>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan Vorwerk added the comment:
Indeed, the error message is quite... surprising and misleading.
To reproduce, please run the attached (admittedly wrong) program that I could
simplify a lot.
It seems to occur when a exception is raised at the wrong time...
I hope this helps nail down (at least
New submission from Jan Gosmann:
Running modulefinder.ModuleFinder.run_script on a script which has an import
statement with a module containing a syntax error will raise a SyntaxError
exception. I think, modulefinder should instead continue its analysis and add
the module to badmodules
jan matejek added the comment:
Ismail, the sem_open thing is because in autobuild you don't get /proc or
somesuch - it's a problem of our buildsystem, otherwise the test passes.
I can reproduce the failure in autobuild, but not separately yet. Will keep you
posted, signs point to y
jan matejek added the comment:
Not just yet, please. I can now reproduce the test_subprocess failures outside
autobuild too. Interestingly, it's the reverse here: test_subprocess passes
when /proc is not present, but fails when it is.
I'm pretty sure that we hijacked a completely
jan matejek added the comment:
i don't think that's it, look at the result output in comment #183756: the list
of fds is correct, except that they aren't closed as they should be.
i can't reproduce the result when running code by hand, so it's either a race
or an i
jan matejek added the comment:
so apparently the problem was that we're using the borked original patch for
issue #16962, instead of the fixed version that's actually in repos.
(The d_type field was missing, so every filename had an extra character
prepended to it.
AFAICT, all
Jan Gosmann added the comment:
Could you point me to some documentation on how to add a test? I have not been
involved in Python development so far.
--
___
Python tracker
<http://bugs.python.org/issue17
New submission from Jan Safranek:
I have Python 2.7.4 running on Fedora Rawhide and I get segmentation fault with
following backtrace:
#0 0x7f73f69ca5f1 in clear_weakref (self=0x7f73ff515c00) at
Objects/weakrefobject.c:56
#1 weakref_dealloc (self=0x7f73ff515c00) at Objects
Jan Safranek added the comment:
I can reproduce the crash in very unusual setup:
1. OpenPegasus (http://www.openpegasus.org/), for this bug we may consider it
just a network daemon, listening on TCP port. When a request comes, it is
eventually processed by a provider (= something like plugin
Jan Safranek added the comment:
Bisecting Python mercurial repository, I found the patch which causes the crash:
changeset: 80762:7e771f0363e2
branch: 2.7
parent: 80758:29627bd5b333
user:Antoine Pitrou
date:Sat Dec 08 21:15:26 2012 +0100
summary: Issue #16602
Jan Safranek added the comment:
> First, have you seen the following message on that bug report:
> http://bugs.python.org/issue16602#msg177180
I'm reading it now... I searched for PyWeakref_GET_OBJECT in cmpi-bindings and
both occurrences generated by SWIG and both look safe.
I
Jan Safranek added the comment:
> Could you try to inspect the `self` variable inside weakref_dealloc,
> especially `self->wr_object` and its Py_TYPE() value? Also, what is the
> value of Py_REFCNT(self->wr_object)?
in weakref_dealloc at Objects/weakrefobject.c:106:
(
Jan Safranek added the comment:
> Right. But this is an embedded interpreter, and SWIG does not call
> PyType_Ready() again; the old type is returned instead.
Python crashes in Py_Initialize(). SWIG_init() is called right after it.
So even if SWIG calls PyType_Ready, it would be too late
Jan Safranek added the comment:
On 05/07/2013 06:06 PM, Antoine Pitrou wrote:
> a significant amount of static data inside CPython actually survives
> Py_Finalize :-/
As a solution, would it be possible to wipe all registered types in
Py_Finalize
Jan Safranek added the comment:
On 05/07/2013 05:32 PM, Antoine Pitrou wrote:
> Jan, one possibility would be for Pegasus to stop "unloading" Python,
> it seems.
It is always possibility. Actually, Pegasus "plugin" is just a shared
object (.so) and the .so is linked
Jan Gosmann added the comment:
Here is an updated patch, also containing a test.
--
Added file: http://bugs.python.org/file30237/fix-handling-of-syntax-errors.diff
___
Python tracker
<http://bugs.python.org/issue17
Jan Gosmann added the comment:
It's based on the default branch becoming 3.4.
--
versions: +Python 3.4 -Python 2.7
___
Python tracker
<http://bugs.python.org/is
Jan Safranek added the comment:
On 05/09/2013 09:07 AM, Jan Safranek wrote:
>
> Jan Safranek added the comment:
>
> On 05/07/2013 05:32 PM, Antoine Pitrou wrote:
>> Jan, one possibility would be for Pegasus to stop "unloading" Python,
>> it seems.
>
Jan Lieskovsky added the comment:
The CVE identifier of CVE-2013-2099 has been assigned:
http://www.openwall.com/lists/oss-security/2013/05/16/6
to this issue.
--
nosy: +iankko
title: ssl.match_hostname() trips over crafted wildcard names -> CVE-2013-2099
ssl.match_hostname() tr
jan matejek added the comment:
The fix causes regression on my 64bit little-endian machine. It seems that
while parsing the arguments, the length value overwrites part of the string
pointer.
--
nosy: +matejcik
___
Python tracker
<h
jan matejek added the comment:
hmm, but it's caused by a private patch claiming that _testcapimodule.c is
PY_SSIZE_T_CLEAN. sorry for the noise.
--
___
Python tracker
<http://bugs.python.org/is
New submission from jan matejek:
The pep 476 commit to Python 2.7 [1] adds unconditional "import ssl" to
test_urllib2_localnet.py. This causes the test to fail with an ImportError if
ssl module is not built.
Note that like 5 lines later, ssl is imported conditionally, and all the
Changes by Jan Kaliszewski :
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue19539>
___
___
Python-bugs-
Jan Kaliszewski added the comment:
My concerns are now being addressed in the issue19548.
--
___
Python tracker
<http://bugs.python.org/issue19539>
___
___
Pytho
New submission from Jan Kaliszewski:
To some extent, this issue is a follow-up of Issue 20132. It concerns some
parts of functionality + documentation of the 'codecs' module related to
registering custom codecs, especially non-string ones (i.e., codecs that
encode/decode between
Jan Kaliszewski added the comment:
Sorry,
s/Issue 20132/Issue 19548/g
Issue 20132 is also related somehow, but here I ment that this is a follow-up
of Issue 19548; and Zoinkity's concerns I cited are also from Issue 19548, and
not from
New submission from Jan Harkes:
mingw32 fails to link with libpython27.a fails with the following error
/cygdrive/C/Python27/libs/libpython27.a: error adding symbols: File format not
recognized
extracting all the objects from libpython27.a and checking them with objdump
shows that two
Jan Harkes added the comment:
The Python-2.7.9 version of the Windows-x86 MSI installed version works fine
with the 32-bit mingw. In fact I rolled back to that release and built my code
successfully.
Somehow the fix for https://bugs.python.org/issue23199 must have broken the
32-bit
Jan Harkes added the comment:
Just noticed in Matthew Barnett's comment that he has an additional
"--as-flags=--32" argument.
x86_64-w64-mingw32-dlltool --as-flags=--32 --dllname python27.dll --def
mingwlib.def --output-lib win32\libpython27.a -m i386
Creates a correct libp
Jan Harkes added the comment:
@Carl.Kleffner: that is an interesting message but it discusses using
binutils(/mingw?) generated import libraries with the MS linker.
This bugreport was about two 64-bit objects that were accidentally included in
an otherwise 32-bit library and it has been
New submission from Jan Stürtz:
We tried to upload a very large (350MB) bdist egg via distutils to our internal
package server.
And received following crash.
Traceback (most recent call last):
File "setup.py", line 1, in
import os
File "C:\devel\cdb\10.1.tag\cdb\pyth
New submission from jan parowka:
IDLE shouldn't pollute user's home directory on Windows, standard location for
config files is %APPDATA%\, which resolves to
C:\Users\\AppData\Roaming\ in Vista upwards and somewhere in
Documents and Settings under XP.
--
components: IDL
jan parowka added the comment:
Mac Developer Library mentions Library/Application Support/ as a preferred
directory to store configuration files for an application, gotten via a call to
NSSearchPathForDirectoriesInDomains or NSFileManager with
NSApplicationSupportDirectory path key and either
jan parowka added the comment:
> fiddling with the entry bar the right way and adding exactly 'AppDate\' to
> the existing path
You can type in '%APPDATA%' in the path bar, run dialog, or even start menu,
and it will take you to the current user's Application
New submission from Jan Wagner:
There is an issue in ctypeslib that affects xml2py.py option "-r". The usage
informs that "-r EXPRESSION regular expression for symbols to include".
However, when the expression is evaluated, only exact name matches are actually
selected.
Jan Hudec added the comment:
While I agree that the current behaviour is a bug (this bug), and one that
renders the package unusable for me (I used apsw or different language
instead), I unfortunately have to disagree with Gerhard that the change is not
a problem. It can be.
The implicit
Jan Hudec added the comment:
Oh, I see I misunderstood Gerhard's last commit.
So now the problem should be only if there is a DML statement followed by DDL
statement and no commit afterwards. Well, that is indeed probably stupid.
--
___
P
Jan Wagner added the comment:
Yes, hosted at svn.python.org, but without any means of "externally" filing a
bug report or patch for it other than here on bugs.python.org. Maybe theller
you could include this patch? Change status to closed + t
New submission from Jan Studený:
According to POSIX specification the pathname of user shell is stored in SHELL
(environmental variable, see
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08)
so I think that is good idea to use that pathname instead of hardcoded
Jan Malte added the comment:
Are there any news about this bug report?
--
nosy: +janmalte
___
Python tracker
<http://bugs.python.org/issue22684>
___
___
Python-bug
New submission from jan matejek:
When imported, the random module creates and seeds an implicit instance, even
when it is never used.
The RNG is seeded from os.urandom, which as of python 3.5 uses the potentially
blocking getrandom() call.
This causes problems e.g. on our build VMs that
jan matejek added the comment:
On 18.10.2015 23:09, STINNER Victor wrote:
> Hum ok, so your issue is specific to Linux.
yes, should have specified that, sorry
> Hum, the problem was already fixed some months/years ago: you must attach a
> RNG virtio device to your VM. Python is
Jan Malte added the comment:
for the same objects as_string() is working correctly
--
___
Python tracker
<http://bugs.python.org/issue22684>
___
___
Python-bug
jan matejek added the comment:
let me reiterate that what I consider a bug is the fact that "import random"
statement calls os.urandom (which per the proposed documentation may sometimes
block)
IOW, "import random" may sometimes block, even though it is not actually used
jan matejek added the comment:
attaching a first draft of what i'd consider a solution? not sure if this is
the right way to go, and i don't know how to write a test for an import
statement
--
Added file: http://bugs.python.org/file40820/ra
Jan Malte added the comment:
seems like this happens still, if the CC header starts with a new line
character.
Python 3.4.3
--
nosy: +janmalte
___
Python tracker
<http://bugs.python.org/issue16
Jan Spurny added the comment:
I'm probably experiencing the same problem - and I've found a way to
demonstrate it (almost) reliably:
import multiprocessing
import subprocess
import os
def x():
fn = '/tmp/somevideo.avi'
p = subprocess.Pope
Jan Spurny added the comment:
(The video file must exist for this to work)
--
___
Python tracker
<http://bugs.python.org/issue22662>
___
___
Python-bugs-list m
New submission from Jan Pokorny:
Encountered a weird behavior when working with variable with the same name as
exception's alias.
Observed behavior:
- In case variable with the same name (e.g. 'e') already exists when any
'except Error as e' block is executed, th
Changes by jan matejek :
--
nosy: +matejcik
___
Python tracker
<http://bugs.python.org/issue26252>
___
___
Python-bugs-list mailing list
Unsubscribe:
jan matejek added the comment:
unlike #26839, however, there is no workaround for "import random".
so i maintain that this issue is in fact very specific to the random module
--
___
Python tracker
<http://bugs.python.o
Jan Kratochvil added the comment:
It even crashes applications due to pollution of dynamic symbols namespace by
application symbols as seen in:
https://bugzilla.redhat.com/show_bug.cgi?id=1198158
--
___
Python tracker
<http://bugs.python.
New submission from Jan Welker:
I compiled Python 2.7.12 from source and ran the tests unsuccessful.
Compiling /usr/lib/python2.7/test/test_grammar.py ...
File "/usr/lib/python2.7/test/test_grammar.py", line 80
self.assertEqual(1 if 1else 0, 1)
^
S
Changes by Terry Jan. Reedy:
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1023>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mai
Jan-Philip Gehrcke added the comment:
Sorry for the delay.
Before suggesting a doc change to correct/complete the description of the
*current* situation, we actually should consider changing this situation. I
think this is reasonable and I feel encouraged by Gabriel Genellina:
> I see
New submission from Jan-Klaas Kollhof <[EMAIL PROTECTED]>:
When using a proxy to request URLs that require Digest Auth,
a header similar to the following is sent to the server:
Authorization: Digest ... uri="http://example.org/foobar/spam"; ...
The server then responded with:
New submission from Berend-Jan Wever <[EMAIL PROTECTED]>:
Part of the text of the online documentation for the string.split() method:
If sep is not specified or is None, a different splitting algorithm is
applied. First, whitespace characters (spaces, tabs, newlines, returns,
and for
Jan-Philip Gehrcke added the comment:
I am not too attached to "my" patch, but because I love Python I really would
like us to land on a solution.
> However I want all changes and new additions to the SSL module to follow PEP
> 543 so I can provide a PEP 543-compatible inter
Changes by Jan-Jaap Driessen :
--
nosy: +janjaapdriessen
___
Python tracker
<http://bugs.python.org/issue14264>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jan-Jaap Driessen :
Distutils2 pysetup can take an existing setuptools based project and convert it
into the distutils2 setup.cfg syntax using `pysetup create`. The install
requirements are not converted:
{{{
svn co svn+ssh://svn.zope.org/repos/main/zope.dublincore/trunk
New submission from Jan-Jaap Driessen :
I would like to install the latest version of a package. The pysetup command
does not give me easy access to do this. Can we add an 'upgrade' method?
--
assignee: eric.araujo
components: Distutils2
messages: 155517
nosy: alexis, e
Changes by Jan-Philip Gehrcke :
--
pull_requests: +2506
___
Python tracker
<http://bugs.python.org/issue16487>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan-Philip Gehrcke added the comment:
Hey Senthil and Christian!
> Could you convert your latest patch into PR against
> https://github.com/python/cpython
That was fun. There we go: https://github.com/python/cpython/pull/2449
I hope I was not too late with that for the 3.7 devel
New submission from Pieter-Jan Briers:
It exists and its flags are exported, but not the direct classes itself. This
seems inconsistent to me and fixing it would make things like using static
typing on it just a little bit easier.
--
components: Regular Expressions
messages: 301516
Pieter-Jan Briers added the comment:
I suppose it may be an implementation detail, though I wouldn't be amazed that
had enum existed when re was written it'd have been used instead of constant
integers at the time. Though I do suppose exposing it fully would add two ways
to get
New submission from Albert-Jan Nijburg:
While porting tokenize.py to javascript I stumbled upon this. The bit of code
that checks if it's a newline or a comment, checks for comment twice. These can
be split up, this way the code is a bit more readable.
https://github.com/python/cpython
Changes by Albert-Jan Nijburg :
--
pull_requests: +1699
___
Python tracker
<http://bugs.python.org/issue25324>
___
___
Python-bugs-list mailing list
Unsubscribe:
Albert-Jan Nijburg added the comment:
Oh yes you're right! I've updated the code on github. Even cleaner this way :).
--
___
Python tracker
<http://bugs.python.o
Albert-Jan Nijburg added the comment:
> I prefer to add tokenize tokens directly in Lib/token.py, and then get
> COMMENT, NL and ENCODING using tok_name.index().
That would make more sense from a breaking change perspective, but we would
step on the toes of anyone adding `COMMENT`, `N
Albert-Jan Nijburg added the comment:
lib2to3 appears to have it's own token.py as well with NL and COMMENT withtout
ENCODING...
Lib/lib2to3/pgen2/token.py
--
___
Python tracker
<http://bugs.python.org/is
Albert-Jan Nijburg added the comment:
I did yesterday, should be coming through today right?
--
___
Python tracker
<http://bugs.python.org/issue30377>
___
___
Albert-Jan Nijburg added the comment:
Still no CLA, I checked my username on the pdf, and it's correct, hope someone
looks at it soon :)
--
___
Python tracker
<http://bugs.python.org/is
Albert-Jan Nijburg added the comment:
I've updated the PR and added the tokenize tokens to token.h and their names to
tokenizer.c. This way they'll show up when you run token.py. The names will
always be in tok_name and tokenizer.py will use those. Not breaking the public
api and
Albert-Jan Nijburg added the comment:
I think this covers all the changes from PR #1608. Looks a lot nicer too,
building it every time from the make file.
You may want to add to the docs that token.py is now the source of the tokens.
--
___
Python
Albert-Jan Nijburg added the comment:
Let me know if you want me to add/change anything about my PR :) I'm happy to
do so.
--
___
Python tracker
<http://bugs.python.org/is
Albert-Jan Nijburg added the comment:
I've updated token.rst and Misc/NEWS. Let me know if the wording is correct.
--
___
Python tracker
<http://bugs.python.org/is
Albert-Jan Nijburg added the comment:
Aah! Oops I can fix later today.
On Thu, 1 Jun 2017 at 18:08, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> We got a bug report from Coverity:
>
> *** CID 1411801: Incorrect expression (MISSING_COMMA)
> /Parse
Changes by Albert-Jan Nijburg :
--
pull_requests: +1990
___
Python tracker
<http://bugs.python.org/issue25324>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jan-Martin Kuhnigk :
--
nosy: +grebdioZ
___
Python tracker
<https://bugs.python.org/issue36850>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan-Philip Gehrcke added the comment:
Hey Antoine, Christian, Senthil!
I have invested quite a bit more time to double-check my responses to the
questions asked so far, clarified where appropriate, and updated the pull
request on GitHub after manually resolving the merge conflicts that
Albert-Jan Nijburg added the comment:
I understand the standpoint that the server is configured incorrectly, and I
see why this might not be the best solution to the problem.
But not everyone owns the ftp server they're connecting to. And the `EPSV`
command often doesn't i
Jan-Philip Gehrcke added the comment:
Hello! I would very much appreciate if we can find a way for us to get another
review for the last patch.
I did most of the work in August 2016 and got a review from Senthil and
Christian which I processed. When I got back to the patch for converting it
Jan-Philip Gehrcke added the comment:
Thanks for the discussion.
Since I tried to join the efforts here in 2016 two years ago I was (and still
am) enthusiastic, and willing to invest quite a bit of energy. Still, we have
missed the 3.6 and 3.7 releases to change something about the fact
Jan-Hein Bührman added the comment:
@terry.reedy - If I understand correctly, this issue was closed by you awaiting
what would happen with the dict insertion order after 3.6.
It has been decided that dict insertion will stay for now and in the future.
>>> Should this issue now be
New submission from Jan-Philip Gehrcke:
When updating an existing project on PyPI via distutils using the upload
command, I observe erroneous behavior regarding the credentials when I do not
want to store my password in clear text in the pypirc file:
(1) When running
python setup.py
New submission from Jan-Wijbrand Kolman:
An internal library that heavily uses subprocess.Popen() started failing its
automated tests when we upgraded from Python 2.7.3 to Python 2.7.5. This
library is used in a threaded environment. After debugging the issue, I was
able to create a short
Jan-Wijbrand Kolman added the comment:
Thanks you for the swift followup!
--
___
Python tracker
<http://bugs.python.org/issue18851>
___
___
Python-bugs-list mailin
Jan-Philip Gehrcke added the comment:
If you are thinking TL;DR:
This fails on FreeBSD:
>>> signal.signal(signal.SIGRTMAX, lambda *a: None)
Traceback (most recent call last):
File "", line 1, in
ValueError: signal number out of range
Although of infrequent use, I
Jan-Philip Gehrcke added the comment:
We should match the unit test with the documentation for signal.NSIG. Either
the code or the docs or both need to change.
Currently the docs say that signal.NSIG is "One more than the number of the
highest signal number."
("https://docs
New submission from Jan-Philip Gehrcke:
Currently, the tutorial for the list sort method does not show allowed
arguments:
list.sort()
Sort the items of the list in place.
(see e.g. https://docs.python.org/3.4/tutorial/datastructures.html)
Is there a reason why we do not show the
Jan-Philip Gehrcke added the comment:
I have updated the patch with a cross-reference to the sorted() built-in, which
explains the arguments.
W.r.t. to Éric's suggestion: the sorted() doc refers to the sorting howto in
the wiki. Now everything is connected.
--
Added file:
New submission from Jan-Philip Gehrcke:
On FreeBSD, signal.NSIG is smaller than what the documentation promises: "One
more than the number of the highest signal number".
On Linux, the highest numerical signal value is smaller/equal signal.NSIG
(expected behavior):
>>
Jan-Philip Gehrcke added the comment:
As a follow-up, relevant output from FreeBSD 9:
$ python
Python 2.7.5 (default, Dec 20 2013, 21:12:37)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more in
Jan-Philip Gehrcke added the comment:
The version action currently writes to stderr. The _VersionAction(Action)'s
__call__() method finishes off with
parser.exit(message=formatter.format_help())
and parser.exit() by default writes to stderr.
Here, Steven says "Help is definitely i
New submission from Jan-Philip Gehrcke:
The os.utime() docs for Python 2
(http://docs.python.org/2/library/os.html#os.utime) and 3
(http://docs.python.org/3/library/os.html#os.utime) both contain the sentence
"Whether a directory can be given for path depends on whether the operating
s
301 - 400 of 443 matches
Mail list logo