[issue7262] codecs.open() + eol (windows)

2014-03-08 Thread analyst
analyst added the comment: Hi, I am new to Python Development. I would like to propose a patch for this issue. -- keywords: +patch nosy: +analyst Added file: http://bugs.python.org/file34309/7262.patch ___ Python tracker

[issue809163] Can't add files with spaces

2014-03-08 Thread Matheus Vieira Portela
Matheus Vieira Portela added the comment: As far as I noticed, in bdist_rpm.py, the _make_spec_file() method generates an .spec file for RPM build and attaches the install script to "setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES". Later, the .spec refers to the record fi

[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily
Ned Deily added the comment: er, "inconstantly" -> "inconsistently" -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily
Changes by Ned Deily : -- Removed message: http://bugs.python.org/msg212953 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily
Ned Deily added the comment: The fact that "ls" shows a UID of 501 instead of your user name "Charlotte" strongly suggests you have an inconstantly defined user account. Suggest you try cresting a new "Administrator" user via "System Preferences" -> "User & Groups" and try logging into that u

[issue20873] IDLE won't open

2014-03-08 Thread Ned Deily
Ned Deily added the comment: The fact that "ls" shows a UID of 501 instead of your user name "Charlotte" strongly suggests you have an inconstantly defined user account. Suggest you try cresting a new "Administrator" user via "System Preferences" -> "User & Groups" and try logging into that u

[issue20873] IDLE won't open

2014-03-08 Thread R. David Murray
R. David Murray added the comment: This isn't really a python question, it's a mac question. Unless there is something the mac installer should be doing to detect this situation..but...are you running the python that comes with the OS, or did you install it yourself? Because if it is the for

[issue20873] IDLE won't open

2014-03-08 Thread mélomane
New submission from mélomane: First time using Python on my personal computer. Updated the mac version to 3.3. Then installed ActiveTcl 8.6.1.0, then tried deleting and installing 8.5.15.0. I tried opening IDLE from the applications folder, then from terminal. After that failed to work, I brow

[issue17276] HMAC: deprecate default hash

2014-03-08 Thread R. David Murray
R. David Murray added the comment: I don't understand why PendingDeprecationWarning was used here. DeprecationWarnings are silent by default. I'm also not clear on why this is being delayed until 3.6, instead of being changed in 3.5 after a deprecation, given that the default is considered t

[issue20873] ID

2014-03-08 Thread mélomane
Changes by mélomane : -- nosy: mélomane priority: normal severity: normal status: open title: ID versions: Python 3.3 ___ Python tracker ___ _

[issue20849] add exist_ok to shutil.copytree

2014-03-08 Thread Alexander Mohr
Alexander Mohr added the comment: I personally dont think this is worth investing the time for a discussion. If the maintainers dont want to accept this or a minor variation without a discussion ill just keep my local monkeypatch :) thanks again for the quick patch Elias! On Mar 8, 2014 4:03 PM,

[issue20849] add exist_ok to shutil.copytree

2014-03-08 Thread Elias Zamaria
Elias Zamaria added the comment: I am not sure. I am not on the python-ideas mailing list, and I am not sure what adding and maintaining the discussion would entail, or if I would have the time to do it or want to deal with the clutter in my inbox. I just committed this patch because it seemed li

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2014-03-08 Thread Nick Coghlan
Nick Coghlan added the comment: And regarding moving the still-relevant content to the main distutils docs, yeah that's still a good idea. However, that's going to take a fair bit more work, since you'll need to evaluate the legacy content to decide what needs preserving, and I don't know the tec

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2014-03-08 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the feedback! Could you lob that last one at the pythondotorg issue tracker on GitHub ( https://github.com/python/pythondotorg/issues)? -- ___ Python tracker

[issue20849] add exist_ok to shutil.copytree

2014-03-08 Thread Alexander Mohr
Alexander Mohr added the comment: how about instead we rename the new parameter to dirs_exists_ok or something like that since the method already allows for existing files. -- ___ Python tracker __

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-08 Thread Michael Foord
Michael Foord added the comment: That's correct. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2014-03-08 Thread Marcus Smith
Marcus Smith added the comment: "Legacy version". nice. btw, "http://packaging.python.org/en/latest/tutorial.html#creating-and-using-virtual-environments"; will certainly end up including "pyvenv" command examples as well. currently just mentioned in a footnote. like I mentioned on dist

[issue20837] Ambiguity words in base64 documentation

2014-03-08 Thread R. David Murray
R. David Murray added the comment: I had to edit that paragraph for another issue, so I fixed the wording along the lines Éric suggested while I was at it. Hmm. But it still needs to be fixed in 3.3 (and 2.7, I presume) :( -- resolution: -> fixed

[issue20837] Ambiguity words in base64 documentation

2014-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1853679c6f71 by R David Murray in branch 'default': whatsnew: base65 encodings. (#17618) http://hg.python.org/cpython/rev/1853679c6f71 -- nosy: +python-dev ___ Python tracker

[issue19282] dbm.open should be a context manager

2014-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 200207e50cbf by R David Murray in branch 'default': whatsnew: dbm.open is context manager. (#19282) http://hg.python.org/cpython/rev/200207e50cbf -- ___ Python tracker

[issue8311] wave module sets data subchunk size incorrectly when writing wav file

2014-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset b72615222c98 by R David Murray in branch 'default': whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311) http://hg.python.org/cpython/rev/b72615222c98 -- ___ Python tracker

[issue17618] base85 encoding

2014-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1853679c6f71 by R David Murray in branch 'default': whatsnew: base65 encodings. (#17618) http://hg.python.org/cpython/rev/1853679c6f71 -- ___ Python tracker __

[issue5202] wave.py cannot write wave files into a shell pipeline

2014-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset b861c7717c79 by R David Murray in branch 'default': whatsnew: Wave_write handles unseekable files. (#5202) http://hg.python.org/cpython/rev/b861c7717c79 -- ___ Python tracker

[issue20869] IDLE lib error in IOBinding.py

2014-03-08 Thread Ned Deily
Ned Deily added the comment: More specifically, the bug that causes the problem was first released in the 2.7.6 release candidate 1 (pre-release, 2013-10-26) and fixed in the official 2.7.6 final release (2013-11-10). So it is somewhat surprising that you would continually re-encounter it. -

[issue20872] dbm/gdbm/ndbm close methods are not document

2014-03-08 Thread R. David Murray
New submission from R. David Murray: We just added context manager support to dbm to close the object automatically, but the 'close' method that gets called is not documented for any of the dbm objects. Since it is part of the public API (it is shown in the example), I think it should be. --

[issue20854] multiprocessing.managers.Server: problem with returning proxy of registered object

2014-03-08 Thread Richard Oudkerk
Richard Oudkerk added the comment: I am not sure method_to_typeid and create_method were really intended to be public -- they are only used by Pool proxies. You can maybe work around the problem by registering a second typeid without specifying callable. That can be used in method_to_typeid:

[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-08 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray stage: -> patch review ___ Python tracker ___ ___ Pyt

[issue20870] how to import json file in mongodb using pymongo

2014-03-08 Thread R. David Murray
R. David Murray added the comment: This tracker is for reporting bugs in CPython and the Python standard library. pymongo is not part of the standard library. Please use the pymongo support channels for your question. (Their help channels...it does not look like this is a bug report.) You

[issue20869] IDLE lib error in IOBinding.py

2014-03-08 Thread R. David Murray
R. David Murray added the comment: Indeed it has been reported before, and fixed. (It's a little hard to find the issue by searching the tracker, though.) Issue 19426. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder:

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2014-03-08 Thread Nick Coghlan
Nick Coghlan added the comment: I like the way the attached patch has worked out - I think it's complete from a structural point of view. The two missing pieces are to fill in the contents for the new Installing and Distributing guides, and those will be kept deliberately short, since we want

[issue18678] Wrong struct members name for spwd module

2014-03-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with David's latest analysis. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list ma

[issue20871] Testing: Push email/policy.py line coverage to 100%.

2014-03-08 Thread Milan Oberkirch
New submission from Milan Oberkirch: Accorcing to coveragepy there was only one line missing for full line coverage in Lib/email/policy.py so I added an test to cover it. It checks that the function email.policy.EmailPolicy.header raises an ValueError if the second parameter includes newlines

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2014-03-08 Thread Nick Coghlan
Nick Coghlan added the comment: After attempting to fix these docs in place, I now think that's a doomed effort. However, we can't just delete them, because they still contain details that haven't been moved to the distutils module docs or the Python Packaging User Guide yet. So, what I'm pla

[issue20053] venv and ensurepip are affected by default pip config file

2014-03-08 Thread Nick Coghlan
Nick Coghlan added the comment: pip 1.5.3 has been bundled and cherry picked to the release clone. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker _

[issue20870] how to import json file in mongodb using pymongo

2014-03-08 Thread Pramod Jadhav
New submission from Pramod Jadhav: import sys import envoy from bson import json_util # Comes with pymongo from pymongo import MongoClient from pprint import pprint import json client = pymongo.MongoClient('mongodb://user:user...@ds033499.mongolab.com:33499/enron') r = pymongo.MongoClient('mongo

[issue20870] how to import json file in mongodb using pymongo

2014-03-08 Thread Pramod Jadhav
Changes by Pramod Jadhav : -- nosy: pramod.jadhav priority: normal severity: normal status: open title: how to import json file in mongodb using pymongo versions: Python 2.7 ___ Python tracker _

[issue20869] IDLE lib error in IOBinding.py

2014-03-08 Thread Domenico Mustara
New submission from Domenico Mustara: Not a new issue, many Python users have already written about this error. In line 128 of IOBinding.py file, please change 'str = str.split("\n", 2)[:2]" to "lst = str.split("\n", 2)[:2]". This error prevents IDLE from working correctly when a .py file is l

[issue19461] RawConfigParser modifies empty strings unconditionally

2014-03-08 Thread Norman Denayer
Norman Denayer added the comment: I guess it's logical to have the value "" turned to '' in the reader, but I would expect the same transformation in the writer. If the write function would write "" for an empty string, will it solve your issue? -- keywords: +patch nosy: +Norman.Denay