[issue13886] readline-related test_builtin failure

2013-01-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: -setlocale(LC_CTYPE, ""); +setlocale(LC_CTYPE, "C"); This looks dangerous to me. Are you sure readline's behavior doesn't change because of this? -- ___ Python tracker __

[issue17055] ftplib.ftpcp test

2013-01-27 Thread Michał Jastrzębski
Michał Jastrzębski added the comment: Hello, Well, I ran coverage.py over this module and it turns out that this method, ftpcp has neighter tests nor docs. Most of ftplib is tested, but this one function was not. -- ___ Python tracker

[issue16997] subtests

2013-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > 1. Easily append data to failure messages coming from a block of asserts > 2. Continue running a test case after a failure from a block of asserts > Both of these seem independently useful and more generally applicable, I don't understand what you mean. 1 is

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: Maybe you should email python-dev. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
Gili T. added the comment: I read http://mail.python.org/pipermail/python-dev/2012-August/121460.html and I believe they are wrong. I have personally run into these problems (each library maintaining its own CRT with separate heaps, file handles, etc) when static linking was used, but when dy

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: Passing CRT objects (like a file handle) across runtime boundaries results in unexpected behavior, which is probably what's happening here. In the past people have mentioned porting 2.7 to VS2010 which would encounter the same issues you're seeing here. Here's a

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
Gili T. added the comment: Hey Brian, I'm curious why mixing different versions of Visual Studio runtimes would result in a problem. I thought you can mix different runtimes so long as: 1. You link against a DLL (as opposed to static linking). 2. You use the same kind of library (debug vs rel

[issue17047] Fix double double words words

2013-01-27 Thread Brian Curtin
Changes by Brian Curtin : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: A more correct way to say my last message is that you'd need to have Python and rhodecode linked to the same runtime, by compiling with the same Visual Studio. If you require VS2012 with Python 2.7, you'll need to port Python on your own and then your setup woul

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: You need to compile rhodecode with VS2008 to match Python 2.7. You'd have this same problem mixing runtimes regardless of rhodecode or Python being involved. -- nosy: +brian.curtin ___ Python tracker

[issue17056] Support Visual Studio 2012

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: This is a feature request and new features are only being added on the 3.x line. The next feature release will be 3.4. -- ___ Python tracker ___

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
Gili T. added the comment: Yes, Visual Studio 2012 is used when installing Rhodecode. I'd love to isolate this further but I don't know anything about Python. I'm just an end-user of Rhodecode. I filed a bug report with the Rhodecode author (asking for help) but I think we can both agree this

[issue17056] Support Visual Studio 2012

2013-01-27 Thread Gili T.
Gili T. added the comment: Why? :) I ask because all the application I depend upon only run against Python 2.x (Rhodecode, Mercurial, etc). I'd love for them to upgrade but it's not really in my control. Has there been some sort of policy change within Python to stop supporting 2.x?

[issue17047] Fix double double words words

2013-01-27 Thread Éric Araujo
Éric Araujo added the comment: Note that sometimes duplicates are actually typos: in http://hg.python.org/cpython/rev/07488c3c85f1/#l4.1 for exemple I think the intent was to write “that the” instead of “the the”. -- nosy: +eric.araujo ___ Python tr

[issue17059] tarfile.is_tarfile without read permissions raises AttributeError

2013-01-27 Thread Damian
New submission from Damian: Hi. While porting a library of mine from python 2.7 to 3.2 I noticed that tarfile.is_tarfile() now raises an AttributeError rather than IOError when it lacks read permissions... atagar@morrigan:~$ touch dummy_file.tar atagar@morrigan:~$ chmod 000 dummy_file.tar ata

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread R. David Murray
R. David Murray added the comment: Is VS2012 actually involved in anything here? Does something get compiled when you install rhodecode? Since it is a third party package, it may be that no one here will volunteer to reproduce this (though it is possible). If you can isolate the failure more

[issue16997] subtests

2013-01-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: After thinking about this more, it seems this lets you do two orthogonal things: 1. Easily append data to failure messages coming from a block of asserts 2. Continue running a test case after a failure from a block of asserts Both of these seem independently us

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: OK, I'm going to close this then. I'll take a look at the links and see if what they say can be included in the HOWTO. As I mentioned in an earlier post I made a few talks about Unicode and encodings, so I will take some material from there too. Depending on t

[issue4153] Unicode HOWTO up to date?

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: As discussed in #13997, the HOWTO should be reorganized to start with a basic introduction and then expand on more advanced topic. See also msg180743 for a couple of essays that could be linked as "see also" or integrated in the HOWTO. -- _

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: Include a couple of "See Also" links out to my essay and Ned's article and that sounds good to me. (Assuming I've adjusted the DNS settings correctly, this alternate URL for my essay should start working soon: http://python-notes.curiousefficiency.org/en/latest

[issue16743] mmap on Windows can mishandle files larger than sys.maxsize

2013-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I missed the Ngb+1 case in your previous answer and agree that this is a bug issue. -- ___ Python tracker ___ _

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Eli Bendersky
Eli Bendersky added the comment: etree's doctest tests are a painful relic of the past, which will hopefully go away one day (issue #15083), at which point conformance to PEP 399 shouldn't be an issue. More generally, and this applies to etree's test too, a lot of trouble is being caused by p

[issue17058] Python crashes with error 0xc0000417

2013-01-27 Thread Gili T.
New submission from Gili T.: Python keeps on crashing with error: The following repro steps are a slight variation of http://packages.python.org/RhodeCode/setup.html. My installation environment is Windows 7, 64-bit, Visual Studio 2012. I doubt the bug is specific to this environment but I'm

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: Some of the exceptions among the modules you listed are: Lib/test/test_warnings.py:420 has a class specific for the C module. Lib/test/json_tests/test_dump.py:34 has an additional test specific for the C module. Lib/test/json_tests/test_speedups.py is specific f

[issue16743] mmap on Windows can mishandle files larger than sys.maxsize

2013-01-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 27/01/2013 9:06pm, Serhiy Storchaka wrote: > Every bugfix breaks some code. As a compromise I propose set > m_obj->size = PY_SSIZE_T_MAX in case of overflow and emit a warning. Trying to allocate PY_SSIZE_T_MAX bytes always seems to fail with WindowsE

[issue16743] mmap on Windows can mishandle files larger than sys.maxsize

2013-01-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 27/01/2013 8:27pm, Terry J. Reedy wrote: > I agree we do not need to retain unpredictable 'dumb luck' -- in > future versions. But in the absence of a clear discrepancy > between doc and behavior (the definition of a bug) I believe > breaking such code in a b

[issue17057] Data model documentation grammar

2013-01-27 Thread Hobs
New submission from Hobs: New-style and old-style class expalanation in the datamodel section has minor grammatical errors and one minor ambiguity that could be improved. http://docs.python.org/2/reference/datamodel.html#new-style-and-classic-classes * "independently of" should always be "inde

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Brett Cannon
Brett Cannon added the comment: I took a closer look at test_datetime and it probably should be using this approach, but because the tests seemed to have been copied from Zope the tests were left as-is and instead the testing approach we have been using was actually forced upon the test module

[issue17056] Support Visual Studio 2012

2013-01-27 Thread Brian Curtin
Brian Curtin added the comment: This change can only happen on 3.4. -- versions: +Python 3.4 -Python 2.7 ___ Python tracker ___ ___ Py

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Brett Cannon
Brett Cannon added the comment: To prevent speculation, the files that mention import_fresh_module are: # Without changes to test classes Lib/test/test_bisect.py: would work if you made the attribute configurable (e.g. self.module instead of self.bisect Lib/test/test_heapq.py: would work Lib/te

[issue17056] Support Visual Studio 2012

2013-01-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Windows nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17056] Support Visual Studio 2012

2013-01-27 Thread Gili T.
New submission from Gili T.: msvc9compiler needs to check for the VS110COMNTOOLS environment variable in order to support Visual Studio 2012. Currently it complains "cannot find vcvarsall.bat". The following workaround works for now: SET VS90COMNTOOLS=%VS110COMNTOOLS% -- components:

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: >> This is also not so uncommon. I think the skip on the accelerated >> version might not be necessary in some situations. > >Then don't use this approach. It doesn't have to apply to every single >test >class in a module. It just needs to help in the simple case

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Brett Cannon
Brett Cannon added the comment: On Sun, Jan 27, 2013 at 3:13 PM, Ezio Melotti wrote: > > Ezio Melotti added the comment: > > Note that while this works for the simple case, it doesn't work whenever > you need additional tests or attributes that are specific for one of the > two classes, Sure it

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: That would work if we use something Brett's proposal, so that we can create a default setUp that raises SkipTest. My comment was about using module = import_fresh_module() directly in the class body of the subclasses as they are currently documented in PEP 399.

[issue17055] ftplib.ftpcp test

2013-01-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: ftplib.ftpcp? What is that? I do not understand what you're trying to test. ftplib test suite is already pretty extended. -- ___ Python tracker

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Eli Bendersky
Eli Bendersky added the comment: > That wouldn't work if there is a skip decorator that checks that the C module is available :) Yes, but that's easily amended with just raising SkipTest in the setUp instead. Not polluting the global namespace has its merits, especially when the import sequence

[issue17055] ftplib.ftpcp test

2013-01-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, giampaolo.rodola stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue17055] ftplib.ftpcp test

2013-01-27 Thread Michał Jastrzębski
New submission from Michał Jastrzębski: Test for ftplib.ftpcp. -- components: Tests files: ftpcp_test.patch keywords: patch messages: 180802 nosy: inc0 priority: normal severity: normal status: open title: ftplib.ftpcp test type: enhancement versions: Python 3.4 Added file: http://bugs.p

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: FWIW, I like Brett's approach much better. Also, I agree with Ezio that "pep399" shouldn't be in the name. -- ___ Python tracker ___ ___

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: That wouldn't work if there is a skip decorator that checks that the C module is available :) -- ___ Python tracker ___ _

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Eli Bendersky
Eli Bendersky added the comment: Brett - you approach is certainly less magical. While you're at it, how about PEP 399 recommending the import_fresh_modules calls not being in the global context, but rather class/instance attributes of the test cases? This is what both yours and Eric's decorat

[issue1145257] shutil.copystat() may fail...

2013-01-27 Thread Petr Prikryl
Petr Prikryl added the comment: Well, it is quite an old event. Anyway, I have fixed the simple example, and launched it on Python 2.6, 2.7, 3.2, 3.3. It does not fail now. But I did not tested it heavily. >From my point of view, it was probably fixed. --

[issue1298835] Add a vendor-packages directory for system-supplied modules

2013-01-27 Thread Trent Nelson
Changes by Trent Nelson : -- nosy: +brian-cameron-oracle, trent ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16743] mmap on Windows can mishandle files larger than sys.maxsize

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Every bugfix breaks some code. As a compromise I propose set m_obj->size = PY_SSIZE_T_MAX in case of overflow and emit a warning. -- ___ Python tracker _

[issue13539] Return value missing in calendar.TimeEncoding.__enter__

2013-01-27 Thread Éric Araujo
Éric Araujo added the comment: Then you can close one bug as duplicate and commit a fix for the other :) -- ___ Python tracker ___ ___

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: If we agree on this, I can propose a patch in #4153 and this issue can be closed. -- ___ Python tracker ___ _

[issue1764286] inspect.getsource does not work with decorated functions

2013-01-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13539] Return value missing in calendar.TimeEncoding.__enter__

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue17049. This is not a theoretical bug. -- nosy: +serhiy.storchaka versions: -Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I basically agree with Ezio. The doc currently starts with Introduction to Unicode History of Character Codes ... It ends with Tips for Writing Unicode-aware Programs. ... The most important tip is: Software should only work with Unicode strings intern

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have picked up it. Actually BINSTRING format supports only strings less 2GiB, so test should be changed. But there are other bugs which prohibit pickling a lot of data. For one I open issue17054. -- dependencies: +cStringIO.StringIO aborted when m

[issue17054] cStringIO.StringIO aborted when more then INT_MAX bytes written

2013-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Isn't is the same as issue7358? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17054] cStringIO.StringIO aborted when more then INT_MAX bytes written

2013-01-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Reproduced on x8 snakebite. % ./python.exe Python 2.7.3+ (2.7:38a10d0778d2+, Jan 27 2013, 20:05:15) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. Could

[issue16743] mmap on Windows can mishandle files larger than sys.maxsize

2013-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: > As Richard explained, this will not break working code, this will break only > broken code If code is both working and broken, for some reasonable meaning of 'working' and 'broken', breaking such broken code *will* break working code. I understood Richard a

[issue15819] Unable to build Python out-of-tree when source tree is readonly.

2013-01-27 Thread Matthias Klose
Matthias Klose added the comment: just saw the comment about .hgtouch in http://bugs.python.org/issue15819#msg169484 attaching a patch for it here (as proposed on python-committers). -- nosy: +doko Added file: http://bugs.python.org/file28874/hgtouch.diff _

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: Note that while this works for the simple case, it doesn't work whenever you need additional tests or attributes that are specific for one of the two classes, or when you have additional base classes. This is also not so uncommon. I think the skip on the accel

[issue17049] calendar throws UnicodeEncodeError when locale is specified

2013-01-27 Thread Ned Deily
Ned Deily added the comment: See also Issue13539. -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue4972] context management support in imaplib, smtplib, ftplib

2013-01-27 Thread Berker Peksag
Berker Peksag added the comment: The patch lacks documentation updates. -- nosy: +berker.peksag title: context managerment support in imaplib, smtplib, ftplib -> context management support in imaplib, smtplib, ftplib ___ Python tracker

[issue17041] Fix tests for build --without-doc-strings

2013-01-27 Thread Stefan Krah
Stefan Krah added the comment: doctests_without_docstrings.patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-01-27 Thread Brett Cannon
Brett Cannon added the comment: OK, let's take a step back here and look at what exactly we are trying to simplify (which is now the updated example in PEP 399):: from test.support import import_fresh_module import unittest c_heapq = import_fresh_module('heapq', fresh=['_heapq'])

[issue17025] reduce multiprocessing.Queue contention

2013-01-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, I tried the Connection approach and here is what I ended up with. -- Added file: http://bugs.python.org/file28873/locked_send_recv.patch ___ Python tracker ___

[issue17025] reduce multiprocessing.Queue contention

2013-01-27 Thread Charles-François Natali
Charles-François Natali added the comment: > I would like to suggest again my idea of doing it in Connection instead, > with new methods (e.g. locked_send and locked_recv). Especially given > it can be useful in user code to have a thread-safe Connection (I'm in > this situation currently). I in

[issue17041] Fix tests for build --without-doc-strings

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Stefan. I got notification about your comments on email and fixed patches. Here is a patch which fixes doctests (for 2.7 only need replace test.support by test.test_support). I'm not sure this is a right way to do conditional doctests. --

[issue17041] Fix tests for build --without-doc-strings

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c0d9d1ce63e by Serhiy Storchaka in branch '2.7': - Issue #17041: Fix testing when Python is configured with the http://hg.python.org/cpython/rev/6c0d9d1ce63e New changeset 241b655c23b6 by Serhiy Storchaka in branch '3.2': Issue #17041: Fix testing

[issue17041] Fix tests for build --without-doc-strings

2013-01-27 Thread Stefan Krah
Stefan Krah added the comment: Right, keeping the cases separate is indeed clearer. Serhiy, in case you are waiting for my "stick to minimal changes" comment to be resolved: People apparently *do* use --without-doc-strings, so the additional code in test_pydoc.py is really fine. -- __

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2013-01-27 Thread Charles-François Natali
Charles-François Natali added the comment: > Charles-François, are you going to finish this before 2.7.4 RC released? The > patch should be updated to address Antoine's comments. No. I don't have access to a 64-bit box, which makes it difficult to write (I don't get compiler warnings) and test.

[issue11729] libffi assembler relocation check is not robust, fails with clang

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9792b27d410 by Stefan Krah in branch '2.7': Issue #11729: Backport commit bff052d9 from libffi upstream in order to fix http://hg.python.org/cpython/rev/b9792b27d410 -- ___ Python tracker

[issue16772] int() accepts float number base

2013-01-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2013-01-27 Thread Ezio Melotti
Ezio Melotti added the comment: Maybe the Unicode HOWTO could be reorganized so that it first introduces the bare minimum and then expands the concepts for whoever wants to know more? Or should we have a "basic" and an "advanced" Unicode HOWTO? -- __

[issue17041] Fix tests for build --without-doc-strings

2013-01-27 Thread R. David Murray
R. David Murray added the comment: Stefan: as Serhiy pointed out, the two parameters control different things. While it may be true that it is *likely* that someone would use both if they use one, it is not guaranteed. I think it is better to keep them separate, since while they are related

[issue15438] document that math.pow is inappropriate for integers

2013-01-27 Thread R. David Murray
R. David Murray added the comment: I don't think it should be .. note, but otherwise it looks fine to me. -- ___ Python tracker ___ __

[issue17051] Memory leak in os.path.isdir under Windows

2013-01-27 Thread Robert Xiao
Robert Xiao added the comment: The PSF form really needs a PDF version. Anyway, 'tis duly submitted. -- ___ Python tracker ___ ___ Pyt

[issue11729] libffi assembler relocation check is not robust, fails with clang

2013-01-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: Okay with me to backport. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue13886] readline-related test_builtin failure

2013-01-27 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- assignee: -> nadeem.vawda resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7 ___ Python tracker __

[issue13886] readline-related test_builtin failure

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12223782031f by Nadeem Vawda in branch '2.7': Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. http://hg.python.org/cpython/rev/12223782031f -- ___ Python tracker

[issue13886] readline-related test_builtin failure

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9774721bfc32 by Nadeem Vawda in branch 'default': Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. http://hg.python.org/cpython/rev/9774721bfc32 -- ___ Python tracker

[issue17053] pydoc should use inspect.signature instead of inspect.getfullargspec

2013-01-27 Thread Ronald Oussoren
New submission from Ronald Oussoren: pydoc currently uses inspect.getfullargspec to determine the signature of a callable when rendering its documentation. It should use inspect.signature instead because that function can work with callables that aren't python functions or methods. Changing p

[issue13886] readline-related test_builtin failure

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c8732049dd5 by Nadeem Vawda in branch '3.3': Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. http://hg.python.org/cpython/rev/5c8732049dd5 -- ___ Python tracker

[issue13886] readline-related test_builtin failure

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf0f450b3299 by Nadeem Vawda in branch '3.2': Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. http://hg.python.org/cpython/rev/cf0f450b3299 -- nosy: +python-dev ___ Python track

[issue16743] mmap on Windows can mishandle files larger than sys.maxsize

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Let's go ahead. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2013-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- type: crash -> enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-li

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Any news? -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15809] IDLE console uses incorrect encoding.

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

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Charles-François, are you going to finish this before 2.7.4 RC released? The patch should be updated to address Antoine's comments. -- ___ Python tracker ___

[issue16447] SEGFAULT when setting type.__name__

2013-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue16445] SEGFAULT when deleting Exception.message

2013-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue17051] Memory leak in os.path.isdir under Windows

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch. Thank you, Robert Xiao. Can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- assignee: -> serhiy.storchaka components: +Extension Modules, Windows -Library (Lib) nosy: +s

[issue7576] Avoid warnings in PyModuleDef_HEAD_INIT

2013-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> PyModuleDef_HEAD_INIT does not explicitly initialize all fields of m_base ___ Python tracker

[issue4972] context managerment support in imaplib, smtplib, ftplib

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Imaplib tests was changed a lot since 3.2. Here is an updated patch. -- nosy: +serhiy.storchaka Added file: http://bugs.python.org/file28871/imaplib_with_2.patch ___ Python tracker

[issue15438] document that math.pow is inappropriate for integers

2013-01-27 Thread Mark Dickinson
Mark Dickinson added the comment: > Anyone wants to suggest a specific wording? How about the attached patch? -- keywords: +patch Added file: http://bugs.python.org/file28870/issue15438.patch ___ Python tracker __

[issue16899] Add support for C99 complex type (_Complex) as ctypes.c_complex

2013-01-27 Thread Mark Dickinson
Mark Dickinson added the comment: Postponing as suggested. -- resolution: -> postponed status: open -> closed ___ Python tracker ___

[issue16772] int() accepts float number base

2013-01-27 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16772] int() accepts float number base

2013-01-27 Thread Mark Dickinson
Changes by Mark Dickinson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16772] int() accepts float number base

2013-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79db70bd3188 by Mark Dickinson in branch 'default': Issue #16772: in int(x, base), non-integer bases must have an __index__ method. http://hg.python.org/cpython/rev/79db70bd3188 -- ___ Python tracker

[issue17049] calendar throws UnicodeEncodeError when locale is specified

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And here is an updated test for 3.x. -- versions: +Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file28869/calendar_locale-3.x.patch ___ Python tracker __

[issue17049] calendar throws UnicodeEncodeError when locale is specified

2013-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for report and suggestion, Robert Xiao. The patch should be a little more complex however. -- keywords: +patch nosy: +rhettinger, serhiy.storchaka stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file28868/calend

[issue17052] unittest discovery should use self.testLoader

2013-01-27 Thread Chris Jerdonek
New submission from Chris Jerdonek: The _do_discovery() method of unittest.TestProgram: def _do_discovery(self, argv, Loader=loader.TestLoader): (from http://hg.python.org/cpython/file/2cf89e2e6247/Lib/unittest/main.py#l222 ) should be using self.testLoader instead of loader.TestLoader. I

[issue17051] Memory leak in os.path.isdir under Windows

2013-01-27 Thread Robert Xiao
New submission from Robert Xiao: [From http://stackoverflow.com/questions/12648737/huge-memory-leak-in-repeated-os-path-isdir-calls] os.path.isdir() leaks memory under Windows in Python 2.7. The core cause is this snippet: Modules/posixmodule.c:4226: if (!PyArg_ParseTuple(args, "et:_isdir

[issue17048] calendar should understand full- vs. half-width characters

2013-01-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Add functions to get the width in columns of a character ___ Python tracker ___ ___ Py

  1   2   >