[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2013-06-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16901] In http.cookiejar.FileCookieJar() the .load() and .revert() methods don't work

2013-06-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17767] Fix test discovery for test_locale.py

2013-06-17 Thread Zachary Ware
Zachary Ware added the comment: Looking at this one again, I missed removing the run_unittest import. Here's a new patch. -- Added file: http://bugs.python.org/file30631/test_locale_discovery.v2.diff ___ Python tracker

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18103] Create a GUI test framework for Idle

2013-06-17 Thread Phil Webster
Changes by Phil Webster : -- nosy: +philwebster ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18162] Add index attribute to IndexError

2013-06-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: -1 on expanding the API for an attribute that is sometimes there and sometimes not. This doesn't add any value, but it does add complication. -- ___ Python tracker ___

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: This is the cause of the failures in test_distutils. -- ___ Python tracker ___ ___ Python-bugs-list

[issue18250] In itertools.repeat() object shadows object()

2013-06-17 Thread py.user
New submission from py.user: >>> object >>> -- assignee: docs@python components: Documentation files: issue.diff keywords: patch messages: 191384 nosy: docs@python, py.user priority: normal severity: normal status: open title: In itertools.repeat() object shadows object() type: enhancem

[issue18249] Incorrect and incomplete help docs for close() method

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: In fact it is a built-in method without a doc string: >>> f = open("/dev/null") >>> f.close >>> f.close.__doc__ All functions and methods that are implemented in C are referred to as built-in functions. It's an implementation detail. -- nosy: +chri

[issue18249] Incorrect and incomplete help docs for close() method

2013-06-17 Thread Dave Angel
New submission from Dave Angel: Python 3.3.0 (default, Mar 7 2013, 00:24:38) [GCC 4.6.3] on linux q = open('/dev/null') help(q.close) the entire output is: --- Help on built-in function close: close(...) (END) --- But close() is NOT a

[issue18248] fficonfig.py.in wrong for AIX

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue18248] fficonfig.py.in wrong for AIX

2013-06-17 Thread David Edelsohn
New submission from David Edelsohn: fficonfig.py.in incorrectly mixes source files intended for Linux with source files intended for AIX, causing a build failure. AIX uses ffi_darwin.c not ffi.c diff -r f6f70f1ab124 Modules/_ctypes/libffi.diff --- a/Modules/_ctypes/libffi.diff Mon Jun 17

[issue18247] Add Lib/test/data/ to .gitignore

2013-06-17 Thread py.user
New submission from py.user: have a git repository: http://docs.python.org/devguide/faq.html#i-already-know-how-to-use-git-can-i-use-that-instead git clone git://github.com/akheron/cpython after running tests by "make test" they created some files in "Lib/test/data/" [guest@localhost cpython]$

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file30453/py_setallocators-2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
STINNER Victor added the comment: Convert changeset 6661a8154eb3 into a patch: py_setallocators-6.patch. -- Added file: http://bugs.python.org/file30629/py_setallocators-6.patch ___ Python tracker __

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file29324/py_setallocators.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file30575/py_setallocators-5.patch ___ Python tracker ___ ___ Python-bugs-list

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file30538/py_setallocators-3.patch ___ Python tracker ___ ___ Python-bugs-list

[issue3329] API for setting the memory allocator used by Python

2013-06-17 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file30564/py_setallocators-4.patch ___ Python tracker ___ ___ Python-bugs-list

[issue13483] Use VirtualAlloc to allocate memory arenas

2013-06-17 Thread Trent Nelson
Changes by Trent Nelson : -- nosy: +trent ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-17 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2ccfb096e6a by Brett Cannon in branch 'default': Issue #17222: fix a mix-up in some exception messages. http://hg.python.org/cpython/rev/e2ccfb096e6a -- ___ Python tracker

[issue18014] Problem compiling on Windows, VC++Express 2010

2013-06-17 Thread Ezio Melotti
Ezio Melotti added the comment: FYI "hg bisect" makes this kind of tests a lot easier. -- nosy: +ezio.melotti ___ Python tracker ___ _

[issue18014] Problem compiling on Windows, VC++Express 2010

2013-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows 3.3 build still failed today. So I updated back to time it worked, and them skipped forward every so ofter to current, compiling each time, and it worked each time except for one problem that was fixed in the next commit. No problems with 3.4 currently

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I discovered by experiment, unittest.SkipTest and subclasses are only handled properly inside of functions recognized and called by unittest. This could be better documented. -- ___ Python tracker

[issue17238] IDLE: Enhance import statement completion

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue18240] hmac unnecessarily restricts input to "bytes"

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your patch! Please add tests for the new feature. The documentation needs versionchanged tags, too. -- ___ Python tracker ___

[issue18239] In itertools docstring update arguments in count() example

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, 'support', not 'resource'. However, re-read my message for properly using requires to avoid the traceback. def setUpModule(): requires('gui') may also work, but I am assuming that there might be non-gui test cases added later. -- __

[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +kbk, roger.serwy, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue18240] hmac unnecessarily restricts input to "bytes"

2013-06-17 Thread Jonas Borgström
Changes by Jonas Borgström : -- keywords: +patch Added file: http://bugs.python.org/file30628/hmac.patch ___ Python tracker ___ ___ Py

[issue18241] Add unique option to heapq functions

2013-06-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > No, it's impossible without additional structure. And with a set it is > trivial. Yeah, I wanted to avoid the memory overhead of a set. -- ___ Python tracker __

[issue18241] Add unique option to heapq functions

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it's impossible without additional structure. And with a set it is trivial. def uniqueheappush(heap, inheap, item): if id(item) in inheap: return False heappush(heap, item) inheap.add(id(item)) return True def uniqueheappop(heap, i

[issue18246] tkinter.Text() add a newline to the content - bug?

2013-06-17 Thread Friedrich Spee von Langenfeld
New submission from Friedrich Spee von Langenfeld: Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> from tkinter import* >>> root = Tk() >>> text = Text() >>> text.pack() >>> text.i

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0e234e10da6 by Victor Stinner in branch '3.3': Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX http://hg.python.org/cpython/rev/a0e234e10da6 New changeset 8e277e6bd11b by Victor Stinner in branch 'default': (Merge 3.3) Issue #1

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Added file: http://bugs.python.org/file30627/test_delegator1.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Removed file: http://bugs.python.org/file30626/test_delegator1.patch ___ Python tracker ___ ___ Python-bugs-list

[issue18228] AIX locale parsing failure

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6cbd992d3411 by Victor Stinner in branch 'default': Issue #18228: Use locale.setlocale(name, None) instead of http://hg.python.org/cpython/rev/6cbd992d3411 -- ___ Python tracker

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-17 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: The "from test.resource import requires" give me errors saying no module named resource in test (Am I missing anything?) For the moment I use "from test.support import requires" as in test_delegator1.patch . from test.support import requires requires('gui

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: By the way, if I manually override _has_poll to False, the same test fails similarly in _communicate_with_select, so the failure is not limited to the implementation of poll(). -- ___ Python tracker

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: Bah. s/test/text. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: In any case, the patch only gives half of the correction. The corrected test would have to be "if *those* data are needed later" rather than "if that data are needed later". -- nosy: +mark.dickinson ___ Python trac

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: Indeed, after debugging, it is a stack overflow caused by the introduction of the different temporary variables in the Py_XINCREF, Py_XDECREF, and Py_DECREF macros. I've attached an updated patch that reuses the _py_tmp variable for those temporary assignments

[issue17902] Document that _elementtree C API cannot use custom TreeBuilder for iterparse or IncrementalParser

2013-06-17 Thread Aaron Oakley
Aaron Oakley added the comment: So sorry, I just found the emails from the bug tracker in my spam folder. Anyhow, I've now signed the CLA. -- ___ Python tracker ___

[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17121] SSH upload for distutils

2013-06-17 Thread Éric Araujo
Éric Araujo added the comment: SSH upload is an acceptable new feature for Python 3.4, if it can be done without breaking compat or changing too many internals. (The distutils feature freeze was effectively lifted at PyCon; Nick Coghlan also has a PEP in the plans to discuss how to update dist

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: $ ./python -m test --timeout=60 -v test_signal == CPython 3.4.0a0 (default:00824f9e29f3+, Jun 17 2013, 16:44:41) [GCC 4.8.1] == AIX-1-00F84C0C4C00-powerpc-32bit big-endian == /home/dje/src/cpython/build/test_python_5832942 Testing with flags: sys.flags(debug=

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread R. David Murray
R. David Murray added the comment: Yes, the way it is now is normal written english, regardless of what any older official stylebooks may say :) -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed type: -> behavior

[issue14030] Be more careful about selecting the compiler in distutils

2013-06-17 Thread dnozay
dnozay added the comment: affects PyPy, here are the downstream issues: - https://bugs.pypy.org/issue662 - https://bugs.pypy.org/issue674 - https://bugs.pypy.org/issue1057 -- nosy: +dnozay ___ Python tracker __

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Łukasz Langa
Changes by Łukasz Langa : -- assignee: -> lukasz.langa stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18228] AIX locale parsing failure

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00824f9e29f3 by Victor Stinner in branch 'default': Issue #18228: Fix locale test of test.regrtest.saved_test_environment http://hg.python.org/cpython/rev/00824f9e29f3 -- nosy: +python-dev ___ Python trac

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Library (Lib) -Extension Modules nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread Ned Batchelder
Ned Batchelder added the comment: Please don't make this change. "Data" is used as a singular collective noun, especially in software contexts. "Data" as a plural noun sounds archaic, or at best, scientific. -- nosy: +nedbat ___ Python tracker

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Edward Catmur added the comment: See attachment for patch and test. Note that reproducing the issue without access to singledispatch internals depends on iteration order of a dict of types and is thus intermittent/environment dependent. -- ___ Pyth

[issue18245] In itertools.groupby() make data plural

2013-06-17 Thread py.user
New submission from py.user: http://en.wiktionary.org/wiki/data "data (uncountable) or plural noun" -- assignee: docs@python components: Documentation files: issue.diff keywords: patch messages: 191354 nosy: docs@python, py.user priority: normal severity: normal status: open title: In it

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Changes by Edward Catmur : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Changes by Edward Catmur : -- keywords: +patch Added file: http://bugs.python.org/file30623/singledispatch-mro-18244.patch ___ Python tracker ___

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15071] TLS get keys and randoms

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12197] non-blocking SSL write fails if a partial write was issued

2013-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue18231] What's new in Python should explain what's new in UCD

2013-06-17 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: MvL> Are you sure that the permission to use "KHMER VOWEL INHERENT AQ" MvL> in an identifier is worth mentioning? No, but it is worth mentioning that there are no more substantial changes. I don't think the change from 6.1.0 to 6.2.0 has any effect on py

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18233] SSLSocket.getpeercertchain()

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: As expected it is much harder to get the full certification chain from OpenSSL than I initially expected. SSL_get_peer_cert_chain() doesn't return the root CA's certificate. The new patch introduces a validation mode and uses X509_verify_cert(*X509_STORE_CTX

[issue18103] Create a GUI test framework for Idle

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +JayKrish ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
Edward Catmur added the comment: Apologies, the linked repository is for the 2.x backport of singledispatch. I'll replace it with a proper Python repo. -- ___ Python tracker __

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-17 Thread Edward Catmur
New submission from Edward Catmur: Suppose we have a class C with MRO (C, B, A, object). C virtual-inherits an ABC V, while B virtual-inherits an unrelated ABC W: object / | \ A W | | .` / B` V | .` C` Recalling that per PEP 443 singledispatc

[issue18206] license url in site.py should always use X.Y.Z form of version number

2013-06-17 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review Added file: http://bugs.python.org/file30621/issue18206.diff ___ Python tracker ___

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: Rethinking, renaming seems more reasonable. I've posted about it to python-dev: http://mail.python.org/pipermail/python-dev/2013-June/126904.html -- ___ Python tracker __

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: > the fact that Python initializes sys.path[0] to contain the directory of the > executing script Of course, silly me. Sorry. I would prefer to remove the pydoc script altogether. The other alternative would be to rename it to pydoc-script.py and have a pydoc.ex

[issue18243] mktime_tz documentation out-of-date

2013-06-17 Thread Jakub Wilk
New submission from Jakub Wilk: email.utils.mktime_tz documentations says: "Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though not

[issue18243] mktime_tz documentation out-of-date

2013-06-17 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray versions: +Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread Jakub Wilk
Jakub Wilk added the comment: Fair enough, filed as issue #18243. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-17 Thread Peter Santoro
Peter Santoro added the comment: As requested, I've attached a small test script called shadow.py. Steps to reproduce: 1) pyvenv.py bugtest 2) copy the attached shadow.py script to bugtest and bugtest\scripts 3) cd bugtest 4) run shadow.py (first entry in sys.path is refers to bugtest director

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +IDLE should not be replacing warnings.formatwarning ___ Python tracker ___ ___ Python-bugs

[issue18242] IDLE should not be replacing warnings.formatwarning

2013-06-17 Thread Brett Cannon
New submission from Brett Cannon: Both idlelib.run and idlelib.PyShell replace warning.formatwarning which is a no-no. Only warning.showwarning is design to be replaced in any way. The proper solution is to replace warnings.showwarning with code that calls whatever formatting function you prov

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Brett Cannon
Brett Cannon added the comment: And Lib/idlelib/run.py also does the substitution. I'll file a separate bug for all of this. -- ___ Python tracker ___ __

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Brett Cannon
Brett Cannon added the comment: Another odd thing about this failure is that http://hg.python.org/cpython/rev/59a11c81dd3c should have fixed it as it should be setting warnings.showwarning() back to it's original value before the test began executing. So I checked PyShell again and found out i

[issue18241] Add unique option to heapq functions

2013-06-17 Thread Antoine Pitrou
New submission from Antoine Pitrou: In one application, I would like to use a heap as an allocation pool. I also want to check that a given value isn't released twice, therefore that the heap contains unique values. My use case would be solved nicely if heappush() took an optional "unique=Fals

[issue18225] ctypes Structure data size is incorrect

2013-06-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You can also use "_pack_ = 1" to override the default alignment rules: http://docs.python.org/3/library/ctypes.html#ctypes.Structure._pack_ -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: I understand that this is a work-around and the intention is to investigate each error in the testsuite on AIX. But currently this bug eventually leads to a timeout in the testsuite and half of the tests are not run. I am trying to get the AIX buildbot runnin

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread R. David Murray
R. David Murray added the comment: Note that it is a known issue that tk (not python's bindings, tk itself) alters the locale. -- ___ Python tracker ___

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread R. David Murray
R. David Murray added the comment: Since this issue has been closed, it would be great if you'd open a new issue just for the doc change. -- ___ Python tracker ___ _

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-17 Thread R. David Murray
R. David Murray added the comment: I don't understand why his keepalive requires the extra spaces...and I'm not 100% sure that accepting them will fix the problem, though in theory it should. I still lean toward making the spaces fix in imaplib, based on the postel principle. I'd prefer to h

[issue18113] Memory leak in curses.panel

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I've attached a new version of the patch that does this check, and also adds > a test. You are right. Your patch LGTM. > (OTOH, looking at the ncurses 5.9 source code, set_panel_userptr() only > returns an error if the panel object is NULL, which should n

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-17 Thread Christian Heimes
Changes by Christian Heimes : -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-b

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-17 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-lis

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38e759e4c9e6 by Christian Heimes in branch 'default': Issue #18147: Add diagnostic functions to ssl.SSLContext(). http://hg.python.org/cpython/rev/38e759e4c9e6 -- nosy: +python-dev ___ Python tracker

[issue18207] OpenSSL may ignore seconds in notAfter

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: Additional versions of OpenSSL may be affected by the issue. We can add these versions whenever we run into the issue again. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63058453a4cc by Serhiy Storchaka in branch '2.7': Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data http://hg.python.org/cpython/rev/63058453a4cc New changeset a48f65bac986 by Serhiy Storchaka in branch '3.3': Issue #18167:

[issue18207] OpenSSL may ignore seconds in notAfter

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c484ca129288 by Christian Heimes in branch 'default': Issue #18207: Fix test_ssl for some versions of OpenSSL that ignore seconds http://hg.python.org/cpython/rev/c484ca129288 -- nosy: +python-dev ___ Pyt

[issue18223] Refactor test_tarfile

2013-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18223] Refactor test_tarfile

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Ezio and Zachary for review. I have included Zachary's patch for issue17689. In addition catching the FileNotFoundError exception used now in test_non_existent_targz_file instead of IOError/OSError + checking errno. -- resolution: -> fixed st

[issue18223] Refactor test_tarfile

2013-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b2188b13dd2 by Serhiy Storchaka in branch '3.3': Issue #18223: Refactor test_tarfile. http://hg.python.org/cpython/rev/4b2188b13dd2 New changeset 5c0816e64aac by Serhiy Storchaka in branch 'default': Issue #18223: Refactor test_tarfile. http://hg.p

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-17 Thread Vinay Sajip
Vinay Sajip added the comment: With the attached patch, python -m test_idle test_logging passes (though test_idle still alters locale and environment). Running python -m idelib.idle, and using IDLE itself for inspection, the warnings.formatwarning is set to the implementation in idlelib.run.

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread STINNER Victor
STINNER Victor added the comment: > test_signal.py wait_helper hangs on AIX. Why does the test hang? I prefer to only skip a test if I understood the issue (when it is not fixable in Python, like a bug in the kernel). -- ___ Python tracker

[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

2013-06-17 Thread Jakub Wilk
Jakub Wilk added the comment: The documentations says "Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though not worth worrying about

[issue17944] Refactor test_zipfile

2013-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When applying first Terry's suggestion I found a bug. self.list_gen was a generator and when self.list_gen used second time it was exhausted. As result, some tests were skipped and a bug with concatenating bytes and '\n' was not exposed. This bug should be

[issue18240] hmac unnecessarily restricts input to "bytes"

2013-06-17 Thread Christian Heimes
Christian Heimes added the comment: Good idea! We can also lift the restriction for ``key`` a bit. It can also take a bytearray as argument. bytearray has translate() and supports bytes + bytearay. -- assignee: -> christian.heimes ___ Python tracke

  1   2   >