[issue12361] Memory Leak in File Logging

2011-06-18 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue4111] Add Systemtap/DTrace probes

2011-06-18 Thread Martin Marcher
Changes by Martin Marcher : -- nosy: +serverhorror ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2011-06-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/18 Vinay Sajip : > > Vinay Sajip added the comment: > >> Benjamin Peterson added the  comment: >> >  Vinay Sajip added the  comment: >> > >> > Sorry I'm being dense, but which file object do you  mean? >> >> The python file  object. > > Do you mean

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

2011-06-18 Thread Vinay Sajip
Vinay Sajip added the comment: > Benjamin Peterson added the comment: > > Vinay Sajip added the comment: > > > > Sorry I'm being dense, but which file object do you mean? > > The python file object. Do you mean special-case handling of the circumstance when the file-like object being m

[issue6771] Curses.wrapper: documentation/implementation error

2011-06-18 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue6771] Curses.wrapper: documentation/implementation error

2011-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c96c3adbcd1 by R David Murray in branch 'default': #6771: Move wrapper function into __init__ and eliminate wrapper module http://hg.python.org/cpython/rev/9c96c3adbcd1 -- ___ Python tracker

[issue6771] Curses.wrapper: documentation/implementation error

2011-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc78ab3f7bc5 by R David Murray in branch '2.7': #6771: fix docs: curses.wrapper is exposed as a function, not a module http://hg.python.org/cpython/rev/dc78ab3f7bc5 New changeset f9b4cfc19264 by R David Murray in branch '3.2': #6771: fix docs: curs

[issue12361] Memory Leak in File Logging

2011-06-18 Thread Jacob Perkins
New submission from Jacob Perkins : I have a custom proxy server that was using a WatchedFileHandler for logging requests (the files were rotated with logrotate). It was leaking memory, and I had to use supervisord's memmon plugin to restart it whenever it exceed a certain threshold. I eventua

[issue3067] setlocale error message is confusing

2011-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: After more thought and investigation, I have changed my opinions on this issue. Allowing unicode string for locale in 2.7: Since the module predates unicode strings (it is in 1.5) and since the locale string is passed to a C function, 'string' in the doc can

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

2011-06-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/18 Vinay Sajip : > > Vinay Sajip added the comment: > > Sorry I'm being dense, but which file object do you mean? The python file object. -- ___ Python tracker ___

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

2011-06-18 Thread Vinay Sajip
Vinay Sajip added the comment: Sorry I'm being dense, but which file object do you mean? -- ___ Python tracker ___ ___ Python-bugs-li

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread R. David Murray
R. David Murray added the comment: Furthermore, Éric is the one who is going to commit the patch, and therefore these tracker issues should be organized to provide him with maximum productivity. If he thinks this should be closed, then it should be closed. If you wish to continue to argue th

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: Stefan Krah, Fred L. Drake and Antoine Pitrou agreed with me. -- ___ Python tracker ___ ___ Python-bug

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: See the same issue12358 for the opposite arguments. -- ___ Python tracker ___ ___ Python-bugs-li

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: Why don't you want to wait for the third opinion before judging tickets on your own. Do you understand that this creates a conflict? -- status: closed -> open ___ Python tracker

[issue12226] use HTTPS by default for uploading packages to pypi

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: That's the issue12358. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: If tickets are small and easy, they can be committed faster. I wouldn't open another one if this small patch was committed in time. As I already explained, adding certificate check to HTTPS is a further security enhancement, and here is the report for it t

[issue11602] python-config code should be in sysconfig

2011-06-18 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11602] python-config code should be in sysconfig

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: +1 on the request. I don’t think it can go in 3.2, though. I’ll propose a patch, this will let me learn more about the flags. > Also, it begs the question why distutils doesn't use the same code in > its compiler class, or even in customize_compiler()... Certa

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: See also #10764. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: See also #12141. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9436] test_sysconfig failure

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: I wonder if this is similar to #9437. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: I don’t see why you think we need two tickets. I will not commit the partial patch from the other bug, and I don’t think it’s overcomplicated to think about “use HTTPS with certificate checking”. About GTalk/Jabber: I prefer to discuss openly on this bug tracke

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: Mind you that HTTPS access without certificate validation is not a false security - even without certificate it provides a good protection from passive attacks. -- ___ Python tracker

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: That's two separate tickets. I intentionally wasted my time opening several of them to avoid making issues overcomplicated, so that they are manageable for review and won't slip from the next release. Ping me in GTalk if you want to discuss it. --

[issue12226] use HTTPS by default for uploading packages to pypi

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: Certificate checking. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8668] Packaging: add a 'develop' command

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: Higery asked me why I recommended/asked that the .dist-info directory should be built in the build directory: “don't you feel it's a bit strange because we actually don't build the source except for some .c/.cpp files, but create a build directory?” There are a

[issue12226] use HTTPS by default for uploading packages to pypi

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: What is left? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: See #12358 for why I think we don’t need three reports for this. -- dependencies: -use HTTPS by default for uploading packages to pypi, validate server certificate when uploading packages to PyPI resolution: -> duplicate stage: -> committed/rejected st

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: I’m going to close this report as a duplicate. The discussion about validation is already started on the other report, and I don’t want to commit first one patch with false security (use HTTPS), then a patch to validate: they should be one patch IMO. -

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +use HTTPS by default for uploading packages to pypi, validate server certificate when uploading packages to PyPI ___ Python tracker __

[issue12226] use HTTPS by default for uploading packages to pypi

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: Because it’s not finished. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: IOW, they should check os.name == 'posix'? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12167] test_packaging reference leak

2011-06-18 Thread Éric Araujo
Éric Araujo added the comment: > I changed test test to use a subprocess: Yes, in packaging. I replied to an earlier question about distutils: >>> I could not find any test in distutils/tests that imports extension modules. >> test_build_ext builds and imports xx. -- ___

[issue12360] Doc Typo

2011-06-18 Thread Martin Marcher
Changes by Martin Marcher : -- keywords: +patch Added file: http://bugs.python.org/file22405/2d9bc44963f6.diff ___ Python tracker ___

[issue12360] Doc Typo

2011-06-18 Thread Martin Marcher
Martin Marcher added the comment: Fix repo link :( -- hgrepos: +31 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12360] Doc Typo

2011-06-18 Thread Martin Marcher
New submission from Martin Marcher : Slight typo in the docs. I don't quite know how to work with mercurial. Hope it'll just work to merge the bitbucket link. Typo is here: http://docs.python.org/py3k/library/asyncore.html#asyncore.dispatcher.handle_accepted (but also present in tip) The pa

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-18 Thread R. David Murray
R. David Murray added the comment: I think we can treat this as a bug. However... What if there is more than one set of Resent- headers? I think that it is not possible to guarantee we only look at the most recent set, since the RFC provides no way to identify a "set". Heuristically we cou

[issue9246] os.getcwd() hardcodes max path len

2011-06-18 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue3216] Scarce msilib documentation

2011-06-18 Thread R. David Murray
Changes by R. David Murray : -- keywords: -easy, patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12346] Python source code build (release) depends on mercurial

2011-06-18 Thread R. David Murray
Changes by R. David Murray : -- title: Python 2.7.2 source code build (release) depends on mercurial -> Python source code build (release) depends on mercurial ___ Python tracker __

[issue11873] test_regexp() of test_compileall fails occassionally

2011-06-18 Thread R. David Murray
Changes by R. David Murray : -- status: -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-06-18 Thread R. David Murray
R. David Murray added the comment: Heh, I misstated that invariant, it's only true when x is a Header. -- ___ Python tracker ___ ___

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-06-18 Thread R. David Murray
R. David Murray added the comment: OK, the invariant make_header(decode_header(x)) == x should once again work for anything returned by __getitem__. -- stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3875ccea6367 by R David Murray in branch '3.2': #11584: make Header and make_header handle binary unknown-8bit input http://hg.python.org/cpython/rev/3875ccea6367 New changeset 9569d8c4c781 by R David Murray in branch 'default': merge #11584: make

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d62e5682a8ac by R David Murray in branch '3.2': #11584: make decode_header handle Header objects correctly http://hg.python.org/cpython/rev/d62e5682a8ac New changeset ce033d252a6d by R David Murray in branch 'default': merge #11584: make decode_hea

[issue11781] test/test_email directory does not get installed by 'make install'

2011-06-18 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> compile error ___ Python tracker ___

[issue11781] test/test_email directory does not get installed by 'make install'

2011-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6c5da661428 by R David Murray in branch 'default': #11781: update windows build script to account for move of email tests http://hg.python.org/cpython/rev/a6c5da661428 -- nosy: +python-dev ___ Python tr

[issue11781] test/test_email directory does not get installed by 'make install'

2011-06-18 Thread R. David Murray
R. David Murray added the comment: I forgot that I had this issue open. I committed the makefile part of the patch in issue 12313. I currently have no way to test the windows part, but it seems a straightforward modification of the existing code, so I'm going to commit it. --

[issue12359] tutorial: Module search path description is incorrect

2011-06-18 Thread R. David Murray
R. David Murray added the comment: The second paragraph goes on to cover your point, but I agree that it is not as clear as it should be. -- nosy: +r.david.murray ___ Python tracker __

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

2011-06-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why can't you just call fileno() on the file object? -- ___ Python tracker ___ ___ Python-bugs-l

[issue12359] tutorial: Module search path description is incorrect

2011-06-18 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/tutorial/modules.html#the-module-search-path Module search path order description is misleading. When a module named spam is imported, the interpreter searches for a file named spam.py in the directory of the script with import ins

[issue7652] Merge C version of decimal into py3k.

2011-06-18 Thread Stefan Krah
Stefan Krah added the comment: The latest patch is based on a relatively stable revision of 3.3. To my knowledge, _decimal.c and decimal.py are now fully compatible in the sense of PEP-399. libmpdec o New test suite with comprehensive tests against decNumber. o Full support

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

2011-06-18 Thread Jakub Wilk
Jakub Wilk added the comment: Just to give some statistic, in Debian we have >80 binary packages that check if sys.platform is linux2. However, it appears to me that vast majority of them is broken anyway, because what they really mean to check is: - is this a non-Windows sytem? or - is this a

[issue7652] Merge C version of decimal into py3k.

2011-06-18 Thread Stefan Krah
Changes by Stefan Krah : Added file: http://bugs.python.org/file22404/49433f35a5f8.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue7652] Merge C version of decimal into py3k.

2011-06-18 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file22304/9a10e3232445.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4470] smtplib SMTP_SSL not working.

2011-06-18 Thread Lorenzo M. Catucci
Lorenzo M. Catucci added the comment: Just finished testing both 2.7 and default branches' socket close behaviour, and it seems 05 is not strictly needed. I'd still prefer if smtplib_05_shutdown_socket_v2.patch since, this way the REMOTE socket close will be unconditionally correct, instead o

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-06-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with Ned, the changes to the environment should only be done in subprocesses started by distutils. The patch looks fine, but I haven't tested the patches yet. -- ___ Python tracker

[issue4470] smtplib SMTP_SSL not working.

2011-06-18 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci : Removed file: http://bugs.python.org/file22402/v2_02_mock_socket_shutdown ___ Python tracker ___ ___ Python-bug

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: ..and issue12358 as a second. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue3067] setlocale fails with unicode strings on Py2 and with byte strings on Py3

2011-06-18 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread anatoly techtonik
Changes by anatoly techtonik : -- assignee: -> tarek components: +Distutils, Distutils2 nosy: +alexis, eric.araujo, tarek versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker __

[issue12358] validate server certificate when uploading packages to PyPI

2011-06-18 Thread anatoly techtonik
New submission from anatoly techtonik : Please add this as a child of master issue12357. When default protocol to upload to PyPI is switched to HTTPS in issue12226, the next step is to validate the certificate. Certificate validation requires that we will either: 1. distribute root CACert cer

[issue12226] use HTTPS by default for uploading packages to pypi

2011-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: This simple patch slipped off 2.7.2. Why? -- title: use secured channel for uploading packages to pypi -> use HTTPS by default for uploading packages to pypi ___ Python tracker

[issue12357] Python dist modifications for secure PyPI uploads

2011-06-18 Thread anatoly techtonik
New submission from anatoly techtonik : This is the master ticket to support secure uploads of Python packages to PyPI servers using standard Python distribution. Please, add issue12226 as a first child. -- assignee: tarek components: Distutils, Distutils2, Installation messages: 13857

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-06-18 Thread Ned Deily
Ned Deily added the comment: I would like Ronald's take on it (also, I expect to be off-line for the weekend). Note, as it stands now, 3.2.1 (without any further patches) would have the same less than ideal behavior as 2.7.2. -- ___ Python tracker

[issue4470] smtplib SMTP_SSL not working.

2011-06-18 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci : Removed file: http://bugs.python.org/file22403/v2_03_shutdown_socket_on_close ___ Python tracker ___ ___ Python

[issue4470] smtplib SMTP_SSL not working.

2011-06-18 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci : Added file: http://bugs.python.org/file22403/v2_03_shutdown_socket_on_close ___ Python tracker ___ ___ Python-b

[issue4470] smtplib SMTP_SSL not working.

2011-06-18 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci : Added file: http://bugs.python.org/file22402/v2_02_mock_socket_shutdown ___ Python tracker ___ ___ Python-bugs-

[issue4470] smtplib SMTP_SSL not working.

2011-06-18 Thread Lorenzo M. Catucci
Changes by Lorenzo M. Catucci : Added file: http://bugs.python.org/file22401/v2_01_fix_lmtp_init ___ Python tracker ___ ___ Python-bugs-list ma

[issue12090] 3.2: build --without-threads fails

2011-06-18 Thread Stefan Krah
Stefan Krah added the comment: Yes, this is fixed in 3.2. I just left the issue open as a reminder for the release branch. -- resolution: -> fixed stage: -> committed/rejected ___ Python tracker

[issue12290] __setstate__ is called for false values

2011-06-18 Thread Georg Brandl
Georg Brandl added the comment: Well, this looks correct then. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2011-06-18 Thread Georg Brandl
Georg Brandl added the comment: Can the 3.2 part of this be resolved this weekend? -- ___ Python tracker ___ ___ Python-bugs-list mail

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

2011-06-18 Thread Georg Brandl
Georg Brandl added the comment: Any reviewers? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12090] 3.2: build --without-threads fails

2011-06-18 Thread Georg Brandl
Georg Brandl added the comment: Is this done then? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12167] test_packaging reference leak

2011-06-18 Thread STINNER Victor
STINNER Victor added the comment: > test_build_ext builds and imports xx. I changed test test to use a subprocess: New changeset 144cea8db9a5 by Victor Stinner in branch 'default': Issue #12333: run tests on the new module in a subprocess http://hg.python.org/cpython/rev/144cea8db9a5 It shoul

[issue11197] information leakage with SimpleHTTPServer

2011-06-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Ori, which platform did you try to reproduce this issue. I tried in all active codelines (cpython to all through 2.5) from hg and can't able to reproduce this bug on Linux. If someone can reproduce, can you provide exact instructions. -- ___