[issue9617] Buffered IO shouldn't ignore incoming signals during a partial write

2010-08-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Issue fixed in r84239 (trunk), r84240 (2.7) and r84241 (3.1). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue3710] Reference leak in thread._local

2010-08-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Of course, I'd be all for changing local_getattro/local_setattro > to not need _ldict to make that guarantee! _ldict always *returns* > the correct pointer; it would be nice to make use of that somehow. Indeed. Therefore, perhaps we could bre

[issue1868] threading.local doesn't free attrs when assigning thread exits

2010-08-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: The original patch won't apply anymore, because of changes in the thread._local implementation. Instead, here is a new patch, which also adds tests for the __dict__ behaviour, and two new private API functions: _PyObject_Generic{Get,Set}AttrWithDict.

[issue3710] Reference leak in thread._local

2010-08-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, then let's continue in #1868. -- resolution: -> duplicate status: open -> closed superseder: -> threading.local doesn't free attrs when assigning thread exits ___ Python tracker <

[issue1868] threading.local doesn't free attrs when assigning thread exits

2010-08-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: It should be noted that the original reason for this issue is already gone in SVN (as part of the reimplementation alluded to above), but the timing fragility is still there since there can be a thread switch between the moment the "dict" member

[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue7415> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1027206] unicode DNS names in socket, urllib, urlopen

2010-08-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue1027206> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9657] Add circular imports test

2010-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It would be good if the test timed out rather than deadlocking in the > face of a broken import lock. I could do that indeed. I'm not sure it would be much better, though, because the lock will still be held and posterior tests may freeze m

[issue9251] Test for the import lock

2010-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Was I meant to still be looking at mtimport or threadimp, or have both > of those been applied? threadimp has already been committed. As for mtimport, I'll try to refactor it into a prope

[issue9251] Test for the import lock

2010-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: The new patch was committed in r84258, thanks Nick. -- ___ Python tracker <http://bugs.python.org/issue9251> ___ ___ Python-bug

[issue9251] Test for the import lock

2010-08-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file17995/threadimp.patch ___ Python tracker <http://bugs.python.org/issue9251> ___ ___ Python-bugs-list m

[issue9251] Test for the import lock

2010-08-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18003/threadimp2.patch ___ Python tracker <http://bugs.python.org/issue9251> ___ ___ Python-bug

[issue9251] Test for the import lock

2010-08-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18605/issue9251_threadimp_py3k_head.patch ___ Python tracker <http://bugs.python.org/issue9

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file17828/tofrombytes.diff ___ Python tracker <http://bugs.python.org/issue8990> ___ ___ Python-bug

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: >From a quick glance, the latest patch looks ok. -- ___ Python tracker <http://bugs.python.org/issue8990> ___ ___ Python-

[issue9657] Add circular imports test

2010-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Nick! I've committed the patch in r84268 (py3k) and r84269 (3.1). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.1 ___ Python

[issue9632] Remove sys.setfilesystemencoding()

2010-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > >> Think of e.g. embedded Python interpreters or py2exe-style applications > >> running on Linux or other systems that don't use Unicode APIs > >> for FS-interaction or have fixed FS-encodings. > > > > Wha

[issue6822] Error calling .storlines from ftplib

2010-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But I can tell you that I've never had another FTP program fail like > Python 3 is failing for me trying to what seems like a simple transfer > of a text file (expecting the line endings to be adjusted). Python 3 is not failing, you are jus

[issue9672] test_xpickle fails on Windows: invokes pythonx.y instead of pythonxy

2010-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is not a failure, it just indicates that the tests get skipped. While I agree that ideally the tests should be able to run on all systems, it should also be noted that the pickle protocols are (supposed to be) platform-agnostic and, therefore, it is not

[issue1868] threading.local doesn't free attrs when assigning thread exits

2010-08-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Gregory. I've committed the patch in r84344 (py3k), r84345 (3.1) and r84346 (2.7). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http:

[issue9707] Reworked threading.local reference implementation

2010-08-28 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is a reworked reference implementation of _threading_local without the __del__ quirks. The _patch() ugliness is unfortunately still needed because of a doctest checking that derived __slots__ attributes aren't actually thread-local. Note that

[issue4835] SIZEOF_SOCKET_T not defined

2010-08-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r84347 (py3k) and r84348 (3.1). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker <http://bugs.python.o

[issue9706] ssl errors checking

2010-08-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > SSLError: _ssl.c:296: Both the key & certificate files must be > specified for server-side operation > > I would change this behavior in SSLSocket constructor and raise > ValueError if server_side is True and certfile is None. Good

[issue9706] ssl errors checking

2010-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The only idea which comes to mind is try to open() the file before calling > load_cert_chain(). > That would automatically also take care of permission errors, etc.. > Not very clean, but... :-\ It's vulnerable to various issues such as rac

[issue9706] ssl errors checking

2010-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > >>> ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23) > >>> ctx.wrap_socket(socket.socket(), server_side=1) > > >>> > > I'm not sure how to raise ValueError("certfile must be specified") > here as SSL

[issue9706] ssl errors checking

2010-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > @Antoine: ok, thanks. > > This is now committed in r84352. I don't think it's ok to test for the IOError message ("No such file"), because it comes from the OS and can therefore change from platform to platform. Instead, you

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is an improvement patch for the :mod:`io` documentation. It adds an user-friendly overview, and makes a couple of other fixes/improvements. There's a problem where I want to make a link to a glossary term while using the plural form ("abs

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18679/iodoc.patch ___ Python tracker <http://bugs.python.org/issue9715> ___ ___ Python-bugs-list m

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file18680/iodoc.patch ___ Python tracker <http://bugs.python.org/issue9715> ___ ___ Python-bugs-list mailin

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, committed in r84357 (py3k) and r84358 (3.1). Backporting to 2.7 would be too much work. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -P

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > "The default mode is ``'r'`` (open for reading text, synonym of > ``'rt'``)". I liked the original wording better. Well, people use "r" in practice, and "rt" is a somewhat rarer a

[issue9715] io doc improvements

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > File I/O and memory I/O would have more uniform in their APIs and thus be > easier to document, describe and use. Currently, one class is used to do > file I/O. That's wrong. Various classes are used for file I/O: FileIO, Buffered{Reader

[issue9700] semaphore errors on AIX 6.1

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed in r84366 (py3k), r84367 (3.1), r84368 (2.7). Thanks for your contribution! -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.6, P

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Good catch. keyfile without certfile should be forbidden, and raise a ValueError. -- components: +Library (Lib) stage: -> needs patch type: -> behavior versions: +Python 3.2 ___ Python tracker

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Not really, but in previous versions it would fail as soon as you try to connect: >>> s = ssl.wrap_socket(socket.socket(), keyfile="XXX") >>> s.connect(("svn.python.org", 443)) Traceback (most recent call last): File

[issue1351020] PythonD DJGPP-specific patch set for porting to DOS.

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think there's any point in including DJGPP support in the Python tree (DJGPP targets MS-DOS, which is completely marginal today). Furthermore, the patch has no chance of applying cleanly on the current source tree. I would suggest t

[issue9693] asynchat push_callable() patch

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some comments: - the signature in the doc is not the same as in the code: (fun, args, kwds) instead of (fun, *args, **kwds) - I don't understand what _Callable is used for; why not just a tuple? (or a function if you prefer) - if you use _Callable, the

[issue9718] Python Interpreter Crash

2010-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: This seems to be a pyodbc problem, you should post the issue to them. When an extension module written in C (pyodbc.so) has an issue, there's nothing Python can do to prevent it from crashing the whole process, since C is an insecure lan

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch shouldn't remove the tests for tostring()/fromstring() (they might be deprecated, but they are still supported). -- ___ Python tracker <http://bugs.python.org/i

[issue941346] AIX shared library fix

2010-08-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: In dynamic builds, there seem to be lots of messages such as: ld: 0711-224 WARNING: Duplicate symbol: .PyLong_FromString ld: 0711-224 WARNING: Duplicate symbol: PyLong_FromString Are you sure this is normal? In any case, if you find a way to cleanup

[issue9693] asynchat push_callable() patch

2010-08-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > - why override __bool__?? > > I did that for performance. > Considering that initiate_send() method is called many times, and that > it is almost always used to send data rather than firing functions I > wanted to avoid to call isinst

[issue9729] Unconnected SSLSocket.{send, recv} raises TypeError: 'member_descriptor' object is not callable

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that 3.x will give you the expected error message: >>> s = socket.socket() >>> wrapped = ssl.wrap_socket(s) >>> wrapped.recv(1) Traceback (most recent call last): File "", line 1, in File "/home/antoine/p

[issue3101] global function _add_one_to_index_C

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've added a "_Py" prefix in r84391, and also made the `shape` argument const. If numpy people want this to be an official public API, they'll have to contribute. Thanks. -- resolution: -> fixed stage: -> committed/rejec

[issue9732] Addition of getattr_static for inspect module

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 on the principle. This could help things like pydoc, especially on modern Web frameworks which do incredibly ugly things (per-thread global variables, descriptors executing tons of code etc.). -- nosy: +pitrou

[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue9549> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure which commit it is, but test_ssl has started failing on some buildbots: == ERROR: test_errors (test.test_ssl.BasicSocket

[issue5506] io.BytesIO doesn't support the buffer protocol

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thinking about it, I'm not sure this would be a good idea to do this by default. There is an ambiguity where it's not obvious if the buffer would contain the whole data or only the bytes after the current position. I think perhaps an expli

[issue9711] ssl.SSLSocket's keyfile argument seems to be ignored if specified without certfile

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, it started failing exactly after r84352 (issue #9706). -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9706] ssl errors checking

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some buildbots have started failing exactly after this commit: == ERROR: test_errors (test.test_ssl.BasicSocketTests

[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed in r84394 (py3k) and r84396 (3.1). Thank you Stefan! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python track

[issue8685] set(range(100000)).difference(set()) is slow

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I would consider reviewing and possibly apply this change, but I don't > want to invade anyone's territory. I don't think there would be any invasion. I think the patch is simple enough, and seems to p

[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Done in r84397. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker <http://bugs.python.o

[issue9735] cheatsheet outdated

2010-09-01 Thread Antoine Pitrou
New submission from Antoine Pitrou : The Misc/cheatsheet file is totally outdated (the title “Python 2.3 Quick Reference” already gives you a hint). It is also not clear if it is meant for plain text viewing, or should be formatted using an external program... -- assignee: d...@python

[issue9733] Can't iterate over multiprocessing.managers.DictProxy

2010-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> jnoller nosy: +jnoller stage: -> needs patch type: -> behavior versions: +Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker <http://bugs.python.o

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: It is certainly still a problem with 3.x, but I don't find a way to exhibit it here. -- nosy: +pitrou versions: +Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/i

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patches were committed in r84403. Thank you very much! -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python track

[issue9737] Del on memoryview crashes CPython

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nice catch, thank you. I've fixed it in r84408 (py3k), r84410 (3.1) and r84411 (2.7). -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/i

[issue9737] Del on memoryview crashes CPython

2010-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 ___ Python tracker <http://bugs.python.o

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

2010-09-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you think you could provide a patch? -- nosy: +orsenthil, pitrou stage: -> needs patch versions: -Python 3.3 ___ Python tracker <http://bugs.python.org/iss

[issue1673007] urllib2 requests history + HEAD support

2010-09-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: New features can only go in 3.2. From a quick look, the patch looks ok. -- nosy: +pitrou versions: -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issue1673

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : Similar to assertRaises and assertRaisesRegexp, unittest should provide assertWarns and assertWarnsRegexp, to check that a given callable (or piece of code) triggers a particular warning. Currently, you have to do that manually using a mixture of

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: The __warningregistry__ stuff looks horrible. -- ___ Python tracker <http://bugs.python.org/issue9754> ___ ___ Python-bug

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. The approach is different from support.check_warnings(), and tries to mimic assertRaises* instead. -- keywords: +patch Added file: http://bugs.python.org/file18727/assertwarns.patch ___ Python

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: There was some dead code in the patch. -- Added file: http://bugs.python.org/file18728/assertwarns.patch ___ Python tracker <http://bugs.python.org/issue9

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18727/assertwarns.patch ___ Python tracker <http://bugs.python.org/issue9754> ___ ___ Python-bug

[issue9757] Add context manager protocol to memoryviews

2010-09-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : This adds the context manager protocol to memoryview objects, as proposed on python-dev. Once the `with` block has finished, the underlying buffer is released and any operation on the memoryview raises a ValueError. -- components: Interpreter Core

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: +#undef HAVE_USABLE_CHAR_T Isn't it HAVE_USABLE_WCHAR_T? +struct PY_UNICODE_STRUCT; +typedef struct PY_UNICODE_STRUCT Py_UNICODE_STRUCT; +#define Py_UNICODE Py_UNICODE_STRUCT Why not simply `typedef struct PY_UNICODE_STRUCT Py_UNICODE`?

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Patch looks good. However tests do not pass with -Werror (while test_warnings > and others pass). > > > Is there a way to catch multiple warnings on a single logical line? I thought we could beef up the API with additional arguments. That

[issue9754] assertWarns and assertWarnsRegexp

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Why not accepting a tuple of warnings? It already does (and there's a test!). > That doesn't make sense for assertWarnsRegexp of course. True. -- ___ Python tracker <http://bugs.p

[issue5506] io.BytesIO doesn't support the buffer protocol

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch implementing getbuffer(), together with tests. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file18731/bytesiobuf2.patch ___ Python tracker &l

[issue9757] Add context manager protocol to memoryviews

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Guido expressed skepticism at the idea: http://mail.python.org/pipermail/python-dev/2010-September/103442.html -- ___ Python tracker <http://bugs.python.org/issue9

[issue5506] io.BytesIO doesn't support the buffer protocol

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: There was an unused "weakreflist" member. -- Added file: http://bugs.python.org/file18732/bytesiobuf2.patch ___ Python tracker <http://bugs.python.

[issue5506] io.BytesIO doesn't support the buffer protocol

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18731/bytesiobuf2.patch ___ Python tracker <http://bugs.python.org/issue5506> ___ ___ Python-bug

[issue5506] io.BytesIO doesn't support the buffer protocol

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +IO nosy: +amaury.forgeotdarc, benjamin.peterson ___ Python tracker <http://bugs.python.org/issue5506> ___ ___ Pytho

[issue3805] sslobj.read py3k takes odd arguments

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Cleanup done in r84464 (py3k), r84465 (3.1). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bug

[issue9762] build failures

2010-09-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : After a `make distclean` and a whole recompile I still get these: building 'crypt' extension gcc -pthread -fPIC -g -O0 -Wall -Wstrict-prototypes -I. -I./Include -I/usr/local/include -IInclude -I/home/antoine/py3k/debug -c /home/antoine/py3k/deb

[issue9293] Unsupported IO operations should raise UnsupportedOperation

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file18733/unsupported.patch ___ Python tracker <http://bugs.python.org/issue9

[issue9762] build failures

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: The normal build lines for the crypt and nis modules contain additional library linkage ("normal", that is before your commit :-)): gcc -pthread -shared build/temp.linux-x86_64-3.2/home/antoine/py3k/__svn__/Modules/cryptmodule.o -L/home/antoine/py

[issue9766] warnings has "onceregistry" and "once_registry"

2010-09-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : The warnings module has both "onceregistry" and "once_registry", while _warnings only has the latter. There's probably a typo. -- assignee: brett.cannon components: Library (Lib) messages: 115505 nosy: brett.cannon, pitrou

[issue9766] warnings has "onceregistry" and "once_registry"

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > That means the _warnings versions should simply be renamed to > "_onceregistry" and "_defaultaction" instead of their current names. > Work for you? Certainly. -- ___ Python tra

[issue9730] base64 docs refers to strings instead of bytes

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Generally: +1 on making sure examples in the docs are up to date. If > someone wants to do the tedious work of making sure that a "make > doctest" succeeds, I'm all for it, it may involve adding a few (in > HTML output invisible)

[issue7862] fileio.c: ValueError vs. IOError with impossible operations

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: See #9293, where there's a patch. -- resolution: -> duplicate status: open -> closed superseder: -> Unsupported IO operations should raise UnsupportedOperation ___ Python tracker <http://bugs.pyt

[issue9293] Unsupported IO operations should raise UnsupportedOperation

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +skrah, stutzbach ___ Python tracker <http://bugs.python.org/issue9293> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2122] mmap.flush does not check for errors on windows

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, tim.golden versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue2122> ___ ___ Python-bug

[issue9535] Pending signals are inherited by child processes

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Interpreter Core -Extension Modules nosy: +gregory.p.smith stage: -> patch review versions: +Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker <http://bugs.python.org/iss

[issue8734] msvcrt get_osfhandle crash on bad FD

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should this be checked in? -- nosy: +pitrou versions: +Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue8

[issue6916] Remove deprecated items from asynchat

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: josiahcarlson -> giampaolo.rodola stage: -> patch review versions: -Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/

[issue8594] Add a "source_address" option to ftplib

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8594> ___ ___ Python-bugs-list mailing list Un

[issue8597] build out-of-line asm on Windows

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eric.araujo ___ Python tracker <http://bugs.python.org/issue8597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8401] Strange behavior of bytearray slice assignment

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> patch review versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue8401> ___ ___ Py

[issue6394] getppid support in os module on Windows

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, tim.golden stage: -> patch review versions: +Python 3.2 -Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue4905] Use INVALID_FILE_ATTRIBUTES instead of magic numbers

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Extension Modules, Windows -Interpreter Core nosy: +brian.curtin, tim.golden stage: -> patch review versions: +Python 3.2 -Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue4379] Py_SAFE_DOWNCAST in FILE_TIME_to_time_t_nsec failing

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +belopolsky ___ Python tracker <http://bugs.python.org/issue4379> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3899] test_ssl.py doesn't properly test ssl integration with asyncore

2010-09-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: This has been integrated long ago. -- nosy: +pitrou resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9758] ioctl mutable buffer copying problem

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you think there is a simple, generic way to test for this (see Lib/test/test_ioctl.py)? -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue9

[issue9762] build failures

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, I just noticed that many other modules weren't built either: _ssl, _hashlib, _sqlite, _tkinter. Apparently setup.py cannot find the relevant "bits" anymore. Bisecting shows that this happened with the PEP 3149 commit. -- nosy

[issue9762] build failures

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed a workaround in r84488. Feel free to improve. -- ___ Python tracker <http://bugs.python.org/issue9762> ___ ___

[issue9762] build failures

2010-09-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker <http://bugs.python.org/issue9762> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7736] os.listdir hangs since opendir() and closedir() do not release GIL

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r84489 (3.x), r84490 (3.1) and r84491 (2.7). Thank you! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.6 ___ Python track

[issue9581] PosixGroupsTester fails as root

2010-09-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed modified patches for 3.x, 3.1 and 2.7. Thanks again George. -- assignee: ronaldoussoren -> nobody nosy: +nobody resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versi

<    10   11   12   13   14   15   16   17   18   19   >