[issue13451] sched.py: speedup cancel() method

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Giampaolo, Raymond? What are your opinions? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5411] Add xz support to shutil

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 3.4 beta 1 will be soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19079] chameleon benchmark fails on 3.4

2013-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19264] subprocess.Popen doesn't support unicode on Windows

2013-10-14 Thread Peter Graham
New submission from Peter Graham: On Windows, subprocess.Popen requires the executable name and working directory to be ascii. This is because it calls CreateProcess instead of CreateProcessW. -- components: Library (Lib), Unicode, Windows messages: 199976 nosy: ezio.melotti, peter0 pr

[issue19079] chameleon benchmark fails on 3.4

2013-10-14 Thread Stefan Behnel
Stefan Behnel added the comment: This commit conflicts with the patch for issue #19108 and breaks benchmarking in Py3 (at least for me). Traceback (most recent call last): File "perf.py", line 2538, in main(sys.argv[1:]) File "perf.py", line 2481, in main base_cmd_prefix, changed_c

[issue2919] Merge profile/cProfile in 3.n+1

2013-10-14 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Let's close this. There is no point keeping this languishing any further. The profile and cProfile modules are different enough that we can't merge them without breaking compatibility. They should treated as two separate profilers. Maybe in the future we

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Guido van Rossum
Guido van Rossum added the comment: Found the cause of the ssl test failure -- the location of the ssl test key and cert are different. Here's a new patch with a quick fix (#4), but I think the correct solution is to either have the certificates inline in the source and write them to a temp f

[issue19260] "int" comment in marshal.c is outdated

2013-10-14 Thread Larry Hastings
Larry Hastings added the comment: Martin: The code is not statically type-safe, but it is mechanically safe, which I think is why you wrote the comment in the first place. The return value of fread() is size_t, but the "read" variable is Py_ssize_t. So the function *could* theoretically retur

[issue4965] Can doc index of html version be separately scrollable?

2013-10-14 Thread Ezio Melotti
Ezio Melotti added the comment: I've looked into it, and I found that: 1) the scroll event can be triggered dozens of times per second; 2) sidebarwrapper.css(...) causes a browser repaint/reflow, which is slow; Optimizing the function doesn't seem like a good solution, so I tried to throttle it

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2013-10-14 Thread Tyler B
Tyler B added the comment: Looked at the code and found differences between 3.4 and 2.7. 2.7 has 3 exceptions that can be raised while 3.4 has 4 exceptions. I propose removing the "list of parameters" from the documenation to keep things simple and not repeat the code. # 2.7 "Raises an exce

[issue16938] pydoc confused by __dir__

2013-10-14 Thread Ethan Furman
Ethan Furman added the comment: Ronald, if you get a chance could you try your descriptor, without the __objclass__ work around, with the latest patch in #19030? -- ___ Python tracker _

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: BTW, everything I've read (including the MSDN page I linked to) says that the LFH is enabled _by default_ starting in Windows Vista (which I happen to be using). So unless Python does something to _disable_ it (I don't know), there's nothing to try here. ---

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: @haypo, I'm not sure what you mean by "the low fragmentation allocator". If it's referring to this: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366750(v=vs.85).aspx it doesn't sound all that promising for this failing case. But, sure, someone shou

[issue19263] enum.py : Enum.__new__(). __objclass__

2013-10-14 Thread Ethan Furman
Ethan Furman added the comment: It was originally put in to help inspect.classify_class_attrs, but recent subsequent changes (not yet committed, issue19030), make it unnecessary. Whether or not it stays depends on the changes to inspect being committed. -- assignee: -> ethan.furman _

[issue16310] zipfile: allow surrogates in filenames

2013-10-14 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Guido van Rossum
Guido van Rossum added the comment: OK, here's a new patch that includes tests. To run the tests, I use: ./python.exe Lib/test/regrtest.py --fromfile Lib/test/test_asyncio/tests.txt --verbose There are a total of 4 individual test failures, all having to do with SSL: ssl.SSLEOFError: EOF oc

[issue19263] enum.py : Enum.__new__(). __objclass__

2013-10-14 Thread CliffM
New submission from CliffM: Is the assignment __objclass__ = enum_class in enum.py(149) needed ? I cannot find any other reference to it (even Google) and it seems that __class__ is already set to enum_class : enum_member.__objclass__ = enum_class < not sure what this is doing > I have

[issue10614] ZipFile: add a filename_encoding argument

2013-10-14 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue10972] zipfile: add "unicode" option to the force the filename encoding to UTF-8

2013-10-14 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue10757] zipfile.write, arcname should be allowed to be a byte string

2013-10-14 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > asyncio/test/*_test.py > asyncio/test/test_*.py > test/test_asyncio/ Personally I have a preference for test/test_asyncio/test_*.py, because putting all tests in test/ makes them easier to find. However, other packages such as unittest have their dedicated te

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Guido van Rossum
Guido van Rossum added the comment: What I need help with most right now is a suggestion of where the unittests should go. There are too many of them to all put in one file. Some options: asyncio/test/*_test.py asyncio/test/test_*.py test/test_asyncio/ What's the best current practice? (I als

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread STINNER Victor
STINNER Victor added the comment: I tried jemalloc on Linux which behaves better than the (g)libc on the RSS ans VMS memory. I know that Firefox uses it on Windows (and maybe also Mac OS X). It may be interesting to try it and/or provide something to use it easily. -- __

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread STINNER Victor
STINNER Victor added the comment: > Anyway, since "the problem" has been produced with a simple pure C program, I think we need to close this as "wont fix". Can someone try the low fragmentation allocator? -- ___ Python tracker

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Guido van Rossum
Guido van Rossum added the comment: Here's an updated patch that doesn't botch the selectors imports. -- keywords: +patch Added file: http://bugs.python.org/file32125/asyncio2.patch ___ Python tracker _

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: @sbt, excellent! Happens for me too: trying to allocate a 1MB block fails after running ugly_hack() once. That fits the symptoms: lots of smaller, varying-sized allocations, followed by free()s, followed by a "largish" allocation. Don't know _exactly_ which l

[issue1772673] Replacing char* with const char*

2013-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue18919] Unify audio modules tests

2013-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: If you need help with docs, let me know. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: Add asyncio (tulip, PEP 3156) to stdlin -> Add asyncio (tulip, PEP 3156) to stdlib ___ Python tracker ___ ___

[issue4965] Can doc index of html version be separately scrollable?

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please make a scrolling more smooth? Or at least optional. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue19262] Add asyncio (tulip, PEP 3156) to stdlin

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: (massaging, probably) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19262] Add asyncio (tulip, PEP 3156) to stdlin

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: It will probably need some messaging to integrate the Windows overlapped stuff? -- nosy: +sbt ___ Python tracker ___ ___

[issue19262] Add asyncio (tulip, PEP 3156) to stdlin

2013-10-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19262] Add asyncio (tulip, PEP 3156) to stdlin

2013-10-14 Thread Guido van Rossum
New submission from Guido van Rossum: I'll add the tests next. The plan is to get this in the next (last) alpha release. -- messages: 199953 nosy: gvanrossum, larry, pitrou priority: release blocker severity: normal stage: patch review status: open title: Add asyncio (tulip, PEP 3156)

[issue19252] Enum.py : Enum.__new__() : Test Coverage

2013-10-14 Thread Ethan Furman
Ethan Furman added the comment: Well, I would say it's half a coverage issue, half a guard against accidental deletion of the if test. :) -- ___ Python tracker ___

[issue15613] argparse ArgumentDefaultsHelpFormatter interacts badly with --arg and nargs=+

2013-10-14 Thread paul j3
paul j3 added the comment: Looks like this behavior is intentional. This subclass adds a '%(default)s' string to the help lines if: if '%(default)' not in action.help: if action.default is not SUPPRESS: defaulting_nargs = [OPTIONAL, ZERO_OR_MORE] if action.o

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Richard Oudkerk
Richard Oudkerk added the comment: After running ugly_hack(), trying to malloc a largeish block (1MB) fails: int main(void) { int first; void *ptr; ptr = malloc(1024*1024); assert(ptr != NULL);/* succeeds */ free(ptr); first = ugly_hack(); ptr = malloc(1024

[issue19252] Enum.py : Enum.__new__() : Test Coverage

2013-10-14 Thread CliffM
CliffM added the comment: Yes it's purely a coverage issue. I must try to be more explicit (rather than implicit). -- ___ Python tracker ___ ___

[issue1772673] Replacing char* with const char*

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch synchronized with tip. -- Added file: http://bugs.python.org/file32124/const_char_3.patch ___ Python tracker ___ _

[issue4965] Can doc index of html version be separately scrollable?

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7ebe03fa752 by Ezio Melotti in branch '2.7': #4965: Implement intelligent scrolling of the sidebar in the docs. http://hg.python.org/cpython/rev/d7ebe03fa752 -- ___ Python tracker

[issue19079] chameleon benchmark fails on 3.4

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e40042a7788c by Georg Brandl in branch 'default': Closes #19079: add VersionRange decorator to benchmark suite to mark compatible Python versions. http://hg.python.org/benchmarks/rev/e40042a7788c -- nosy: +python-dev resolution: -> fixed s

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19236] Add Tornado HTTP benchmark

2013-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: Just to be sure, I tried under current default (3.4.0a3+). Same behavior. -- ___ Python tracker ___ ___

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > @pitrou, maybe, but seems very unlikely. As explained countless times > already ;-), Indeed, a 32-bit counter would already have overflowed :-D You're right that's very unlikely. -- ___ Python tracker

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: @pitrou, maybe, but seems very unlikely. As explained countless times already ;-), PyMalloc allocates few arenas in the test program. "Small objects" are relatively rare here. Almost all the memory is consumed by strings of ever-increasing length. PyMalloc pas

[issue17294] compile-flag for single-execution to return value instead of printing it

2013-10-14 Thread Albert Zeyer
Albert Zeyer added the comment: I don't know that I have an expression and I want it also to work if it is not an expression. Basically I really want the 'single' behavior. (My not-so-uncommon use case: Have an interactive shell where the output on stdout does not make sense. Also I might want

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, in Python 3.4 arena allocation is done using VirtualAlloc and VirtualFree, that may make a difference too. -- ___ Python tracker __

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: @Esa.Peuha, fine idea! Alas, on the same box I used before, uglyhack.c displays (it varies a tiny amount from run to run): 65198 65145 99.918709% So it's not emulating enough of Python's malloc()/free() behavior to trigger the same kind of problem :-( -

[issue18096] bad library order returned by python-config.in

2013-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Build, Demos and Tools nosy: +dmalcolm, doko stage: -> patch review versions: +Python 3.4 ___ Python tracker ___

[issue19260] "int" comment in marshal.c is outdated

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1309fee48908 by Antoine Pitrou in branch 'default': Close #19260: remove outdated comment in marshal.c http://hg.python.org/cpython/rev/1309fee48908 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> clo

[issue18919] Unify audio modules tests

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset de1f62a55648 by Serhiy Storchaka in branch '2.7': Issue #18919: Add test/audiodata to LIBSUBDIRS. http://hg.python.org/cpython/rev/de1f62a55648 New changeset 865bab7387f2 by Serhiy Storchaka in branch '3.3': Issue #18919: Add test/audiodata to LIBSU

[issue18102] except-clause with own exception class inside generator can lead to confusing warning on termination

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: While this is easy to reproduce under 3.3, it doesn't happen anymore under 3.4. Given how tricky it would be to fix it under 3.3 (IMO), I prefer to close the bug. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed versi

[issue19246] freeing then reallocating lots of memory fails under Windows

2013-10-14 Thread Tim Peters
Tim Peters added the comment: @haypo, this has nothing to do with PyMalloc. As I reported in my first message, only 7 PyMalloc arenas are in use at the end of the program, less than 2 MB total. *All* other arenas ever used were released to the OS. And that's not surprising. The vast bulk of

[issue19228] type.__qualname__ should not strip the module name

2013-10-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue10292] tarinfo should use relative symlinks

2013-10-14 Thread Benjamin Root
Benjamin Root added the comment: To clarify, the bug is resolved in py2.7 -- for the most part. I think I have come upon an edge-case where if the archived symbolic link refers to a file not contained in a subdirectory, say: "foo.txt -> foobar.txt", extracting "foo.txt" would result in an exce

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-14 Thread Ethan Furman
Ethan Furman added the comment: Updated tests now passing. Will commit Thursday, or Friday at the latest. -- stage: -> patch review Added file: http://bugs.python.org/file32123/issue19030.stoneleaf.05.patch ___ Python tracker

[issue8507] abc.abstractproperty does not copy docstring

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Confirmed; this appears fixed. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue18919] Unify audio modules tests

2013-10-14 Thread Ned Deily
Ned Deily added the comment: The new tests fail when run from an installed Python. You also need to add all of the new test directories to LIBSUBDIRS for the libinstall target in Makefile.pre.in. -- nosy: +ned.deily ___ Python tracker

[issue9170] zipfile cannot read AES encrypted files

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: #8998 has been closed (among others due to legal concerns), so this need not be kept open. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker _

[issue10292] tarinfo should use relative symlinks

2013-10-14 Thread Benjamin Root
Benjamin Root added the comment: What was the issue number for the python2.7 fix? I think I have hit upon this issue myself and I need to see if I need to file a new report. -- nosy: +Benjamin.Root ___ Python tracker

[issue16938] pydoc confused by __dir__

2013-10-14 Thread Ethan Furman
Ethan Furman added the comment: Discovered a problem with one of the tests, moved back to issue19030. The __class__/__objclass__ is gone, the code is simpler. When issue19030 is committed I think we can make a doc change to include __objclass__ somewhere and close this one. -- stage:

[issue18919] Unify audio modules tests

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > In 3.x we removed that check. But I wonder if that was wise :) (We did it > for technical reasons when adding other features to regrtest). Actually the checks left, but there was no check for warning message. Now they are added. > Some new (I assume) Re

[issue18919] Unify audio modules tests

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd7752db1e54 by Serhiy Storchaka in branch '2.7': Issue #18919: Fixed resource leaks in audio tests. http://hg.python.org/cpython/rev/fd7752db1e54 New changeset 2850fc02f324 by Serhiy Storchaka in branch '3.3': Issue #18919: Fixed resource leaks in

[issue18919] Unify audio modules tests

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 164a60cce934 by Serhiy Storchaka in branch '2.7': Issue #18919: Catch and check warnings in the aifc module tests. http://hg.python.org/cpython/rev/164a60cce934 New changeset 9eecd00ffc28 by Serhiy Storchaka in branch '3.3': Issue #18919: Check warn

[issue18521] [cppcheck] Full report

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Closing this one as Fixed, then. Thanks everybody. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue18521] [cppcheck] Full report

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: > Shouldn't converttuple() in getargs.c set "levels[1] = 0;" after second > "levels[0] = i+1;"? I think it is fine, since convertitem() or converttuple() called from convertitem() will set their levels[0] (which is levels[1] in the original context) to zero on

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-14 Thread Ethan Furman
Ethan Furman added the comment: Updated and renamed the DynamicClassAttribute tests, and discovered that classify_class_attrs is not handling instance portion correctly. class Meta(type): def __getattr__(self, name): if name == 'ham': return 'spam'

[issue19261] Add support for 24-bit in the sunau module

2013-10-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a simple patch which adds support for writing 24-bit samples in the sunau module. Actually the sunau module already supports reading 24-bit samples and AUDIO_FILE_ENCODING_LINEAR_24 mentioned as supported encoding. So perhaps this should be consid

[issue19082] Lib/xmlrpc/client.py demo code points to the dead server

2013-10-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sounds good.I shall update patch (.rstify the security warning). Thank you! -- ___ Python tracker ___

[issue18919] Unify audio modules tests

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Some new (I assume) ResourceWarnings from test_wave: /home/gbr/devel/python/Lib/unittest/case.py:571: ResourceWarning: unclosed file <_io.BufferedWriter name='@test_1974_tmp'> testMethod() /home/gbr/devel/python/Lib/chunk.py:61: ResourceWarning: unclosed file

[issue18758] Fix internal references in the documentation

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Thank you for all the effort you put into this! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1575020] Request wave support > 16 bit samples

2013-10-14 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue1575020] Request wave support > 16 bit samples

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Serhiy, you're welcome to set issues to pending, but please don't forget to close them after a certain time... -- status: pending -> open ___ Python tracker __

[issue11471] If without else generates redundant jump

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Yep :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue1575020] Request wave support > 16 bit samples

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently 24-bit wave files are supported at least in 2.7, 3.3, and 3.4 (there are tests for this). The audioop module yet not supports 24-bit data, but this is another issue. -- dependencies: -Add support for 24-bit samples in the audioop module re

[issue19253] PyArg_ParseTuple: wrong use of seterror() clips helpful type error annotation

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Issue #6624 wasn't an issue, it should have been "closed-invalid" :) But you're right, a test case is needed, see new patch. -- Added file: http://bugs.python.org/file32121/seterror_fix_2.patch ___ Python tracker

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I tested 2.6, 2.7, 3.2, 3.3, and 3.4. All of them read and write 24b48k.aif. Currently 2.7, 3.3, and 3.4 have tests for 24-bit aifc files. Seems this issue is not more actual. -- dependencies: -Add support for 24-bit samples in the audioop module re

[issue11471] If without else generates redundant jump

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Just for the record, have you passed the whole test suite after cleaning up the pyc files, -- ___ Python tracker ___ __

[issue18919] Unify audio modules tests

2013-10-14 Thread R. David Murray
R. David Murray added the comment: In 2.7 unexpected output is a test failure, yes. In 3.x we removed that check. But I wonder if that was wise :) (We did it for technical reasons when adding other features to regrtest). Yes, using captured_stdout and checking for the expected warnings would

[issue11471] If without else generates redundant jump

2013-10-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: lgtm -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue11471] If without else generates redundant jump

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Updated patch with test suite update. -- Added file: http://bugs.python.org/file32120/if_else_nojump_2.patch ___ Python tracker ___ __

[issue17765] weakref.ref ignores a 'callback' keyword argument

2013-10-14 Thread Georg Brandl
Changes by Georg Brandl : Added file: http://bugs.python.org/file32119/no_weakref_kwargs_2.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue17765] weakref.ref ignores a 'callback' keyword argument

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Good point, that is pointless in __init__(). -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18209] Bytearray type not supported as a mutable object in the fcntl.ioctl function

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Agreed. This is not really a bugfix. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ __

[issue19260] "int" comment in marshal.c is outdated

2013-10-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19260] "int" comment in marshal.c is outdated

2013-10-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: I agree that the comment can be removed. If the code is (now) statically type-safe, there is no point in keeping it. -- nosy: +loewis ___ Python tracker _

[issue12866] Add support for 24-bit samples in the audioop module

2013-10-14 Thread Peder Jørgensen
Peder Jørgensen added the comment: This is great! My brother did a few more updates to it and added support for endian conversion, and i've been using it a lot with out any problems, but i must admit your patch looks a lot cleaner Serhiy. Great work. Can't wait to test it. This is going to be

[issue19260] "int" comment in marshal.c is outdated

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the comment should actually be removed, it's just pointless. -- nosy: +pitrou ___ Python tracker ___ _

[issue17765] weakref.ref ignores a 'callback' keyword argument

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why the PyWeakref_Check() in your patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18209] Bytearray type not supported as a mutable object in the fcntl.ioctl function

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: It doesn't work in 2.7 because bytearray only supports the new buffer API (which is more secure), not the old one. I don't think it's worth trying to fix at this point, so I'm tempted to close as won't fix. -- nosy: +georg.brandl _

[issue18068] pickle + weakref.proxy(self)

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think weakref objects are meant to be picklable at all. At least there's no support code for that, so pickling weak proxies only works by chance. -- nosy: +alexandre.vassalotti type: behavior -> enhancement versions: +Python 3.4 -Python 2.6, Pyt

[issue19138] doctest.IGNORE_EXCEPTION_DETAIL doesn't match when no detail exists

2013-10-14 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19258] Got resource warning when running wsgiref demo app

2013-10-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset f1e66ef64d17 by Georg Brandl in branch '3.3': Closes #19258: close WSGI server after handling request in demo code. http://hg.python.org/cpython/rev/f1e66ef64d17 New changeset 64a1e224042e by Georg Brandl in branch '2.7': Closes #19258: close WSGI s

[issue12866] Add support for 24-bit samples in the audioop module

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there are no objections I will commit this. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue19258] Got resource warning when running wsgiref demo app

2013-10-14 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19260] "int" comment in marshal.c is outdated

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: The "rXXX" notation is reserved for SVN revision numbers, which are unambiguous. The revision numbers in Mercurial are specific to each clone. Other than that, LGTM. -- nosy: +georg.brandl ___ Python tracker

[issue17765] weakref.ref ignores a 'callback' keyword argument

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: See attached patch, it handles this like all other builtins that don't support keyword arguments in their constructor. -- keywords: +patch nosy: +georg.brandl, pitrou versions: +Python 2.7, Python 3.3 Added file: http://bugs.python.org/file32118/no_weakre

[issue2919] Merge profile/cProfile in 3.n+1

2013-10-14 Thread Georg Brandl
Georg Brandl added the comment: Last desperate ping for 3.4? -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing

  1   2   >