[issue22637] avoid using a shell in uuid: replce os.popen with subprocess.Popen
STINNER Victor added the comment: Arfrever wrote me on IRC: Your patch for issue #22637 has print(executable) Ooops. Updated patch without the print. -- Added file: http://bugs.python.org/file36930/uuid_popen-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22637 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22627] Calling timestamp() on a datetime object modifies the timestamp of a different datetime object.
Antoine Pitrou added the comment: Christopher, I've already pointed out a fix in another message: just remove .replace(tzinfo=None). Doing computations on UTC datetimes (rather than naive) should ensure you don't encounter any ambiguities. -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22627 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21338] Silent mode for compileall
Roundup Robot added the comment: New changeset 34436ae65523 by Berker Peksag in branch 'default': Issue #21338: Add silent mode for compileall. https://hg.python.org/cpython/rev/34436ae65523 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21338 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21338] Silent mode for compileall
Berker Peksag added the comment: Thanks for the patch, Thomas. -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21338 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Antoine Pitrou added the comment: Matthew Green posted a nice explanation of the attack: http://blog.cryptographyengineering.com/2014/10/attack-of-week-poodle.html In short, currently it requires injection of code into the browser (i.e. SSL client) to be exploitable. While that's easy on the WWW, it's not necessarily possible with other protocols. I think we could strengthen all stdlib *servers* because third-party clients are generally more up-to-date than third-party servers, so we risk less disruption. That may involve a separate _create_stdlib_server_context() function. Besides, I think that, independently of this, we could strengthen _create_stdlib_context() in 3.5. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22640] Add silent mode for py_compile
New submission from Berker Peksag: This is similar to issue 21338. It would be good to add a new option -q to the CLI interface and add a new parameter quiet to py_compile.compile() (e.g. if doraise is False and quiet is True, do not print anything). -- assignee: berker.peksag components: Library (Lib) messages: 229409 nosy: berker.peksag priority: normal severity: normal stage: needs patch status: open title: Add silent mode for py_compile type: enhancement versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22640 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Antoine Pitrou added the comment: Hmm... of course, stdlib servers don't use create_stdlib_context() in 2.7. We'll have to do it by hand :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Cory Benfield added the comment: I don't believe it's in OpenSSL though. There's an outstanding OpenSSL patch: http://marc.info/?l=openssl-devm=141333049205629w=2 However, as Donald has pointed out, this is really only meaningful for servers and co-operating clients. It's not a useful panacea. -- nosy: +Lukasa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3068] IDLE - Add an extension configuration dialog
Terry J. Reedy added the comment: This version only allows configuration of default configuration. Added sections (for added extensions) are ignored. That will be a future enhancement. Patch 5 makes changes in load_extensions and set_user_value so that var strings are compared to saved default strings. Before doing that, the value is stripped and if blank replaced with the default. The var is set to the adjusted value. After Apply, the user can see what the current config values are and if not default, what was written to the user config file. -- Added file: http://bugs.python.org/file36931/cfg-ext-34-5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3068 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22631] Feature Request CAN_RAW_FD_FRAMES
Changes by Stefan Tatschner ste...@sevenbyte.org: -- title: Feature Request CAN_RAW_FD_FRAME - Feature Request CAN_RAW_FD_FRAMES ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22631 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
Stéphane Wirtel added the comment: Tell me if you will review this patch and maybe accept it ;-) In fact I checked all the return keywords in the email library and I didn't find any other copy of a dict. This is the reason why I am dubious about my patch ;-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3068] IDLE - Add an extension configuration dialog
Terry J. Reedy added the comment: Patch 5 was missing the last change. Ignore it unless here is a problem with 5a -- Added file: http://bugs.python.org/file36932/cfg-ext-34-5a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3068 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22237] sorted() docs should state that the sort is stable
Mark Dickinson added the comment: when I grep the code, I don't find it The non-greppability is due to preprocessor evil. The culprit is this macro from Include/object.h: #define _Py_IDENTIFIER(varname) _Py_static_string(PyId_##varname, #varname) along with the declaration _Py_IDENTIFIER(sort); earlier in bltinmodule.c. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22237 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22237] sorted() docs should state that the sort is stable
Stéphane Wirtel added the comment: Hi Mark, Without your explanation, I was really lost. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22237 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Antoine Pitrou added the comment: Update on 2.7: - there are no SSL servers in the stdlib (ha) - SSL clients don't do any auto-downgrading so it's not obvious we should patch something (if people choose to pass PROTOCOL_SSLv3, it's their problem). Update on 3.4: - the only SSL server in the stdlib is in asyncio, but it forces the user to pass their own SSL context (good!) - SSL clients don't do any auto-downgrading (3.5 should be similar) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20386] socket.SocketType enum overwrites import of _socket.SocketType
Berker Peksag added the comment: + self.assertTrue(socket.SocketType is _socket.socket) You can use assertIs instead of assertTrue. -- nosy: +berker.peksag versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20386 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Changes by Martin Richard mart...@martiusweb.net: -- nosy: +martius ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22237] sorted() docs should state that the sort is stable
Stéphane Wirtel added the comment: My patch for the documentation of Python 3.5, just need a small feedback. If you agree with this patch, I will provide the same patch for 2.7 and 3.4 Thank you -- keywords: +patch Added file: http://bugs.python.org/file36933/issue22237.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22237 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13236] unittest needs more flush calls
Stéphane Wirtel added the comment: ping about this bug, do you have the same problem with the last version of Python 3.4 and with Python 2.7.8 ? -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13236 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17095] Modules/Setup *shared* support broken
Stéphane Wirtel added the comment: Hi Ned, What are the news for this issue? -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17095 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11844] Update json to upstream simplejson latest release
Stéphane Wirtel added the comment: Hi all, ping this issue for Python 3.5. -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11844 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Christian Heimes added the comment: There is no need for a _create_stdlib_server_context() function. _create_stdlib_context() takes a purpose argument, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
Changes by Stéphane Wirtel steph...@wirtel.be: Removed file: http://bugs.python.org/file36915/issue21991.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22641] Use better default context in asyncio
New submission from Antoine Pitrou: asyncio is not yet bound by legacy use cases, so this patch switches asyncio to stronger default SSL settings for client connections. It also adds tests for that (the code path was untested). -- components: Library (Lib), asyncio files: asyncio_default_context.patch keywords: patch messages: 229424 nosy: alex, christian.heimes, giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov priority: normal severity: normal stage: patch review status: open title: Use better default context in asyncio type: security versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file36934/asyncio_default_context.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22641 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
Stéphane Wirtel added the comment: New version of the patch -- Added file: http://bugs.python.org/file36935/issue21991.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
Stéphane Wirtel added the comment: sorry, but how to update a patch without losing the rietveld review? Is there a documentation about that? Thanks. Stephane -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22641] Use better default context in asyncio
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file36934/asyncio_default_context.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22641 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22641] Use better default context in asyncio
Changes by Antoine Pitrou pit...@free.fr: Added file: http://bugs.python.org/file36936/asyncio_default_context.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22641 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11844] Update json to upstream simplejson latest release
Antoine Pitrou added the comment: Development of simplejson and the standard json module has diverged. We may port selected fixes and features from simplejson, but I don't think a wholesale update is doable anymore. Please open separate issues for each feature you would like to see added to the standard json module. -- resolution: - rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11844 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Matthias Klose added the comment: could somebody attach a build log from such a system? and the libffi config.log? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +larry priority: normal - release blocker versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Marc Schlaich added the comment: I've now run various and partially complex applications including SQLAlchemy against SQLite 3.8.1 for months without having any issues. Right now I have run extensive database test suites against the current SQLite release 3.8.6 without any issues, too. So I would say it's save to bundle a newer SQLite version in the next Python 2.7.x. Who would be responsible for this? Is there anything I can do to get progress on this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20386] socket.SocketType enum overwrites import of _socket.SocketType
koobs added the comment: This change looks to be implicated in a buildbot breakage on koobs-freebsd9 (3.4). I couldn't reproduce the test failure by re-running the build, so possibly intermittent or non-deterministic. Full build log attached. I'll leave the issue closed for now, please re-open if verified. == ERROR: test_pickling (test.test_multiprocessing_fork.WithProcessesTestPicklingConnections) -- Traceback (most recent call last): File /usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/test/_test_multiprocessing.py, line 2590, in test_pickling self.assertEqual(new_conn.recv(), msg.upper()) File /usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/multiprocessing/connection.py, line 250, in recv buf = self._recv_bytes() File /usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/multiprocessing/connection.py, line 416, in _recv_bytes buf = self._recv(4) File /usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/multiprocessing/connection.py, line 389, in _recv raise EOFError EOFError -- nosy: +koobs Added file: http://bugs.python.org/file36937/koobs-freebsd9-py34-build-553.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20386 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Antoine Pitrou added the comment: Steve is responsible for the Windows builds, but he always answered to your request above. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Donald Stufft added the comment: I really don't think it's unreasonable to say SSL 3.0 is insecure, if you rely on it then you need to pass this flag to use it. Passing a flag to do something insecure is hardly onerous. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Mark Lawrence added the comment: A work around is already given in msg201796 and is reinforced by this https://mail.python.org/pipermail/python-list/2014-October/679369.html -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6171] IDLE - Class Browser selection in Ubuntu
Vandana Rao added the comment: This issue doesn't describe the above situation on Ubuntu 14.04. I use IDLE 3.4.0 and Python 3.4.0. When the Class browser is opened and if the function name or class name is double clicked, it highlights the corresponding section in the editor. It's perfectly working when we do same action on different function names or class names without opening class browser another time. -- nosy: +Vandana.Rao ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6171 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
STINNER Victor added the comment: sorry, but how to update a patch without losing the rietveld review? I see 3 patch sets at: http://bugs.python.org/review/21991/ No review is lost when you remove a patch. But it's better to attach a new patch with a different name. I like the name pattern: name.patch, name-2.patch, name-3.patch, etc. It's easier to refer to a patch when it has a unique name. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
STINNER Victor added the comment: issue21991.patch looks good to me. I didn't check if more methos should be modified. David knows that better than me :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
STINNER Victor added the comment: I read the table explaining how SSL/TLS is negociated between the client and the server: https://docs.python.org/2.7/library/ssl.html#ssl.wrap_socket I don't understand how I can ask to use TLS, prefer the most recent version, but don't use SSL? Should I use TLSv1 which only works with TLS version 1.0? Or TLSv12 and bet that the server implements this newer TLS version? create_default_context() uses PROTOCOL_SSLv23 with OP_NO_SSLv2 and OP_NO_SSLv3. I don't understand: we ask to use SSL version 2 or 3 but we disable SSLv2 and SSLv3? If the client uses PROTOCOL_SSLv23, does it mean that TLS will never be tried? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22517] BufferedRWpair doesn't clear weakrefs
paul added the comment: Why did the type changed from security to crash? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22517 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Donald Stufft added the comment: The naming of SSLv23 is sort of unfortunate, that will negotiate the highest version of SSL 2.0, SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2 that both the client and the server support. You can modify the list of what protocols are supported using the ssl.OP_NO_* flags. By default SSL 2.0 has been disabled in Python 2.7 (in 2.7.9 you can't even turn it back on afaik) and SSL 3.0 is already disabled by create_default_context() (but can be renabled by negating ssl.OP_NO_SSLv3). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Ismail Donmez added the comment: FWIW OpenSSL patch is now upstream https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=cf6da05304d554aaa885151451aa4ecaa977e601 https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fb0e87fb67a358b40a1d56d2df3a611a09899780 -- nosy: +cartman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22642] trace module: unclear error message
New submission from Giampaolo Rodola': $ python3.4 -m trace -l Traceback (most recent call last): File /usr/local/lib/python3.4/runpy.py, line 170, in _run_module_as_main __main__, mod_spec) File /usr/local/lib/python3.4/runpy.py, line 85, in _run_code exec(code, run_globals) File /usr/local/lib/python3.4/trace.py, line 858, in module main() File /usr/local/lib/python3.4/trace.py, line 787, in main progname = prog_argv[0] IndexError: list index out of range I would expect something more clear to be printed, like the program usage helper you get in this case: $ python3.4 -m trace /usr/local/lib/python3.4/trace.py: must specify one of --trace, --count, --report, --listfuncs, or --trackcalls -- messages: 229441 nosy: giampaolo.rodola priority: normal severity: normal status: open title: trace module: unclear error message versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
R. David Murray added the comment: Personally I would test that the returned object is read only, rather than checking for MappingProxyType explicitly, but you can argue either way as being better :) As for other occurrences, I must have been either misremembering, or I refactored the other occurrences out of existence earlier. Yes I will apply this. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22445] Memoryviews require more strict contiguous checks then necessary
Antoine Pitrou added the comment: Is this related to the NPY_RELAXED_STRIDES_CHECKING compilation flag? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22445 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Antoine Pitrou added the comment: Le 15/10/2014 14:03, STINNER Victor a écrit : create_default_context() uses PROTOCOL_SSLv23 with OP_NO_SSLv2 and OP_NO_SSLv3. I don't understand: we ask to use SSL version 2 or 3 but we disable SSLv2 and SSLv3? PROTOCOL_SSLv23 is badly named (blame OpenSSL). It really means any protocol version, the highest if possible. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17884] Try to reuse stdint.h types like int32_t
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17884 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)
Antoine Pitrou added the comment: Le 15/10/2014 13:07, Donald Stufft a écrit : I really don't think it's unreasonable to say SSL 3.0 is insecure, if you rely on it then you need to pass this flag to use it. Passing a flag to do something insecure is hardly onerous. Your position is well-known, Donald, there is no need to rehash it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9034] datetime module should use int32_t for date/time components
Alexander Belopolsky added the comment: See also #17884. -- dependencies: +Try to reuse stdint.h types like int32_t ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9034 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Siming Yuan added the comment: make log from RHEL 6.4 for python 3.4.2. Also got this on the STDERR: $ make ../make.log build/temp.linux-x86_64-3.4/opt/python-3.4.2/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.o: In function `ffi_prep_closure_loc': /opt/python-3.4.2/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.c:679: undefined reference to `ffi_closure_FASTCALL' /usr/bin/ld: build/temp.linux-x86_64-3.4/opt/python-3.4.2/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.o: relocation R_386_GOTOFF against undefined hidden symbol `ffi_closure_FASTCALL' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status -- Added file: http://bugs.python.org/file36939/make.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Siming Yuan added the comment: attached python 3.4.2 configure log on RHEL6.4 -- Added file: http://bugs.python.org/file36938/configure.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Siming Yuan added the comment: configure arguments: BASECFLAGS=-m32 LDFLAGS=-m32 CFLAGS=-m32 ./configure --prefix=/opt/python-3.4.2/ ../configure.log attached system rpm information. no additional binaries/PATHs/LD_LIB_PATHs -- Added file: http://bugs.python.org/file36940/rpm.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22641] Use better default context in asyncio
Guido van Rossum added the comment: LGTM. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22641 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Matthias Klose added the comment: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu and using -m32 explicitly. so you'll get what you deserve ;-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21991] The new email API should use MappingProxyType instead of returning new dicts.
STINNER Victor added the comment: Personally I would test that the returned object is read only I agree: write a short helper to check that modifying the dict fails. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32
Siming Yuan added the comment: [siyuan@siyuan-lnx:siyuan-ott]$ lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: RedHatEnterpriseWorkstation Description:Red Hat Enterprise Linux Workstation release 6.4 (Santiago) Release:6.4 Codename: Santiago [siyuan@siyuan-lnx:siyuan-ott]$ uname -a Linux siyuan-lnx 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 20 11:05:23 EST 2013 x86_64 x86_64 x86_64 GNU/Linux :( there's nothing special.. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22639] test test_bad_address fails on Python 3.4.2 under Linux Mint 13 Maya
Steve P added the comment: I saw that issue, or one like it. I was very tempted to not report but the README says if there are any test failures, there is a problem. (I suppose it could mean there is a problem with my ISP, not python.) The dilemma is that we want to be able to count on a clean pass of all tests even in the face of the misbehaving ISP (I believe someone in the discussion said there may be more of such in the future). At the very least, if we are accepting a failure in the test suite as ok, the README should say something to that effect. On 10/14/2014 09:32 PM, Ned Deily wrote: Ned Deily added the comment: Thanks for the additional information. It appears this is a duplicate of Issue17564 with the root cause being the ISP not properly rejecting an undefined host name as expected by the test case. See the discussion there for more information. -- resolution: - duplicate stage: - resolved status: open - closed superseder: - test_urllib2_localnet fails type: crash - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22639 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22639 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
New submission from paul: Crashes python 3.4.1. # Objects\unicodeobject.c # # static PyObject * # case_operation(PyObject *self, #Py_ssize_t (*perform)(int, void *, Py_ssize_t, Py_UCS4 *, Py_UCS4 *)) # { # PyObject *res = NULL; # Py_ssize_t length, newlength = 0; # int kind, outkind; # (...) # 1 length = PyUnicode_GET_LENGTH(self); # 2 tmp = PyMem_MALLOC(sizeof(Py_UCS4) * 3 * length); # (...) # 3 newlength = perform(kind, data, length, tmp, maxchar); # # 1. there are no safety checks # 2. 12*length overflows # 3. perform() writes to tmp buffer, which is too small to hold the result -- files: poc_case_op.py messages: 229455 nosy: pkt priority: normal severity: normal status: open title: Integer overflow in case_operation type: security versions: Python 3.4 Added file: http://bugs.python.org/file36941/poc_case_op.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22641] Use better default context in asyncio
Roundup Robot added the comment: New changeset c2ccbcd11d47 by Antoine Pitrou in branch '3.4': Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security. https://hg.python.org/cpython/rev/c2ccbcd11d47 New changeset d75b63cb3e78 by Antoine Pitrou in branch 'default': Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security. https://hg.python.org/cpython/rev/d75b63cb3e78 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22641 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22641] Use better default context in asyncio
Antoine Pitrou added the comment: Ok, I've now pushed it to 3.4 and 3.5. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22641 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17884] Try to reuse stdint.h types like int32_t
Antoine Pitrou added the comment: I'm in favour of trying this in 3.5. A platform not supporting those types would not be able to run a lot of contemporary software, I think. -- nosy: +pitrou stage: - patch review type: - enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17884 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Changes by STINNER Victor victor.stin...@gmail.com: -- components: +Unicode nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson, serhiy.storchaka type: security - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13236] unittest needs more flush calls
Antoine Pitrou added the comment: And if the issue still holds, please provide a patch adding the appropriate flush() calls. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13236 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22592] Drop support of Borland C compiler
STINNER Victor added the comment: It looks like Larry Hastings supports indirectly this issue :-) We still have #ifdef's for Borland C--I'd be very surprised if anyone was compiling Python 3 with Borland C. https://mail.python.org/pipermail/python-dev/2014-October/136626.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22592] Drop support of Borland C compiler
Antoine Pitrou added the comment: I don't know how reliable that Web site is, but apparently it may still be used for education: http://borlandc.org/ -- nosy: +mark.dickinson, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22644] Update Windows installers to OpenSSL 1.0.1j
New submission from Alex Gaynor: https://www.openssl.org/news/secadv_20141015.txt -- components: Extension Modules keywords: security_issue messages: 229462 nosy: alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Update Windows installers to OpenSSL 1.0.1j ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22644 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Marc Schlaich added the comment: Yes, but this is no practical solution. Telling *all* my clients to update the sqlite3.dll after *every* Python update is just not feasible and will just not work out in practice. What would be the required steps to update the *.dll in the build? Just update the external.bat to fetch another version or I am missing something? I would suggest synchronizing it with Python 3, which means SQLite 3.8.3.1. Or what do you think? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Antoine Pitrou added the comment: The main risk is if SQLite 3.8 changes some behaviours compared to older versions. This is why we generally choose to only apply bugfix releases of external libraries in our owbn bugfix branches. The question is whether this issue can be worked around without upgrading SQLite. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1
New submission from Zac Greve: I am unable to install Python 3.4.2 amd64 on Windows as the installer exits with an error stating that it cannot run a required program. -- components: Windows messages: 229465 nosy: Zac.Greve priority: normal severity: normal status: open title: Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1 type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22645 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22645 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1
Ezio Melotti added the comment: Can you copy the exact error that you got? Have you tried redownloading it, and/or checking with a different version (x86 or Python 3.3)? Do you have admin privileges on your account? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22645 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Roundup Robot added the comment: New changeset 449b1f427cc7 by Benjamin Peterson in branch '3.3': fix integer overflow in unicode case operations (closes #22643) https://hg.python.org/cpython/rev/449b1f427cc7 New changeset 570e70252d5d by Benjamin Peterson in branch '3.4': merge 3.3 (#22643) https://hg.python.org/cpython/rev/570e70252d5d New changeset c2980ec10a4c by Benjamin Peterson in branch 'default': merge 3.4 (#22643) https://hg.python.org/cpython/rev/c2980ec10a4c -- nosy: +python-dev resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Marc Schlaich added the comment: Well, OSX release ships with 3.8.3.1, too: https://hg.python.org/cpython/file/2.7/Mac/BuildScript/build-installer.py#l290 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
Antoine Pitrou added the comment: As I said, I think it's really Steve's choice here (as long as he is doing the Windows release builds). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
STINNER Victor added the comment: Benjamin, could you please first propose a patch for review instead of commiting directly your change? Especially for security related changes. +if (length PY_SSIZE_T_MAX / 3 || +length PY_SIZE_MAX / (3 * sizeof(Py_UCS4))) { +PyErr_SetString(PyExc_OverflowError, string is too long); +return NULL; +} tmp = PyMem_MALLOC(sizeof(Py_UCS4) * 3 * length); PyMem_MALLOC() returns NULL if the length is larger than PY_SSIZE_T_MAX, so the overflow check doesn't look correct. The overflow check can be replaced with: if ((size_t)length PY_SSIZE_T_MAX / (3 * sizeof(Py_UCS4))) ... -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
STINNER Victor added the comment: Other changesets related to this issue: changeset: 93071:6a91e616485a branch: 3.3 parent: 93068:449b1f427cc7 user:Benjamin Peterson benja...@python.org date:Wed Oct 15 11:51:05 2014 -0400 files: Objects/unicodeobject.c description: make sure length is unsigned (followed by merged into 3.4 and 3.5) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Benjamin Peterson added the comment: Cool, I forgot about that. On Wed, Oct 15, 2014, at 12:11, STINNER Victor wrote: STINNER Victor added the comment: Other changesets related to this issue: changeset: 93071:6a91e616485a branch: 3.3 parent: 93068:449b1f427cc7 user:Benjamin Peterson benja...@python.org date:Wed Oct 15 11:51:05 2014 -0400 files: Objects/unicodeobject.c description: make sure length is unsigned (followed by merged into 3.4 and 3.5) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Roundup Robot added the comment: New changeset f963cc1f96cf by Benjamin Peterson in branch '3.3': it suffices to check for PY_SSIZE_T_MAX overflow (#22643) https://hg.python.org/cpython/rev/f963cc1f96cf New changeset 8195d48a5c43 by Benjamin Peterson in branch 'default': merge 3.4 (closes #22643) https://hg.python.org/cpython/rev/8195d48a5c43 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22445] Memoryviews require more strict contiguous checks then necessary
Sebastian Berg added the comment: @pitrou, yes of course. This would make python do the same thing as numpy does (currently only with that compile flag given). About the time schedule, I think I will try to see if some other numpy dev has an opinion. Plus, should look into documenting it for the moment, so that someone who reads up on the buffer protocol should get things right. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22445 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22592] Drop support of Borland C compiler
Serhiy Storchaka added the comment: Antoine, antique Turbo Pascal 7.0 (for DOS!) [1] is widely used for education in xUSSR countries. Due to a bug [2] in the crt unit most education examples can't be ran on computers with modern processors (Pentium MMX and newer) and are ran under DosBox [3]. School teachers often are very conservative. The use of something for education doesn't means that it is used for other purposes. [1] http://en.wikipedia.org/wiki/Turbo_Pascal [2] http://en.wikipedia.org/wiki/Runtime_error_200 [3] http://en.wikipedia.org/wiki/DOSBox -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Serhiy Storchaka added the comment: I think this is a place where _PyUnicodeWriter would be appropriate (of course this is different issue). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22592] Drop support of Borland C compiler
Serhiy Storchaka added the comment: As for Borland C, it was reincarnated as Borland C++ Builder [1] and then as Embarcadero C++ Builder. I doubt that anyone was compiling Python 3 with it. [1] http://en.wikipedia.org/wiki/C%2B%2BBuilder -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Serhiy Storchaka added the comment: The test should be decorated with the bigmemtest decorator. And I think that condition sys.maxsize 2**32 would be more robust. -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Benjamin Peterson added the comment: It's only 341 MB. On Wed, Oct 15, 2014, at 13:29, Serhiy Storchaka wrote: Serhiy Storchaka added the comment: The test should be decorated with the bigmemtest decorator. And I think that condition sys.maxsize 2**32 would be more robust. -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Serhiy Storchaka added the comment: And this test is CPython only. It relies on specific implementation detail. After changing current implementation (which inefficiently uses memory) this test will be dropped. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Roundup Robot added the comment: New changeset 33290d0dd946 by Benjamin Peterson in branch '3.4': merge 3.3 (#22643) https://hg.python.org/cpython/rev/33290d0dd946 New changeset ffabb674140c by Benjamin Peterson in branch 'default': merge 3.4 (#22643) https://hg.python.org/cpython/rev/ffabb674140c -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Benjamin Peterson added the comment: Since the memory requirement is less than 500MB, I don't think it needs a bigmemtest decorator. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Serhiy Storchaka added the comment: It's only 341 MB. It's 2**32//12*2 ~ 683 MiB for original string (but I'm not sure that non- ASCII string is needed for this test) + 2**32 = 4GiB if the test will fail for some reason. Some buildbots AFAIK have memory less than 683 MiB. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Benjamin Peterson added the comment: It's Latin 1, so the chars only use one byte: sys.getsizeof(üü) - sys.getsizeof(ü) 1 On Wed, Oct 15, 2014, at 13:46, Serhiy Storchaka wrote: Serhiy Storchaka added the comment: It's only 341 MB. It's 2**32//12*2 ~ 683 MiB for original string (but I'm not sure that non- ASCII string is needed for this test) + 2**32 = 4GiB if the test will fail for some reason. Some buildbots AFAIK have memory less than 683 MiB. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22643] Integer overflow in case_operation
Benjamin Peterson added the comment: More explicitly: sys.getsizeof(ü*(2**32//12 + 1))//1024//1024 341 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22643 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22445] Memoryviews require more strict contiguous checks then necessary
Antoine Pitrou added the comment: Like Stefan I think this would be good to go in 3.5. The PyBuffer APIs are relatively new so there shouldn't be a lot of breakage. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22445 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22592] Drop support of Borland C compiler
Antoine Pitrou added the comment: Then +1 from me for removing support. -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22646] Set SMTPHandler's credentials through logging.config.dictConfig.
New submission from panos black: If you configure logging using a JSON file, then, after you parse it and you pass it to logging.config.dictConfig(), you realize that when you define an SMTPHandler you can't set credentials, or, more precisely, whether you set it or not the credentials value is ignored. This happens because SMTPHandler's __init__ has the following code if isinstance(credentials, tuple): self.username, self.password = credentials else: self.username = None while credentials inside dictConfig() is a ConvertingList and not a tuple. As a result, username is set to None. I think that this is a problem because: a) credentials is allowed to be specified in the configuration file (i.e. if you have an identifier that SMTPHandler's __init__, knows nothing about then you get an exception). b) Other fields like, timeout, and toaddrs work as expected (i.e. you can set them just fine) c) This behaviour is not documented and you end up with improperly configured logging. I guess that similar problems exist in other handlers too, but I haven't checked them one by one. I think that it would make sense to be able to set all __init__ arguments in the Handlers section, or at least, if this is not desirable, to document this behaviour. -- assignee: docs@python components: Documentation, Library (Lib) messages: 229488 nosy: docs@python, panos.black, vinay.sajip priority: normal severity: normal status: open title: Set SMTPHandler's credentials through logging.config.dictConfig. type: enhancement versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22646 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22592] Drop support of Borland C compiler
Serhiy Storchaka added the comment: The patch LGTM but there is Borland C support in distutils and there are several mentions in the documentation. May be there are mentions in some build-support files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17095] Modules/Setup *shared* support broken
Ned Deily added the comment: Stéphane, as I understand it, this issue covers two problems: (1) Building and installing shared modules using Modules/Setup was broken for current Python 3 releases; (2) Using those shared modules when running Python from a build directory (rather than from a normal installed Python) is broken. Problem (1) is now fixed. Problem (2) remains to be properly fixed; it's a little tedious to get right as a fix needs to take into account the SO_ABI and ensure built modules get properly cleaned and all the right Makefile dependencies work. I'd be happy to review a patch if someone gets to it before I do. But it seems to me that (1) was the serious problem; (2) is more of a minor annoyance for developers with easy workarounds, e.g. use PYTHONPATH or install Python to a temporary location for testing. -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17095 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21907] Update Windows build batch scripts
David Bolen added the comment: Just thought I'd add a note here that after the most recent changes, my buildbots also appear to be back to quicker hg pulls rather than clones at the start of the process (see msg222592). Still not sure why that behavior changed, but we're back to the previous behavior. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21907 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com