[issue11197] information leakage with SimpleHTTPServer
Senthil Kumaran sent...@uthcode.com 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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11197 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12167] test_packaging reference leak
STINNER Victor victor.stin...@haypocalc.com 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 should fix refleaks because it is not possible to unload a module written in C. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12167 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12090] 3.2: build --without-threads fails
Georg Brandl ge...@python.org added the comment: Is this done then? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12090 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3
Georg Brandl ge...@python.org added the comment: Any reviewers? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure
Georg Brandl ge...@python.org added the comment: Can the 3.2 part of this be resolved this weekend? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12290] __setstate__ is called for false values
Georg Brandl ge...@python.org added the comment: Well, this looks correct then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12290 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12090] 3.2: build --without-threads fails
Stefan Krah stefan-use...@bytereef.org 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 rep...@bugs.python.org http://bugs.python.org/issue12090 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4470] smtplib SMTP_SSL not working.
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Added file: http://bugs.python.org/file22401/v2_01_fix_lmtp_init ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4470] smtplib SMTP_SSL not working.
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Added file: http://bugs.python.org/file22402/v2_02_mock_socket_shutdown ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4470] smtplib SMTP_SSL not working.
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Added file: http://bugs.python.org/file22403/v2_03_shutdown_socket_on_close ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4470] smtplib SMTP_SSL not working.
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file22403/v2_03_shutdown_socket_on_close ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure
Ned Deily n...@acm.org 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 rep...@bugs.python.org http://bugs.python.org/issue9516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
New submission from anatoly techtonik techto...@gmail.com: 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: 138576 nosy: alexis, eric.araujo, tarek, techtonik priority: normal severity: normal status: open title: Python dist modifications for secure PyPI uploads type: security versions: Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12226] use HTTPS by default for uploading packages to pypi
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue12226 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
New submission from anatoly techtonik techto...@gmail.com: 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 certificate with Python (for some reason it is not included/trusted on Windows platform) 2. acquire certificate for PyPI servers from party trusted by default, so that system certificates can be used for validation -- messages: 138578 nosy: techtonik priority: normal severity: normal status: open title: validate server certificate when uploading packages to PyPI type: security ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
Changes by anatoly techtonik techto...@gmail.com: -- assignee: - tarek components: +Distutils, Distutils2 nosy: +alexis, eric.araujo, tarek versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3067] setlocale fails with unicode strings on Py2 and with byte strings on Py3
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3067 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
anatoly techtonik techto...@gmail.com added the comment: ..and issue12358 as a second. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4470] smtplib SMTP_SSL not working.
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it: Removed file: http://bugs.python.org/file22402/v2_02_mock_socket_shutdown ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure
Ronald Oussoren ronaldousso...@mac.com 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 rep...@bugs.python.org http://bugs.python.org/issue9516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4470] smtplib SMTP_SSL not working.
Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it 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 of being dependent on GC artifacts. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7652] Merge C version of decimal into py3k.
Changes by Stefan Krah stefan-use...@bytereef.org: Removed file: http://bugs.python.org/file22304/9a10e3232445.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7652] Merge C version of decimal into py3k.
Changes by Stefan Krah stefan-use...@bytereef.org: Added file: http://bugs.python.org/file22404/49433f35a5f8.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Jakub Wilk jw...@jwilk.net 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 UNIX-like system? or - is this a system with GNU userland? -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7652] Merge C version of decimal into py3k.
Stefan Krah stefan-use...@bytereef.org 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 for 32-bit compilers (tested with CompCert). PEP-399 === o cdecimal.c is now called _decimal.c. Instead of importing cdecimal, _decimal is transparently imported as decimal (if the C version is available). o Unified unit tests with 100% code coverage for both decimal.py and _decimal.c. For _decimal.c, the tests include all failures of Python API functions (requires special patch for testing). o deccheck.py now also tests arbitrary input and makes sure that both modules raise the same exceptions. o Both modules produce the same pickle output for Decimal and Context. _decimal.c == o Speed up int/Decimal conversion for integers that fit into a single word of a PyLongObject (performance gain is around 15%). o real(), imag(), conjugate(), __complex__() support. o Fraction and complex comparison support. o Decimal constructor now accepts lists as well as tuples. o DecimalTuple support. o General cleanup and refactoring. The functions for conversions between Decimal and other numeric types are much cleaner now and could be used for a PyDec_* API. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12359] tutorial: Module search path description is incorrect
New submission from anatoly techtonik techto...@gmail.com: 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 instruction, not in the current directory. -- assignee: docs@python components: Documentation messages: 138584 nosy: docs@python, techtonik priority: normal severity: normal status: open title: tutorial: Module search path description is incorrect versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12359 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3
Benjamin Peterson benja...@python.org added the comment: Why can't you just call fileno() on the file object? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12359] tutorial: Module search path description is incorrect
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http://bugs.python.org/issue12359 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11781] test/test_email directory does not get installed by 'make install'
R. David Murray rdmur...@bitdance.com 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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11781 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11781] test/test_email directory does not get installed by 'make install'
Roundup Robot devnull@devnull 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 tracker rep...@bugs.python.org http://bugs.python.org/issue11781 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11781] test/test_email directory does not get installed by 'make install'
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11781 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11584] email.decode_header fails if msg.__getitem__ returns Header object
Roundup Robot devnull@devnull 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_header handle Header objects correctly http://hg.python.org/cpython/rev/ce033d252a6d -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11584 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11584] email.decode_header fails if msg.__getitem__ returns Header object
Roundup Robot devnull@devnull 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 Header and make_header handle binary unknown-8bit input http://hg.python.org/cpython/rev/9569d8c4c781 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11584 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11584] email.decode_header fails if msg.__getitem__ returns Header object
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http://bugs.python.org/issue11584 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11584] email.decode_header fails if msg.__getitem__ returns Header object
R. David Murray rdmur...@bitdance.com added the comment: Heh, I misstated that invariant, it's only true when x is a Header. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11584 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11873] test_regexp() of test_compileall fails occassionally
Changes by R. David Murray rdmur...@bitdance.com: -- status: - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11873 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12346] Python source code build (release) depends on mercurial
Changes by R. David Murray rdmur...@bitdance.com: -- title: Python 2.7.2 source code build (release) depends on mercurial - Python source code build (release) depends on mercurial ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12346 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3216] Scarce msilib documentation
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: -easy, patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3216 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9246] os.getcwd() hardcodes max path len
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9246 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12147] smtplib.send_message does not implement corectly rfc 2822
R. David Murray rdmur...@bitdance.com 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 could probably guess right 99% of the time, but we'd still be guessing. Further, the RFC actually prohibits using the Resent- headers for automated processing, though, granted, it is talking about the receiving end, not the sending end. My inclination at this point is to fix the Sender bug, and to refuse to guess when there are any Resent- headers (throw a ValueError). I've queried the email-sig to see what they think. -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12147 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12360] Doc Typo
New submission from Martin Marcher mar...@marcher.name: 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 parameter is named *sock*, but the docs talk about *conn*. regards Martin hg diff -r 9569d8c4c781 diff -r 9569d8c4c781 Doc/library/asyncore.rst --- a/Doc/library/asyncore.rst Sat Jun 18 13:02:42 2011 -0400 +++ b/Doc/library/asyncore.rst Sat Jun 18 22:08:42 2011 +0200 @@ -157,7 +157,7 @@ Called on listening channels (passive openers) when a connection has been established with a new remote endpoint that has issued a :meth:`connect` - call for the local endpoint. *conn* is a *new* socket object usable to + call for the local endpoint. *sock* is a *new* socket object usable to send and receive data on the connection, and *address* is the address bound to the socket on the other end of the connection. -- assignee: docs@python components: Documentation hgrepos: 30 messages: 138594 nosy: docs@python, martin.marcher priority: normal severity: normal status: open title: Doc Typo versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12360 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12360] Doc Typo
Martin Marcher mar...@marcher.name added the comment: Fix repo link :( -- hgrepos: +31 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12360 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12360] Doc Typo
Changes by Martin Marcher mar...@marcher.name: -- keywords: +patch Added file: http://bugs.python.org/file22405/2d9bc44963f6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12360 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12167] test_packaging reference leak
Éric Araujo mer...@netwok.org 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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12167 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Éric Araujo mer...@netwok.org added the comment: IOW, they should check os.name == 'posix'? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12226] use HTTPS by default for uploading packages to pypi
Éric Araujo mer...@netwok.org added the comment: Because it’s not finished. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +use HTTPS by default for uploading packages to pypi, validate server certificate when uploading packages to PyPI ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
Éric Araujo mer...@netwok.org 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. -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - use HTTPS by default for uploading packages to pypi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
Éric Araujo mer...@netwok.org 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 status: open - closed superseder: - use HTTPS by default for uploading packages to pypi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12226] use HTTPS by default for uploading packages to pypi
anatoly techtonik techto...@gmail.com added the comment: What is left? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8668] Packaging: add a 'develop' command
Éric Araujo mer...@netwok.org 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 few converging reasons for that. Maybe a develop expert user will disagree with me, but I think that together they make a good case. The first reason is symmetry. The test command (http://docs.python.org/dev/packaging/commandref#test) needs to have the Python code in the build directory on sys.path, so that if you use build-time 2to3 conversion (currently undocumented :( apart from a line in http://docs.python.org/dev/packaging/setupcfg#command-sections), the tests need to find the 3.x code in the build dir, not the 2.x code in the project dir. I think that since we already put the build dir on sys.path to run tests, we might as well follow the same idead and put the dist-info dir in the build dir. The test command will then automatically have access to dist-info (see #12302), and other commands and tools can learn to look for dist-info in the build dir. The second reason is that I think we need to separate build_distinfo from install_distinfo (#12279). If we do this, then the new command has to write in the build dir, just like all other build_* commands (with possible exceptions). The third reason is that I don’t like that every project that uses setuptools needs to add ProjectName.egg-info in the VCS ignore file (like .hgignore); if we use the build dir, our generated files are already covered by the ignore of the build dir. (This makes me think that we may want to move MANIFEST to the build dir.) I hope my reasons are clearer now; let me know if I did not explain something clearly enough, or if you disagree :) -- nosy: +carljm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8668 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12226] use HTTPS by default for uploading packages to pypi
Éric Araujo mer...@netwok.org added the comment: Certificate checking. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
anatoly techtonik techto...@gmail.com 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. -- resolution: duplicate - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
Éric Araujo mer...@netwok.org 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 tracker or mailing lists. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9436] test_sysconfig failure
Éric Araujo mer...@netwok.org added the comment: I wonder if this is similar to #9437. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9436 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build
Éric Araujo mer...@netwok.org added the comment: See also #12141. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases
Éric Araujo mer...@netwok.org added the comment: See also #10764. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12141 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11602] python-config code should be in sysconfig
Éric Araujo mer...@netwok.org 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()... Certainly because distutils pre-dates python-config. In packaging, we should certainly use sysconfig functions. -- components: +Distutils2, Library (Lib) -Distutils nosy: +alexis versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11602 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11602] python-config code should be in sysconfig
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11602 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12358] validate server certificate when uploading packages to PyPI
anatoly techtonik techto...@gmail.com 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 to not forget and discuss further security issues. It is not 'incomplete'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12226] use HTTPS by default for uploading packages to pypi
anatoly techtonik techto...@gmail.com added the comment: That's the issue12358. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
anatoly techtonik techto...@gmail.com added the comment: See the same issue12358 for the opposite arguments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
Éric Araujo mer...@netwok.org added the comment: Stefan Krah, Fred L. Drake and Antoine Pitrou agreed with me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12357] Python dist modifications for secure PyPI uploads
R. David Murray rdmur...@bitdance.com 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 that the change to https should be made without validation, then you can argue it on the other ticket and/or python-dev. -- nosy: +r.david.murray status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12357 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Sorry I'm being dense, but which file object do you mean? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3
Benjamin Peterson benja...@python.org added the comment: 2011/6/18 Vinay Sajip rep...@bugs.python.org: Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Sorry I'm being dense, but which file object do you mean? The python file object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3067] setlocale error message is confusing
Terry J. Reedy tjre...@udel.edu 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 just as well be taken to mean ascii byte string only, as the code requires. As far as I know, unicode is never needed. Allowing such could be considered a feature addition, which is not allowed for 2.7. So I would reject the OP's request (and have hence changed the title). Expected failure cases could be added to test_locale.py. Options for locale name: As I remember, multiple assignments in 1.5, as in def _build_localename(localetuple): language, encoding = localetuple required a tuple on the right and was called 'tuple unpacking'. Now, any iterable producing 2 items works; Rather than change to code to check that 'localetuple' really is a tuple (which could break code and the principle of duck-typing), I think the doc should be updated to If locale is specified, it may be a None, a string, or an iterable producing two strings, language code and encoding. This is not a feature addition but a recognition of a new feature added versions ago. The parameter name in the private function should then be shortened to just 'locale'. Test cases with non-tuples could be added if not present now. Exception message: The current message arises from setlocale assuming that a 'locale' that is neither None or a string is a valid iterable for a call to _build_localename. A strings of the wrong type produces too many items and hence the obscure message. Python is known to be inconsistent in its usage of ValueError versus TypeError for builtin function args. Guido has said to leave inconsistencies rather than break code. So I retract the ValueError to TypeError suggestion. The accompanying messages, however, can be improved. The lines above that fails could be wrapped with try: language, encoding = locale except ValueError: raise ValueError(Locale must be None, a string, or an iterable of two strings -- language code, encoding -- not {}.format(locale)) The scope of the wrapper could be extended to the entire function so that failure of return language + '.' + encoding would also be caught. Failure would happen if locale produced 2 non-strings items, so that the double assignment 'worked', but the string concatenation failed. A complication: the doc says exception locale.Error Exception raised when setlocale() fails. locale.setlocale(category, locale=None) ...If the modification of the locale fails, the exception Error is raised. So it seems that either a) the wrapper above should raise Error instead, or the doc could more clearly say Exception raised when the locale passed to setlocale is not recognized. -- nosy: +lemburg, loewis title: setlocale fails with unicode strings on Py2 and with byte strings on Py3 - setlocale error message is confusing versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3067 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12361] Memory Leak in File Logging
New submission from Jacob Perkins jap...@gmail.com: 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 eventually tried disabling the WatchedFileHandler, and memory usage flattened out. I also have a StreamHandler logging the requests, so I have to conclude the leak is in WatchedFileHandler or FileHandler. This is with Python 2.6.6. -- components: Library (Lib) messages: 138620 nosy: japerk priority: normal severity: normal status: open title: Memory Leak in File Logging type: resource usage versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12361 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6771] Curses.wrapper: documentation/implementation error
Roundup Robot devnull@devnull 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: curses.wrapper is exposed as a function, not a module http://hg.python.org/cpython/rev/f9b4cfc19264 New changeset bb5e950ebb04 by R David Murray in branch 'default': merge #6771: fix docs: curses.wrapper is exposed as a function, not a module http://hg.python.org/cpython/rev/bb5e950ebb04 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6771] Curses.wrapper: documentation/implementation error
Roundup Robot devnull@devnull 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 rep...@bugs.python.org http://bugs.python.org/issue6771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6771] Curses.wrapper: documentation/implementation error
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6771 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Benjamin Peterson benja...@python.org added the comment: Vinay Sajip vinay_sa...@yahoo.co.uk 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 marshalled from is actually a file? The existing code paths (from when marshal.load expected only to work with Python file objects) use FILE *, and these are used by other code to read magic numbers etc. I believe. Or perhaps I'm still misunderstanding what you're getting at. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3
Benjamin Peterson benja...@python.org added the comment: 2011/6/18 Vinay Sajip rep...@bugs.python.org: Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Benjamin Peterson benja...@python.org added the comment: Vinay Sajip vinay_sa...@yahoo.co.uk 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 marshalled from is actually a file? The existing code paths (from when marshal.load expected only to work with Python file objects) use FILE *, and these are used by other code to read magic numbers etc. I believe. Or perhaps I'm still misunderstanding what you're getting at. When python uses dump() or load() with a file object, you can call fileno() (and then fopen?) to use it like a C-file object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4111] Add Systemtap/DTrace probes
Changes by Martin Marcher mar...@marcher.name: -- nosy: +serverhorror ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4111 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12361] Memory Leak in File Logging
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12361 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com