[issue11568] docstring of select.epoll.register() is wrong

2011-06-27 Thread Sandro Tosi
Sandro Tosi added the comment: Ah, I find the test file name a bit unhappy (why not test select.epoll in test_select? or add select in the filename?) but since it's covered - I'm fine! :) Next time I'll grep instead of simple file glob - thanks for your help, Senthil. -- ___

[issue1475523] gettext breaks on plural-forms header

2011-06-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: This looks similar to https://bugs.gentoo.org/show_bug.cgi?id=373115. Is it the same thing, or should I file a separate bug for it? (Sorry, I don't intend to hijack this bug, but I don't know much about gettext and the patch here looks somewhat similar to th

[issue12417] Inappropriate copyright on profile files

2011-06-27 Thread Paul Hildebrandt
New submission from Paul Hildebrandt : profile.py and pstats.py have an inappropriate copyright for some. These files were contributed by a company that was acquired by Disney. I have a patch that has passed Disney legal to resolve the problem. The following is the cogent part of a conversat

[issue5375] Unified locals/consts array + register-based instructions

2011-06-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Yeah, I probably won't work on this anytime soon. I think this has also become less interesting as pypy has made progress. -- ___ Python tracker _

[issue12417] Inappropriate copyright on profile files

2011-06-27 Thread Paul Hildebrandt
Paul Hildebrandt added the comment: This is the patch. It was created with hg diff >WDAS.patch at the root of the hg repository. This patch is just a comment change and should apply to versions of Python currently being update. -- keywords: +patch resolution: -> fixed versions: +

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> That would be incorrect for some systems. For example, FreeBSD does >> change sets of symbolic constants across system releases (mostly >> additions, but sometimes also removals). Back then, SunOS 4 and SunOS >> 5 were completely unrelated systems. >> > > W

[issue1475523] gettext breaks on plural-forms header

2011-06-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's difficult to tell whether it's the same thing. Is the po file in question available readily for inspection? -- ___ Python tracker ___

[issue6721] Locks in python standard library should be sanitized on fork

2011-06-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If there's agreement that the general problem is unsolvable (so fork and > threads just don't get along with each other), what we could attempt is > trying to limit the side effects in the standard library, so that fewest > users as possible are affected by th

[issue1475523] gettext breaks on plural-forms header

2011-06-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Looks like this was the problem: http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=cb56316cf3702f03b05e30f406ff3028e45f7bfb. E.g., the empty Plural-Forms header is throwing off the python gettext parser. -- _

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le Sun, 26 Jun 2011 19:49:03 +, Vinay Sajip a écrit : > > Added file: http://bugs.python.org/file22487/0feab4e7b27f.diff Just a nit, could you give descriptive file names to your patches? Hex numbers quickly get confusing. -- ___

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le Mon, 27 Jun 2011 08:05:05 +, Martin v. Löwis a écrit : > > What I'm advocating is to special-case Linux (and any other system > where major version numbers don't mean much). Actually, it would itself break compatibility, because sys.platform would jump

[issue1067702] urllib fails with multiple ftp transfers

2011-06-27 Thread Stefan Schwarzer
Stefan Schwarzer added the comment: Hi Senthil, I don't yet understand what was going on before it resulted in the traceback. I also don't understand _why_ the patch fixes _this_ bug. (That's not to say it doesn't, but I think it's not obvious either. :-) ) Were you able to reproduce the exc

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-27 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5375] Unified locals/consts array + register-based instructions

2011-06-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> postponed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12139] Add CCC command support to ftplib

2011-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2eacbbdaf57 by Giampaolo Rodola' in branch 'default': Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text. http://hg.python.org/cpython/rev/d2eacbbdaf57 -- nosy: +python-dev _

[issue12139] Add CCC command support to ftplib

2011-06-27 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue1475523] gettext breaks on plural-forms header

2011-06-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-27 Thread STINNER Victor
STINNER Victor added the comment: > Typical example: (... smtplib ...) Another example (yesterday): -- [355/356/2] test_subprocess ... Re-running test test_subprocess in verbose mode ... Ran 228 tests in 322.313s OK (skipped=20) -- -- ___ P

[issue12139] Add CCC command support to ftplib

2011-06-27 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20Shared%203.x/builds/4043/steps/test/logs/stdio == ERROR: test_ccc (test.test_ftplib.TestTLS_FTPClass)

[issue12139] Add CCC command support to ftplib

2011-06-27 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x/builds/2792/steps/test/logs/stdio == ERROR: test_ccc (test.test_ftplib.TestTLS_FTPClass) --

[issue12139] Add CCC command support to ftplib

2011-06-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Hmm... Reopening. I'll look into this later. -- resolution: fixed -> status: closed -> pending ___ Python tracker ___ _

[issue12376] unittest.TextTestResult.__init__ does not pass on its init arguments in super call

2011-06-27 Thread Michael Foord
Michael Foord added the comment: I have a feeling I added the arguments to TestResult.__init__ to allow it to be used as a silent test result directly in place of TextTestResult. I still need to check this. Not adding the arguments to the super call in TextTestResult would have been an over

[issue12376] unittest.TextTestResult.__init__ does not pass on its init arguments in super call

2011-06-27 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Stefan Krah
Stefan Krah added the comment: Nick, you know a lot about this issue and I'm probably missing many things here. I misunderstood your concept of PyManagedBuffer, so my previous posting might have been hard to understand. I'd appreciate if you (or anyone in this thread) could comment if the follo

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Pauli Virtanen
Pauli Virtanen added the comment: skrah writes: > I think slicing (esp. multidimensional slicing) would be greatly > simplified if we added a requirement for the *exporting* object > to provide a sliced view. (The same applies to sub-views, also > see source comments below [1]). > > For example,

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll
Vincent Legoll added the comment: OK I'll look at it and respin with the comments in mind -- ___ Python tracker ___ ___ Python-bugs-l

[issue12418] python should inherit the library search path from the compiler for stdlib extensions

2011-06-27 Thread Steve Langasek
New submission from Steve Langasek : related to http://bugs.python.org/issue11715 python 2.7 and 3.1 now include a patch for behavior specific to Ubuntu and Debian to search in multiarch directories for libraries needed for building stdlib extensions. This distro-specific patch is unnecessary

[issue12419] Add ident parameter to SysLogHandler

2011-06-27 Thread Floris Bruynooghe
New submission from Floris Bruynooghe : It would be nice if the SysLogHandler also accepted an "ident" parameter in line with the syslog.openlog() function. This simply prepends the string passed in as "ident" to each log message which currently needs to be implemented with a log filter which

[issue12419] Add ident parameter to SysLogHandler

2011-06-27 Thread Floris Bruynooghe
Changes by Floris Bruynooghe : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12420] distutils crashes if PATH is not defined

2011-06-27 Thread Henry Precheur
New submission from Henry Precheur : The function find_executable crashes if PATH is not defined. I admit that it's an extreme case, but it's probably better to on the safe side of things. What about using the current directory only if PATH is not defined? This seems to be a reasonable workar

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-27 Thread Vinay Sajip
Vinay Sajip added the comment: > Just a nit, could you give descriptive file names to your patches? > Hex numbers quickly get confusing. Ok - I was under the impression that those names were generated automatically from the changeset hash, and that changing the name arbitrarily would break so

[issue12401] unset PYTHON* environment variables when running tests

2011-06-27 Thread Henry Precheur
Henry Precheur added the comment: Here's a small patch to call regression tests without any environment variable defined. It's probably a good thing to run all the tests with a clean state, this way they are less likely to fail for mysterious external reasons. For example test_displayhook_une

[issue12421] Use PYTHON when calling Parser/asdl_c.py

2011-06-27 Thread Henry Precheur
New submission from Henry Precheur : Parser/asdl_c.py uses `/usr/bin/env python' as an interpreter. But Python executable is not always `python'. With OpenBSD's ports, CPython's interpreters are installed as pythonX.Y. There's a variable PYTHON in the Makefile, that's what should be used. Thi

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread sorin
sorin added the comment: Here is a test file that will replicate the problem, I added it as a gist so it could support contributions ;) Py <2.7 works Py ==2.7 fails Py >=3.0 works after minor changes required by py3k https://gist.github.com/1047551 -- ___

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Nick Coghlan
Nick Coghlan added the comment: I'll try to do a summary of the conversation so far, since it's quite long and hard to follow. The basic issue is that memoryview needs to support copying and slicing that creates a new memoryview object. The major problem with that is that the PEP 3118 semant

[issue12419] Add ident parameter to SysLogHandler

2011-06-27 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: -> vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12421] Use PYTHON when calling Parser/asdl_c.py

2011-06-27 Thread R. David Murray
R. David Murray added the comment: I don't believe we have any desire to support unix systems that do not define 'python', and 'python3' executables in the path. If the distribution wishes to do that they'll have to patch everything to accommodate it. That however is mostly irrelevant to thi

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread R. David Murray
R. David Murray added the comment: rdmurray>python2.6 py27-str-unicode-bytes.py type(b)= Traceback (most recent call last): File "py27-str-unicode-bytes.py", line 17, in unicode_str += b # this line will throw UnicodeDecodeError on Python 2.7 UnicodeDecodeError: 'ascii' codec can't decod

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

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

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread R. David Murray
R. David Murray added the comment: To clarify: if I convert your program to using strings pre2.6, it still fails with a UnicodeDecodeError, as one would expect. bytes are strings in 2.x. -- ___ Python tracker __

[issue12421] Use PYTHON when calling Parser/asdl_c.py

2011-06-27 Thread Henry Precheur
Henry Precheur added the comment: Indeed, I didn't realize that PYTHON was the name of the target interpreter and not the name a an already installed interpreter. -- ___ Python tracker ___

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread R. David Murray
R. David Murray added the comment: And finally, your program does *not* succeed on Python3, except in the trivial sense that on python3 you never attempt to add the string and bytes data. It is exactly this kind of programming error that Python3 is designed to avoid: instead of sometimes get

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread sorin
sorin added the comment: Right, so you have some binary data and you want to sent it to `httplib`. This worked in the past when `msg` was a non-unicode string, but starting with Python 2.7 this became an unicode string, so when you try to append the `message` if will fail because it will try

[issue12420] distutils crashes if PATH is not defined

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Can you tell how you ran into this? Did you call the function directly, or did you get the bug while running a setup.py command? Also, what do you mean by crash? We use that for CPython segmentation faults, not regular misbehavior. If

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: I have no objection, but you may want to ask on the fellowship ML first. Should the hooks be run before the removal or just after? (Debian for example has both, which makes four hooks: preinst, postinst, prerm, postrm). Our setup_hooks (used with pysetup comma

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll
Vincent Legoll added the comment: Here we are, I left the exact messages for raised exceptions as comments so they can easily be checked in case of test failure... Does that look OK ? -- Added file: http://bugs.python.org/file22495/add-more-tests-for-ast_py-2.patch __

[issue12406] msi.py needs updating for Python 3.3

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: > I've realised there are more additions due to packaging - for example > there is a whole set of "wininst-X.Y[-amd64].exe" files Oh thanks, I had forgotten about msi.py. Copying the similar section that already exists for distutils wininst executables and addin

[issue12420] distutils crashes if PATH is not defined

2011-06-27 Thread Henry Precheur
Henry Precheur added the comment: Sorry "crash" wasn't the right term. It's just that distutils tests fail. I ran into that when trying to run unit tests without any environment variable (see #12401). $ env -i ./python ./Lib/test/regrtest.py test_distutils [1/1] test_distutils test test_distut

[issue11493] Add python.exe-gdb.py to .hgignore

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Ah, it’s for Mac. gdb + .exe sounded strange in my head :) -- ___ Python tracker ___ ___ Python-bugs-

[issue12417] Inappropriate copyright on profile files

2011-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 55219254eb77 by Benjamin Peterson in branch '2.7': update profile license (closes #12417) http://hg.python.org/cpython/rev/55219254eb77 New changeset e50963c3119d by Benjamin Peterson in branch '3.2': update profile license (closes #12417) http://h

[issue12420] distutils crashes if PATH is not defined

2011-06-27 Thread Henry Precheur
Henry Precheur added the comment: I don't know exactly in which context find_executable should be used, but after taking a closer look it seems that returning None when PATH is not defined could "work". -- ___ Python tracker

[issue12417] Inappropriate copyright on profile files

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Great news for Debian users! Thanks to all involved. -- nosy: +eric.araujo versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker ___

[issue12420] distutils crashes if PATH is not defined

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Okay, I see the original use case (#12401). I think the proper thing to do is to skip tests that rely on the environment being non-empty. -- ___ Python tracker

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread R. David Murray
R. David Murray added the comment: But senthil already demonstrated in the previous issue that it does not become a unicode string unless you use unicode input. You also claimed that your test program here succeeded in python2.6, but it does not. This casts a little bit of doubt on your clai

[issue12296] Minor clarification in devguide

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Okay for a new sentence. I think repeating new is clearer: (This obviously does not apply to new classes or functions, or new optional arguments.) -- ___ Python tracker __

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-06-27 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file22309/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-06-27 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file22330/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue12419] Add ident parameter to SysLogHandler

2011-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6baa90fa2b6d by Vinay Sajip in branch 'default': Closes #12419: Added ident to SysLogHandler. http://hg.python.org/cpython/rev/6baa90fa2b6d -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed ___

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: You still haven't explained why including multiline literals is a good idea. Also, the reason we avoid matching exact messages is it can vary across implementations. You can still do an accurate test with something like self.assertIn("foobar", str(e)) ---

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Great patch, thanks! It’s on the top of my commit list. -- priority: normal -> high ___ Python tracker ___ __

[issue12419] Add ident parameter to SysLogHandler

2011-06-27 Thread Vinay Sajip
Vinay Sajip added the comment: N.B. I did not add an additional constructor arg - instead, it's a class-level attribute which can be overridden at class or instance level. -- ___ Python tracker __

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: I just noticed that the blocks in reST should use three-space indent, not two. -- ___ Python tracker ___ _

[issue12419] Add ident parameter to SysLogHandler

2011-06-27 Thread Floris Bruynooghe
Floris Bruynooghe added the comment: That was quick, thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4296] Python assumes identity implies equivalence; contradicts NaN

2011-06-27 Thread Sven Marnach
Sven Marnach added the comment: The behaviour discussed in this thread does not seem to be reflected in Python's documentation. The documentation of __eq__() [1] doesn't mention that objects should compare equal to themselves. [1]: http://docs.python.org/dev/reference/datamodel.html#object.

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll
Vincent Legoll added the comment: I was testing exact matches on the strings because I think pypy wants to be as compliant as possible with cpython, and IMHO that include exception msgs as far as possible. I don't see any reason to be different just for the sake of it. As a user I'd find stra

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: > I think pypy wants to be as compliant as possible with cpython, and > IMHO that include exception msgs as far as possible. I don't see any > reason to be different just for the sake of it. > > As a user I'd find strange not to get same exc msgs from different > i

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/27 Vincent Legoll : > > Vincent Legoll added the comment: > > I was testing exact matches on the strings because I think pypy wants to be > as compliant as possible with cpython, and IMHO that include exception msgs > as far as possible. I don't see

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Tarek Ziadé
Tarek Ziadé added the comment: Sounds good. Also, we should make the assumption that this hook might be deactivated or might fail. So it should not break the uninstallation in this case (a warning seem fine) -- ___ Python tracker

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Definitely, hooks do not stop operation. I’ll double-check that. We may want an option to turn hooks failures into fatal errors. -- ___ Python tracker

[issue12420] distutils crashes if PATH is not defined

2011-06-27 Thread Henry Precheur
Henry Precheur added the comment: I think that returning None would be a better option. The function documentation says: Tries to find 'executable' in the directories listed in 'path'. A string listing directories separated by 'os.pathsep'; defaults to os.environ['PATH']. Returns the co

[issue12420] distutils tests fail if PATH is not defined

2011-06-27 Thread Henry Precheur
Changes by Henry Precheur : -- title: distutils crashes if PATH is not defined -> distutils tests fail if PATH is not defined ___ Python tracker ___

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Tarek Ziadé
Tarek Ziadé added the comment: We need to make it crystal clear in the doc: developers need to understand this behavior. Also, for a fatal error, I am -1 for activating this for an uninstall hook because we want to uninstall wathever happens in the hooks, +1 for others (as long as it's coupl

[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll
Vincent Legoll added the comment: * removed the comments for exc msgs * added explanation to multiline statements * added 2 tests to test_AST_objects() Regarding Éric's comment, I'm starting to wonder if those Exception tests should be added to cpython's testsuite. Maybe that would only be ben

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
New submission from Alex Gaynor : All storing immutable objects in the memo dict does is slow stuff down, due to having a larger hash table, and on some other Python's causing hilarious levels of GC pressure. Using http://paste.pocoo.org/show/421310/ as a benchmark, CPython get's a 2x speedup

[issue12420] distutils tests fail if PATH is not defined

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: To explain my position: distutils is a very brittle codebase that’s used and monkey-patched by a lot of third-party code. In the past, before the forking of distutils/packaging, Tarek tried to gradually improve distutils but he got a lot of pushback when his ch

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: The setup.cfg spec says only this: > The callables are executed in the order they’re found in the file; if > one of them cannot be found, tools should not stop, but for example > produce a warning and continue with the next line. packaging/commandhooks does not s

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Carl Friedrich Bolz
Changes by Carl Friedrich Bolz : -- nosy: +Carl.Friedrich.Bolz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8617] Better document user site-packages in site module doc

2011-06-27 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +patch Added file: http://bugs.python.org/file22498/pep370-doc.diff ___ Python tracker ___ ___ Py

[issue8617] Better document user site-packages in site module doc

2011-06-27 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
Alex Gaynor added the comment: A slightly cleverer version (or less clever, depending on how you approach the issue) that also works with tuples of immutable content. -- Added file: http://bugs.python.org/file22499/d.diff ___ Python tracker

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-06-27 Thread sorin
sorin added the comment: I updated the gist and made a minimal test https://gist.github.com/1047551 -- ___ Python tracker ___ ___ Pyt

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Eric, you mean for the whole of sqlite3 docmentation or the part in the footnote? -- ___ Python tracker ___ _

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: I mean in the two commits. I can check the whole file later (and also use automatic reST footnotes, [#] instead of [#fn1]). -- ___ Python tracker __

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2011-06-26, at 2:04 PM, Terry J. Reedy wrote: > Terry J. Reedy added the comment: > > Sridhar, is there still a problem with current 3.2/3? > > If you are no longer working on this, I think we should close as > languishing/postponed. I am not workin

[issue12385] the help for bytearray.maketrans describes bytes.maketrans

2011-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 586745894ab8 by Senthil Kumaran in branch '3.2': Fix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray object. http://hg.python.org/cpython/rev/586745894ab8 -- nosy: +python-dev resolution: -> fixed stage: nee

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: « Python 3.2 was released on February 20th, 2011. » (from python.org) -- nosy: +eric.araujo ___ Python tracker ___

[issue12043] Update shutil documentation

2011-06-27 Thread Sandro Tosi
Changes by Sandro Tosi : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12043] Update shutil documentation

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Can you add links, a list of problems, dependency bugs or a patch? Otherwise this is an empty placeholder. -- ___ Python tracker ___ ___

[issue12043] Update shutil documentation

2011-06-27 Thread Sandro Tosi
Sandro Tosi added the comment: I'm starting to work on a patch right now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10403] Use "member" consistently

2011-06-27 Thread Éric Araujo
Éric Araujo added the comment: Alexander, could you comment on the review page about datetime.rst changes? -- nosy: +belopolsky ___ Python tracker ___ __

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2011-06-27, at 9:11 AM, Éric Araujo wrote: > Éric Araujo added the comment: > > « Python 3.2 was released on February 20th, 2011. » (from python.org) My mistake; I meant to say 3.2.1 final. -- ___ Python t

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Stefan Krah
Stefan Krah added the comment: Pauli Virtanen wrote: > skrah writes: > > For example, an exporting object could provide a sliced view by adding > > a getslicedbufferproc to PyBufferProcs: > > > > int PyObject_GetSlicedBuffer(PyObject *obj, Py_buffer *view, > > int

[issue12422] When deepcopying, don't store immutable objects in the memo dict

2011-06-27 Thread Alex Gaynor
Alex Gaynor added the comment: Switched to using assertIs, as merwok suggested. -- Added file: http://bugs.python.org/file22500/d.diff ___ Python tracker ___ ___

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Stefan Krah
Stefan Krah added the comment: Nick Coghlan wrote: [Snip liberally] > The lifecycle problem is unrelated to the details of the buffer *contents* though - it's entirely about the fact that clients can't safely copy all those pointers (as some may refer to addresses inside the struct) and ask

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le Mon, 27 Jun 2011 13:17:57 +, Nick Coghlan a écrit : > > The TL;DR version of the above is that I would like to see it become: > > typedef struct { > PyObject_HEAD > PyManagedBuffer source_data; // shared read-only Py_buffer access > Py_buff

[issue12420] distutils tests fail if PATH is not defined

2011-06-27 Thread Henry Precheur
Henry Precheur added the comment: OK it makes sense. I'm working on fixing the tests. I'm not done yet, but I've attached a patch with my work in progress (some tests still fail). Do you have any comments? I'll post a complete version later today or tomorrow. -- Added file: http://bu

[issue12423] signal handler dpes

2011-06-27 Thread Kamil Kisiel
Changes by Kamil Kisiel : -- nosy: kisielk priority: normal severity: normal status: open title: signal handler dpes ___ Python tracker ___ __

[issue12423] signal handler doesn't handle SIGABRT from os.abort

2011-06-27 Thread Kamil Kisiel
New submission from Kamil Kisiel : It seems that registering a signal handler for SIGABRT doesn't handle the signal from os.abort(). Example code: import signal, os import time def handler(signum, frame): print "Signal!" raise Exception() signal.signal(signal.SIGABRT, handler) os.abo

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-27 Thread Lenard Lindstrom
Lenard Lindstrom added the comment: Using Python reference counting and the garbage collector to control when PyBuffer_Release is called has problems. First, it assumes the CPython interpreter will always use reference counting. Second, PyBuffer_Release may never get called if circular refere

[issue12423] signal handler doesn't handle SIGABRT from os.abort

2011-06-27 Thread Dimitri Tcaciuc
Changes by Dimitri Tcaciuc : -- nosy: +dtcaciuc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

  1   2   >