Hynek Schlawack added the comment:
The buildbots look happy, thank you for spotting the patch Thomas!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17076
New submission from S Arrowsmith:
Compare this with the script in #14252:
p = Popen(['/bin/sleep', '1'])
time.sleep(1)
p.terminate()
print p.poll()
p.terminate()
Output is:
0
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.6/subprocess.py, line 1269,
Ronald Oussoren added the comment:
I've once again reviewed the _scproxy code and that code seems correct
(although that doesn't say too much for subtle bugs because I wrote the initial
version of the module).
Dan: is it possible to tell moviegrabber to use another python installation (in
Ronald Oussoren added the comment:
If it is the moviegrabber I linked to: that's a 100% python script using some
other opensource libraries.
It does use multiprocessing, and that might mean this is the same problem as
issue9405. That issue should be fixed in the repository (for a long time,
Ronald Oussoren added the comment:
This is an alternate patch, it replaces the PyObject_INIT and PyObject_INIT_VAR
macros by inline functions with macro wrappers for compatibility (the macros
are used to suppress type warnings).
I don't particularly like my patch, but it might be a better way
Serhiy Storchaka added the comment:
'Mon Jan 1 -01:00:00 2011\n'
This is obviously wrong because trailing '\n' was not dropped.
The issue is not about what is more wrong. The issue is about Python crash. At
least we should add a warning in the documentation that incorrect data may
crash
Serhiy Storchaka added the comment:
A new patch uses asctime_s() on Windows (this crash was observed only on
Windows). This should prevent a crash. In additional it drops '\n' from a
result even if the result is longer than usually (this happened on Linux when
an invalid time is used).
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28958/asctime_s.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16137
___
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12983
___
___
Python-bugs-list mailing list
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17128
___
___
STINNER Victor added the comment:
asctime_s.patch: you should catch ValueError on each call to
self.assertNotIn(). You can use PyString_FromStringAndSize() instead
of writing the NUL character, it may be safer (to not modify the
output of asctime).
2013/2/5 Serhiy Storchaka
Christian Heimes added the comment:
On Windows urllib.request.urlopen(http://www.google.com;, cadefault=True)
fails with certificate verify failed. (tested with Python 3.3 64bit)
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I missed existing test_tcl. Patches updated, now they add new tests into
test_tcl.
--
Added file: http://bugs.python.org/file28959/tkinter_test_passing_values_2.patch
Added file:
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file28946/tkinter_test_passing_values.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17118
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file28946/tkinter_test_passing_values.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17118
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file:
http://bugs.python.org/file28947/tkinter_test_passing_values-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17118
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file:
http://bugs.python.org/file28959/tkinter_test_passing_values_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17118
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file:
http://bugs.python.org/file28960/tkinter_test_passing_values-2.7_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17118
___
Ronald Oussoren added the comment:
It doesn't raise an exception on OSX (close to the tip of the default branch),
both for http://www.google.com/ and https://www.google.com/
--
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file28961/tkinter_test_passing_values_2.patch
Added file:
http://bugs.python.org/file28962/tkinter_test_passing_values-2.7_2.patch
___
Python tracker rep...@bugs.python.org
Tom Pinckney added the comment:
Thanks for the feedback!
I'll incorporate it this weekend and make a new patch, though also feel free to
just go ahead and make the changes yourself if you'd rather not wait for me.
--
___
Python tracker
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17043
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
Senthil, Antoine, anyone, what you think about this patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16723
___
Serhiy Storchaka added the comment:
Thank you for comments, Victor. Here is an updated patch.
--
Added file: http://bugs.python.org/file28963/asctime_s_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16137
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10557
___
___
New submission from Josh Lee:
symbol.sym_name[337]
Traceback (most recent call last):
File stdin, line 1, in module
KeyError: 337
It should be 'yield_arg'.
--
components: Library (Lib)
messages: 181440
nosy: Josh.Lee
priority: normal
severity: normal
status: open
title: yield_arg
Changes by Ugra Dániel daniel.u...@gmail.com:
--
nosy: +daniel.ugra
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14910
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 23850c3899e8 by Benjamin Peterson in branch '3.3':
update symbol.py for yield from grammar changes (closes #17132)
http://hg.python.org/cpython/rev/23850c3899e8
New changeset 0fcd975765a7 by Benjamin Peterson in branch 'default':
merge 3.3 (#17132)
New submission from Vinay Sajip:
The wrap_socket function in ssl.py (unlike the method of the same name in
SSLContext) doesn't accept a server_hostname argument, despite the fact that
it's a one-liner calling SSLSocket, which does take that argument. It it like
this for a reason, or just an
Roundup Robot added the comment:
New changeset 4553dfcafac7 by R David Murray in branch '3.3':
News item for issue #16811 fix.
http://hg.python.org/cpython/rev/4553dfcafac7
New changeset 68be406e76e1 by R David Murray in branch 'default':
Merge: News item for issue #16811 fix.
Christian Heimes added the comment:
Yes, it's a duplicate of #13665. Sorry, I didn't make a proper search. Although
this is a new feature it's a fundament for cert validation.
--
___
Python tracker rep...@bugs.python.org
New submission from Christian Heimes:
I found a recipe how to access the Windows certificate store and dump its
content as PEM. The code doesn't look complicated and could be added to _ssl.c
http://fixunix.com/openssl/254866-re-can-openssl-use-windows-certificate-store.html
--
Changes by Christian Heimes li...@cheimes.de:
Added file: http://bugs.python.org/file28964/certstore.cpp
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17134
___
Christian Heimes added the comment:
I found a recipe to retrieve CA certs from Window's cert store, see #17134.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17129
___
Greg Hellings added the comment:
I'm trying to cross-compile the latest default out of Mercurial based on the
status of this. Currently it fails with the following invocation:
$ ../configure --host=i686-w64-mingw32 --build=x86_64-redhat-linux-gnu
--target=i686-w64-mingw32
Serhiy Storchaka added the comment:
Here are tests for some bugs.
--
assignee: - serhiy.storchaka
Added file: http://bugs.python.org/file28965/sqlite_int_overflow_tests.patch
___
Python tracker rep...@bugs.python.org
Ray Donnelly added the comment:
Yes, patches are still required.
Mainly Roumen's big patch [1] and then a load more too. Matthias Klose has
merged a few cross compilation patches.
Here my project with patches for 3.3.0 and an emphasis on cross:
New submission from Éric Araujo:
Title says it all.
--
assignee: docs@python
components: Documentation
messages: 181450
nosy: docs@python, eric.araujo
priority: normal
severity: normal
status: open
title: imp doc should direct to importlib
versions: Python 3.1, Python 3.3, Python 3.4
Serhiy Storchaka added the comment:
I did not analyze the patch deeply, only left on Rietveld comments on first
sight. Need to update the documentation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16203
Éric Araujo added the comment:
There is no rush, even if this doesn’t get into the docs distributed with the
releases that are due next week-end, people will see it in the online docs a
day after it’s committed.
--
assignee: docs@python - eric.araujo
Antoine Pitrou added the comment:
The reason is that wrap_socket() is there only for compatibility reasons, and
I'd like people to switch to SSLContext instead. 12-argument functions are only
good for LISPers ;-)
As for SSLSocket, its constructor isn't a public API.
--
resolution: -
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17134
___
___
Python-bugs-list mailing
New submission from Dirkjan Ochtman:
I recently filed http://llvm.org/bugs/show_bug.cgi?id=15153, prompted by
https://bugs.gentoo.org/show_bug.cgi?id=427338 (for 2.7, and
https://bugs.gentoo.org/show_bug.cgi?id=427330 for 3.2), for which I found
http://bugs.python.org/issue9852. Similar
Mark Dickinson added the comment:
Sure, this can be closed as far as I'm concerned.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10557
___
Changes by Mark Dickinson dicki...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10557
___
___
Roundup Robot added the comment:
New changeset 801cb3918212 by R David Murray in branch '3.2':
#16948: Fix quopri encoding of non-latin1 character sets.
http://hg.python.org/cpython/rev/801cb3918212
New changeset e644058e8e7b by R David Murray in branch '3.3':
Merge: #16948: Fix quopri encoding
Greg Hellings added the comment:
Bummer, the patches in that issue do not apply cleanly to either the 3.3.0
released tarball nor to the 3.3 branch from hg.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
R. David Murray added the comment:
Fixed. I'm glad you caught this before the final release of 3.2. This is a
bit of an embarrassing bug :(.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - behavior
___
Python
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Python SSL stack doesn't have a default CA Store
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
Isn’t this part of #13655? One feature is usually discussed for all platforms
in one bug report. (Sorry for all the bureaucracy in your recent reports, but
it helps keep things manageable :)
--
nosy: +eric.araujo
Éric Araujo added the comment:
Copy of a message by Christian Heimes on a duplicate report:
For effective SSL server cert validation a bundle of trustworthy CA certs is
required. Most system ship such a bundle but it's not always possible to access
the bundle from Python / OpenSSL. Windows
Changes by Ned Deily n...@acm.org:
--
nosy: +meador.inge, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17136
___
___
Serhiy Storchaka added the comment:
Should it be closed?
--
nosy: +serhiy.storchaka
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14263
___
Éric Araujo added the comment:
Right, I probably kept this open for the packaging backport, so now it’s moot.
BTW, there are many distutils2 bugs that I haven’t closed, as they will still
be useful for the successors of d2.
--
resolution: - fixed
stage: - committed/rejected
status:
Christian Heimes added the comment:
I like to split up tasks in small subtasks.
It's true that #13655 benefits from this feature but it can be implemented
without this ticket. This enhancement also requires some addition to API and
bindings to Windows' crypt32.dll. It might be inappropriate
Serhiy Storchaka added the comment:
This is a duplicate of issue9669.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - regexp: zero-width matches in MIN_UNTIL
___
Python
New submission from Jan Lachnitt:
Python 3.3 64-bit seems to compile one of my files incorrectly. Specifically,
os.path.isdir returns True for a nonexistent folder. The important point is
that the code works correctly when it is performed step-by-step in pdb.
Python version:
Python 3.3.0
Roundup Robot added the comment:
New changeset f714af60508d by Charles-François Natali in branch 'default':
Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian
http://hg.python.org/cpython/rev/f714af60508d
--
nosy: +python-dev
Antoine Pitrou added the comment:
Sounds promising. Do you think this should be hooked into
SSLContext.set_default_verify_paths, or be exposed as a separate method?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17134
Antoine Pitrou added the comment:
The patch doesn't seem to include failure cases for fullmatch (i.e. cases where
fullmatch returns None where match or search would return a match).
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
In general it looks good to me. But we can get rid of Python file and use only
os.open/os.write/os.close. Here is an updated patch which carefully close a
file descriptor and remove a file even if write or close failed.
Amir Szekely, can you please submit a
Serhiy Storchaka added the comment:
In general it looks good to me. But we can get rid of Python file and use only
os.open/os.write/os.close. Here is an updated patch which carefully close a
file descriptor and remove a file even if write or close failed.
Amir Szekely, can you please submit a
Changes by Serhiy Storchaka storch...@gmail.com:
--
Removed message: http://bugs.python.org/msg181470
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16800
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file:
http://bugs.python.org/file28967/fix_tempfile_leaving_files_behind_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16800
___
Serhiy Storchaka added the comment:
And here are patches for 2.7 and 3.2 (there are some peculiarities, i.e. in
exception handling).
--
Added file:
http://bugs.python.org/file28968/fix_tempfile_leaving_files_behind_2-2.7.patch
Added file:
Charles-François Natali added the comment:
Committed.
Brian, thanks for the patch!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15359
New submission from Gutzwiller:
$ python3
Python 3.3.0 (default, Jan 25 2013, 09:38:18)
[GCC 4.4.5] on linux
Type help, copyright, credits or license for more information.
import xml.etree.ElementTree as ET
xml = ET.fromstring(rooth11/h1ph12/h1/p/root)
result = xml.find(.//h1[2])
Antoine Pitrou added the comment:
This looks ok to me. I am slightly surprised that isclosed() isn't documented
anywhere (but perhaps it's better).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16723
Serhiy Storchaka added the comment:
This is a duplicate of issue15388. Parser doesn't close an input source's
stream if an exception raised.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - SAX parse (ExpatParser)
Roundup Robot added the comment:
New changeset 2a369c32f1f1 by Serhiy Storchaka in branch 'default':
Issue #17122: Fix and cleanup test_functools.py.
http://hg.python.org/cpython/rev/2a369c32f1f1
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset f74a12e23aaa by Antoine Pitrou in branch 'default':
Issue #17107: Test client-side SNI support in urllib.request thanks to the new
server-side SNI support in the ssl module.
http://hg.python.org/cpython/rev/f74a12e23aaa
--
nosy:
Antoine Pitrou added the comment:
Ok, I've tweaked the patch a bit and committed it. Thank you!
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
Michał Jastrzębski added the comment:
Hello,
I've made patch which address this issue.
--
keywords: +patch
nosy: +inc0
Added file: http://bugs.python.org/file28970/ftplib_maxline.patch
___
Python tracker rep...@bugs.python.org
Eric Snow added the comment:
Agreed. It should also link to the new import section in the language
reference rather than to the import statement.
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17135
Mark Dickinson added the comment:
Reminds me of this question on StackOverflow:
http://stackoverflow.com/questions/14135846/string-concatenation-with-python-33-isdir-always-returns-true-3-hours-head
--
nosy: +mark.dickinson
___
Python tracker
Georg Brandl added the comment:
The SO post is scary. Maybe a non-normalized (smallest representation) PEP393
string is escaping into the wild?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17137
Changes by Georg Brandl ge...@python.org:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17137
___
___
Python-bugs-list mailing
Arfrever Frehtes Taifersar Arahesis added the comment:
The changes in CPython mentioned by you are in bundled copy of libffi for OS X
(Modules/_ctypes/libffi_osx).
You probably should report the problem to libffi upstream.
Gentoo ebuilds of CPython use --with-system-ffi option, so any fixes in
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
keywords: +3.3regression
nosy: +flox, haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17137
___
Changes by Georg Brandl ge...@python.org:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17137
___
___
Python-bugs-list
STINNER Victor added the comment:
I believe the datetime.now() should always return the same format.
It's now how it was implemented:
http://docs.python.org/dev/library/datetime.html#datetime.datetime.__str__
and
http://docs.python.org/dev/library/datetime.html#datetime.datetime.isoformat
New submission from Dave:
Calling datetime.datetime.now() will return only the Date and time to the
second w/o the decimal portion when the second increments when also running
firefox w/shockwave flash enabled on a windows 7 machine.
Example output:
counter1 is: 23360 time is: 2013-02-05
Mark Dickinson added the comment:
See also issue #1074462
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17139
___
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +eli.bendersky, flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17138
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +Unicode, Windows
nosy: +ezio.melotti
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17137
___
Mark Dickinson added the comment:
This is a feature request rather than a bug report; changing fields
accordingly.
Also, given the discussion leading to the rejection of issue 1074462, and the
fact that you can now use %f in strftime as an easy way to get consistent
output (issue 1158), I'm
STINNER Victor added the comment:
On Windows, os.path.isdir calls nt._isdir(). Core of this C function:
wchar_t *wpath = PyUnicode_AsUnicode(po);
if (wpath == NULL)
return NULL;
attributes = GetFileAttributesW(wpath);
if (attributes ==
Ian Cordasco added the comment:
Éric's suggestion is also implemented in python-requests if I remember
correctly. It allows for user-specified PEM files and tries to find the
operating system bundle. This would be a wonderful inclusion in the standard
library.
--
nosy: +icordasc
Dave added the comment:
Point was/is that I'd be willing to fix this so that others don't have to.
It's for OTHERS SAKE that I submitted this issue as my system is already bullet
proof from this defect/lack of feature situation. This is also my first
attempt to get involved with the
Dave added the comment:
I appreciate you guys looking into this so quickly, but let's dig a little
deeper.
1. STINNER Victor, you claim this is already fixed in 3.4 by the link, however
this doesn't really help since I'm not even up to 3.3 yet (though I'm
considering it, I meant to select
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file28971/cleanup-test-collections.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
Added file: http://bugs.python.org/file28972/odict.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
R. David Murray added the comment:
I think Victor meant not instead of now.
It doesn't only occur when your run particular programs, it occurs whenever the
microseconds are zero. It is possible that your particular combination of
programs produces a timing pattern that means you see
Changes by Eric Snow ericsnowcurren...@gmail.com:
Removed file: http://bugs.python.org/file28971/cleanup-test-collections.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
Removed file: http://bugs.python.org/file28972/odict.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
___
Python-bugs-list
Dave added the comment:
Thanks David Murry for clearing up STINNER Victor comments. I already feel
like I work here;) So it's not broke if there exists a workaround.
In that case it's time to update the documents (which often takes longer than
the code to update) to reflect this
R. David Murray added the comment:
No, it is not it's not broke because there's a workaround, it is not broken
because it is *working as designed*.
The str of any object in python is intended to be a convenient representation
of that object. Note that this applies to *all* objects in Python,
New submission from Nick Coghlan:
The multiprocessing module currently provides the
multiprocessing.dummy.ThreadPool API that exposes the same API as the public
multiprocessing.Pool, but is implemented with threads rather than processes.
(This is sort of documented - it's existence is implied
Matthew Barnett added the comment:
3 of the tests expect None when using 'fullmatch'; they won't return None when
using 'match'.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16203
___
1 - 100 of 103 matches
Mail list logo